Hazelcast Cache

A cache transparently stores data so that future requests for that data can be served faster. If requested data is contained in the cache (cache hit), this request can be served by simply reading the cache, which is faster. Otherwise (cache miss), the data has to be recomputed or fetched from its original storage location, which is slower.

Hazelcast is the leading in-memory data grid solution. Its java caching solution enables organizations to predictably scale mission-critical enterprise applications by providing in-memory access to frequently used data. Hazelcast stores frequently accessed data in-memory and across an elastically scalable data grid. This enables any network of machines to dynamically cluster and pool both memory and processors to accelerate application performance.

Hazelcast Caching Tools

Hazelcast ships out of the box with multiple caching implementations that plug-and-play with best-of-breed open industry standards. These include:

  • JCache
  • Memcached: Hazelcast has been used in production as either an “alternative” to Memcached or as a plug-in enhancement. If you’re already using Memcached, you can write a Hazelcast cluster by simply using our Memcached client using any language. No additional configuration is required
  • Hibernate
  • Spring: Hazelcast ships out of the box with support for Spring Cache which allows it to plug in to any Spring application which supports these methods

Hazelcast has several tools for caching:

JCache: Hazelcast enables organizations to seamlessly integrate with JCache. The JCache caching layer API—specified by the Java Community Process (JCP) as Java Specification Request (JSR) 107—provides a standard set of operations specialized for caching use cases. Greg Luck, our CEO, was the co-spec lead of this standard, and guided the Hazelcast implementation.

Hibernate: Hibernate is a well known and commonly used Object-Relational Mapping (ORM) library for the Java language. As a fully compliant JPA (Java Persistence API) persistence provider, Hibernate integrates seamlessly into Java Enterprise Edition application servers and with pure Java Standard Edition applications.

High-Density Caching: Hazelcast’s implementation of JCache works with our High-Density Memory Store add-on is combined with JCache, this use case is referred to as the High-Density Caching use case. JCache is the Java standard for accessing frequently used objects from RAM, thus providing a standard and easy-to-use way to deliver extreme application performance.

Cache-as-a-Service: Hazelcast lets you implement a Cache-as-a-Service layer by providing a scalable, reliable and fast caching solution. Applications can use Hazelcast as side-cache to their database, or hide the database behind the caching service and allow Hazelcast to load data from RBDMS, NoSQL or other storage.

Products in this Use Case:

Hazelcast IMDG

Learn More