Apache Ignite offers three strategies to access data from a distributed cache:
- Cache aside
- Read-through and write-through
- Write behind
Apache Ignite offers three strategies to access data from a distributed cache:
In the cache aside strategy, the Apache Ignite cluster doesn't interact with the persistence storage; the application takes the responsibility to read data from the persistence storage and update the cache. First, the application looks up the cache for data if the data is available in the cache then returns it; otherwise, it goes to the persistence storage to fetch the data and updates the cache so that the next cache lookup can return the value from the cache. The following diagram represents the cache aside architecture:
The application updates the cache...