Apache Ignite vs redis cluster(use partition) vs other solution

22.9k Views Asked by At

Hi I looking for In memory data grid or similar one.

My use case.

  1. Data griding in memory. scale out available.
  2. backup node available.
  3. persistent backup available.
  4. (optional) free or opensource solution

I did googling and I found candidates below
- Apache Ignite
- Redis cluster
- Hazelcast(community)

I prefer Ignite to Hazelcast because, Ignite support use direct buffer.

But I don't know Redis cluster partitioning whether it is stable or not. and, I don't know if apache ignite performance better than redis cluster or not.

Apache Ignite comparable to redis cluster? or impropert comparison? Thanks for your answer

3

There are 3 best solutions below

2
On

Redis only provides a key-value storage, while Ignite is much more functional. Here is a good feature comparison provided by GridGain: https://www.gridgain.com/resources/product-comparisons/redis-comparison

Which one to use, depends on your requirements and expectations.

3
On

But I don't know Redis cluster partitioning whether it is stable or not

Redis cluster feature is stable since 3.x version and used in production by many companies.

Apache Ignite comparable to redis cluster? or impropert comparison?

Comparison Apache Ignite vs Redis only is wrong, because these projects have different grade. Redis is positioned as a storage and not as a Data Grid like Apache Ignite. So for proper comparison Apache Ignite should be compared vs Redisson - Redis Java Client with features of In-Memory Data Grid. It offers the same features as Apache Ignite.

Redisson supports fully managed Redis services like AWS Elasticache, Azure Redis Cache. You don't need to manage/deploy/maintain Redis cluster by yourself of hire devops to do this. Apache Ignite doesn't offer such feature and you should manage/deploy/maintain it by yourself.

2
On

I used Redis in production for one of the largest US mobile network operator (IoT department). It is stable from 2.8 (Master/Slave) but cluster stable is from 3.2. Used 2.8 for 3 years and 3.2 cluster for 2 years on production with about 50k TPS load with no restart for years and no issues (except BGSAVE and memory issues but that was due to RAM limitations).

If we compare Redis and Apache Ignite:

  1. Performance. Redis is faster, single thread and 100% in memory.
  2. Data structure. Redis is key-value storage (even that is not a limitation, you can imagine and map almost everything in key-value models). Ingrid is a data grid as it was mentioned above.

If you are looking for a memory data grid and performance is on second priority then Ingrid will be more appropriate for you.