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.