We are working in the design phase of new project where we need to decide the caching framework. We need decide whether to go with EHCache with Terracotta or Infinispan for caching requirement? Can anyone provide me the advantages & disadvantages of EHCache and Infinispan?
Thanks in advance.
Is your environment distributed? If so, Infinispan would have an advantage of scalability due to its p2p design. Even in standalone (non-clustered mode), you'd get to take advantage of the non-blocking nature of Infinispan internals, state of the art eviction algorithms (LIRS), etc. Have a look at this article for a discussion of Infinispan as a local cache.
DISCLAIMER: I am the founder and project lead of Infinspan.
We were also in such an evaluation phase recently and decided for Hazelcast. In my opinion it is very easy to get started with. We needed a small solution with not very high traffic. They also provide a great support (I wrote a ticket and my problem was solved within one day!)
You should be clear if you want a server-based cache or a peer-to-peer solution as Infinispan or Hazelcast provides it.
Here you can find a short Hazelcast vs. Terracotta article: http://slava-technical.blogspot.com/2010/09/transparent-clustering-solutions.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With