redis vs hazelcast

Federico picture Federico · Nov 5, 2010 · Viewed 50.6k times · Source

Redis Vs Hazelcast If my app:

  • Have a lot of http requests (6,000 per minute, I collect clicks info) that needs to be saved
  • Have a lot of http requests that query the data previously saved.

My Questions are - Which one between Redis and Hazelcast should I chose to store and query data - which one is faster for reads and writes? - which one is more reliable? - Might Cassandra be a better option?

Answering any of the questions helps

Answer

psartini picture psartini · Jun 18, 2011

We switched from redis to hazelcast for our caching needs.

  • Protostuff + Hazelcast is much faster for us than
  • Protostuff + Jedis (pooled) + Redis

We use protostuff to serialize beans that are expensive to create. Hazelcasts standard-serialization mechanism is much slower. Our environment is Glassfish 3.1.

Hazelcast looks like they only have java libs, Redis has one for every language.

True. Hazelcast provides just a REST API and an implementation of the memcached protocol.