Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

EHCache with Terracotta Vs Infinispan [closed]

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.

like image 582
Santhanam Avatar asked Apr 11 '11 12:04

Santhanam


2 Answers

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.

like image 171
Manik Surtani Avatar answered Oct 22 '22 15:10

Manik Surtani


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

like image 24
Kai Avatar answered Oct 22 '22 13:10

Kai