▪ (1) When a client needs to access data, it first checks to see if the
data is in the cache.
▪ (2) If the data is in the cache, the client retrieves it from the cache and
returns it to the caller.
▪ (3) If the data is not in the cache, the client retrieves it from the
database, stores it in the cache, and then returns it to the caller.
▪ Some of caching systems provide read-through and writethrough/write-behind operations. In these systems, client
application retrieves data over by the cache.
▪ For not supported Caches, it's the responsibility the applications
use the cache and update the cache if there is a cache-miss.
▪ Microservices good example to implement Cache-Aside pattern, it
is common to use a distributed cache that is shared across
multiple services
https://learn.microsoft.com/en-us/azure/architecture/patterns/cache-aside