Java – Do we need terracotta on top of ehcache for clustering

ehcachejavaterracotta

I am doing to a proof of concept using ehcache as the cache provider.

Read somewhere saying we need terracotta server running, ALONG WITH ehcache to provide clustering.

Does ehcache alone provide clustering service or we need terracotta also?

Thanks,
Venkat

Best Answer

If you don't require clustering, but replication would suffice, ehcache comes with RMI replication bundled and has jgroups as well as JMS replication available:

see http://www.ehcache.org/documentation/2.7/get-started/cache-topologies.html#replicated-caching

Related Topic