The caching service has been growing faster than in the past due to the growing need for building large-scale web applications. In this section, we talk about the two in-memory caching options supported by Azure: the Azure Managed Cache and the Redis Cache.
Modern software architectures often rely on an in-memory caching system to save frequently accessed data that do not change too often. Some extreme scenarios require us to use the in-memory cache as the primary data store for sensitive data, pursuing design patterns oriented to eventual persistence and consistency.
It is evident that in both cases, the caching service must be protected properly to avoid data loss: