• 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
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Tim Cooke
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
  • Piet Souris
Bartenders:
  • Stephan van Hulst

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?
 
Bring me the box labeled "thinking cap" ... and then read this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic