• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Did anybody used any of the above caching systems in production environment?
 
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

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

Regards,
Hari
 
author
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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?
 
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
reply
    Bookmark Topic Watch Topic
  • New Topic