Cacheonix Hybrid Cache

A hybrid cache is a cache that uses an external data source to retrieve data that is not present in the cache. An application using Cacheonix as a hybrid cache benefits from simplified programming of cache access. The most frequent use for the hybrid cache is caching results of database queries.

This use scenario is different from an application cache or a second level cache when an application or a data access framework is responsible for populating the cache in case of cache misses.

The following communication diagram illustrates using Cacheonix as a hybrid cache:

 

Cacheonix as a Hybrid Cache

An interface cacheonix.cache.DataSource should be implemented to enable hybrid caching in Cacheonix.

Other Use Scenarios for Cacheonix

See Also