javacachingehcacheterracotta

Open-source Distribued Cache for Java


What is the best open source distributed cache that can be used in Java?

I thought it was EHCache, but apparently it can be scaled on multiple nodes only when using Terracotta Server Array, which is a commercial product.

My goal is to build caches for streaming data in real-time with a certain delay, and my actual estimated size of the data lies is in the order of 8gb, while the production rate is much slower, in the order of 3mb per second.

Since there is an initial delay, I would like my cache also to be replicated, because when starting from 0 my cache would require a warm up period which I am seriously interested in avoiding.


Solution

  • I would recommend you to take a look on the product called Hazelcast although its not a distributed cache per se, its rather a data grid which is very scalable and very easy to use.

    BTW it could be better if you could tell us what are the requirements, there are a lot of open source products that may fit your needs...

    Hope this helps