It's not a secret anymore!*
The moose likes Performance and the fly likes Which Caching system is better, JCS / OSCACHE / SWARMCACHE ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Performance
Bookmark "Which Caching system is better, JCS / OSCACHE / SWARMCACHE ?" Watch "Which Caching system is better, JCS / OSCACHE / SWARMCACHE ?" New topic
Author

Which Caching system is better, JCS / OSCACHE / SWARMCACHE ?

Ramesh Mandapati
Greenhorn

Joined: Mar 30, 2004
Posts: 3
Did anybody used any of the above caching systems in production environment?
Rangarajan Suresh
Ranch Hand

Joined: Jan 08, 2002
Posts: 50
Originally posted by Ramesh Mandapati:
Did anybody used any of the above caching systems in production environment?

I have evaluated the above products as well as EHCache.
AFAIK,JCS looks outdated and doesnt scale much.
OScache is suitable for web app caching of small java objects. But dont use this for disk caching.
SwarmCache performance is good and removes the objects from memory based on the algo. chosen. If memory is a constraint for u , go for this.
EHCache also is memory sensitive, but a bit slower than Swarmcache.
I also have a question to the list:
My application requires loading around 4M records into memory from database. We tried Caching products as well as in-memory databases. But,
the used memory keeps increasing and after a few days heap max. size is reached and the system hangs. Is there a product/approach that you would suggest for such a scenario.
Java Buzz
Greenhorn

Joined: Mar 11, 2005
Posts: 10
Hi,

Have anyone in this group tried remote caching feature of JCS. Does any other caching product support this feature

Regards,
Hari
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Originally posted by Rangarajan Suresh:

My application requires loading around 4M records into memory from database. We tried Caching products as well as in-memory databases. But,
the used memory keeps increasing and after a few days heap max. size is reached and the system hangs. Is there a product/approach that you would suggest for such a scenario.


Well, a profiler that can tell you where the memory leak is, perhaps?


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Bhanu
Ranch Hand

Joined: Dec 05, 2004
Posts: 48
Pardon my ignorance...I've not used any such Caching products ever. And would like to know If they are really useful despite having Databse properly configured and having best-in-class J2EE server and EJB support?


Thanks,<br />Bhanu<br />SCEA Step-I<br />SCBCD for J2EE 1.3<br />SCJP1.4
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Which Caching system is better, JCS / OSCACHE / SWARMCACHE ?
 
Similar Threads
Session Management problem in Struts
When JSP page is compiled?
Strange Browser problem
I need help on developing login/logout application using struts2 frame work
Hyperlink to Servlet