Hi All,
We are planning to use an opensource caching system in our web application, which one is better among above three. Did anybody used any of the above caching systems in production environments.
Thanks in advance.
-Ramesh
Discussions
Performance and scalability: Which Caching system is better, JCS / OSCACHE / SWARMCACHE ?
-
Which Caching system is better, JCS / OSCACHE / SWARMCACHE ? (11 messages)
- Posted by: Ramesh Mandapati
- Posted on: March 30 2004 12:56 EST
Threaded Messages (11)
- Which Caching system is better, JCS / OSCACHE / SWARMCACHE ? by Sean Sullivan on March 30 2004 13:11 EST
- more opensource java caching systems by Ramesh Mandapati on March 30 2004 21:34 EST
- Which Caching system is better, JCS / OSCACHE / SWARMCACHE ? by Irakli Nadareishvili on June 03 2004 05:59 EDT
- jcs improvements by Aaron Smuts on July 07 2004 02:58 EDT
- Open Source Cache Solutions written in java by Fernando Rodriguez on June 16 2004 13:52 EDT
- Article... by Sean Sullivan on March 31 2004 05:44 EST
- Try ehcache by Greg Luck on December 05 2004 05:59 EST
- What is the Diff betwen JCS and EHCACHE? by Marcus Voon on December 15 2004 05:01 EST
- JCS vs EHCache by Aaron Smuts on February 17 2006 05:49 EST
- What is the Diff betwen JCS and EHCACHE? by Marcus Voon on December 15 2004 05:01 EST
- Re: Which Caching system is better, JCS / OSCACHE / SWARMCACHE ? by sarika attal on June 12 2008 10:21 EDT
- JCS Caching regions by Walid Taraf on June 03 2009 15:45 EDT
-
Which Caching system is better, JCS / OSCACHE / SWARMCACHE ?[ Go to top ]
- Posted by: Sean Sullivan
- Posted on: March 30 2004 13:11 EST
- in response to Ramesh Mandapati
We are using OpenSymphony's OSCache library in our production
environment. We are happy with OSCache.
I have not used JCS or SwarmCache -
more opensource java caching systems[ Go to top ]
- Posted by: Ramesh Mandapati
- Posted on: March 30 2004 21:34 EST
- in response to Sean Sullivan
-
Which Caching system is better, JCS / OSCACHE / SWARMCACHE ?[ Go to top ]
- Posted by: Irakli Nadareishvili
- Posted on: June 03 2004 05:59 EDT
- in response to Sean Sullivan
I would recommend JbossCache
http://www.jboss.org/products/jbosscache
JCS is very buggy.
SwarmCache is not a replicated cache and feature-set is way weaker than that of JBossCache.
JBossCache works very nicely, for us, in the production environment. I am very happy with it.
I have not used OSCache. It was the next logical choice in the line, but as JBossCache worked fine - we never reached it :) -
jcs improvements[ Go to top ]
- Posted by: Aaron Smuts
- Posted on: July 07 2004 14:58 EDT
- in response to Irakli Nadareishvili
There have been many JCS fixes and enhancements over the past few months. Currently we are working on a Berkeley DB JE disk cache plugin. It's currently in the experimental directory.
Aaron -
Open Source Cache Solutions written in java[ Go to top ]
- Posted by: Fernando Rodriguez
- Posted on: June 16 2004 13:52 EDT
- in response to Sean Sullivan
http://java-source.net contains a list of Open Source Cache Solutions written in Java: http://java-source.net/open-source/cache-solutions -
Article...[ Go to top ]
- Posted by: Sean Sullivan
- Posted on: March 31 2004 05:44 EST
- in response to Ramesh Mandapati
-
Try ehcache[ Go to top ]
- Posted by: Greg Luck
- Posted on: December 05 2004 05:59 EST
- in response to Ramesh Mandapati
ehcache is one of the most widely use Java caches. See http://ehcache.sf.net. It is fast, simple and has minimal dependencies. It comes with memory and disk stores. The disk stores are optionally persistent.
We use it for Hibernate, web page caching and search engine caching in one of Australia's busiest web sites. It is distributed with Hibernate, so if you are using Hibernate you need nothing more. Based on
Recently ehcache-constructs has been released. See http://ehcache.sf.net/ehcache-constructs. This is a package of ready to use web caching filters, blocking and self-populating caches. With the use of web page caching filters, you can cache web pages, or fragments with no code or tags. Just a mapping in web.xml. The cached web pages are stored gzipped and automatically serve up gzipped content to browsers which advertise gzip encoding in their request,
So, If you want speed, features, scalability and thread safety, try ehcache. -
What is the Diff betwen JCS and EHCACHE?[ Go to top ]
- Posted by: Marcus Voon
- Posted on: December 15 2004 05:01 EST
- in response to Greg Luck
Hi if you mention EHCACHE is capable. Can you please let me know the feature as compare to JCS:-
a) Support for clustering (most important feature required is cluster based cache invalidation)
b) Cache configurability (cache size and etc)
c) Efficiency of memory management algorithm (LRU, round robin and etc)
Thanks.
regards,
MVehcache is one of the most widely use Java caches. See http://ehcache.sf.net. It is fast, simple and has minimal dependencies. It comes with memory and disk stores. The disk stores are optionally persistent.We use it for Hibernate, web page caching and search engine caching in one of Australia's busiest web sites. It is distributed with Hibernate, so if you are using Hibernate you need nothing more. Based on Recently ehcache-constructs has been released. See http://ehcache.sf.net/ehcache-constructs. This is a package of ready to use web caching filters, blocking and self-populating caches. With the use of web page caching filters, you can cache web pages, or fragments with no code or tags. Just a mapping in web.xml. The cached web pages are stored gzipped and automatically serve up gzipped content to browsers which advertise gzip encoding in their request, So, If you want speed, features, scalability and thread safety, try ehcache.
-
JCS vs EHCache[ Go to top ]
- Posted by: Aaron Smuts
- Posted on: February 17 2006 17:49 EST
- in response to Marcus Voon
The LRU Memory cache in JCS version 1.2.7.0 appears to be twice as fast as EHCache. The page below describes the tests and documents why the EHCache disk store is vastly inferior to JCS' Indexed Disk Cache.
http://jakarta.apache.org/jcs/JCSvsEHCache.html -
Re: Which Caching system is better, JCS / OSCACHE / SWARMCACHE ?[ Go to top ]
- Posted by: sarika attal
- Posted on: June 12 2008 10:21 EDT
- in response to Ramesh Mandapati
I am in the same situation now. We have several different apps using the same database and hence need to introduce an efficient caching system. I would want to know which caching system did Ramesh decide on. Which is the most recommended in terms of cahce revalidation and performance.? -
JCS Caching regions[ Go to top ]
- Posted by: Walid Taraf
- Posted on: June 03 2009 15:45 EDT
- in response to Ramesh Mandapati
Seems like newer JCS fares better than EhCache. Dont know about memCached, used heavily amongst PHP croonies. Anyone had any luck with setting up regions/auxiliaries in pairs? Specifically, were u able to use same auxiliary service for different regions? This is a for clustered web app under BEA 8.1 if that helps. Not working so far unless i pair them up. thxx in advance