Transparently caching others' data

Another very popularly used framework is Hibernate, which is used as an Object Relational Mapper (ORM) layer and is traditionally used to translate objects to and from a relational database table. While this goes against the distributed data philosophy that we have been exploring with Hazelcast, we may have a legacy application that is currently using it. By adding a caching layer, we can improve the scalability and performance of this application. However, by enabling this cache layer, we will be introducing a data consistency issue; to avoid this, we would need an intelligent distributed cache, exactly like Hazelcast.

To enable the use of the cache layer, we must again include the appropriate library. This slightly ...

Get Getting Started with Hazelcast - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.