Hazelcast vs Infinispan
Hazelcast: A Java in-memory data grid and stream processor that embeds in your app or runs as a cluster. Infinispan: Red Hat's open-source distributed cache and key-value store, embeddable or as a RESP-compatible server.
key differences
- Only Hazelcast has joins, change data capture, stored procedures, compression, streaming ingest.
- Only Infinispan has full-text search, encryption at rest, role-based access.
choose hazelcast for
- +Shared low-latency state for microservices
- +Fraud detection and payment stream processing
- +Web session clustering for Java app servers
- +Distributed caching in front of RDBMS
best at · Cache, Sessions, Streaming
choose infinispan for
- +Hibernate second-level and Keycloak session caching
- +Clustered HTTP session storage for Java app servers
- +Distributed cache on OpenShift with operator management
best at · Cache, Sessions, Pub/Sub
Hazelcast vs Infinispan: FAQ
What is the difference between Hazelcast and Infinispan?
Hazelcast: A Java in-memory data grid and stream processor that embeds in your app or runs as a cluster. Infinispan: Red Hat's open-source distributed cache and key-value store, embeddable or as a RESP-compatible server. Only Hazelcast has joins, change data capture, stored procedures, compression, streaming ingest. Only Infinispan has full-text search, encryption at rest, role-based access.
When should I choose Hazelcast over Infinispan?
Choose Hazelcast for shared low-latency state for microservices; fraud detection and payment stream processing; and web session clustering for Java app servers. Choose Infinispan for hibernate second-level and Keycloak session caching; clustered HTTP session storage for Java app servers; and distributed cache on OpenShift with operator management.
Is Hazelcast or Infinispan more popular?
Hazelcast ranks #63 on the WhichDB Score (33.5/100) and Infinispan ranks #93 (28.8/100). Popularity is not fit: check the requirements that matter for your project.
Are Hazelcast and Infinispan open source?
Yes. Hazelcast is open source. License: Apache 2.0 (Community); Hazelcast Community License for some modules. Yes. Infinispan is open source. License: Apache License 2.0.