Azure Redis Cache Intro

Redis Cache is a well know caching technology and you can run it in Azure as a fully managed service. A common requirement (the most basic one) is doing a workflow like:

  1. When an application needs to retrieve data, it will first search to see if it exists in Azure Cache for Redis.
  2. If the data is found in Azure Cache for Redis (cache hit) use it
  3. If the data is not found in Azure Cache for Redis (cache miss), then the application will need to retrieve the data from Azure SQL (or whatever cloud db back end you use)
  4. For cache miss scenarios, the requesting application should add the data retrieved from the Azure Database to Azure Cache for Redis.

A side advantage of this is that it reduces the compute requirements on the back end database too, if this was Azure SQL DB, I could use a lower vCore count and leverage the Redis for certain functions. Normally the cache sits between the web application / API calls and the database server.

Below image summarises the benefit

There are couple of tiers to select from and what you use is dictated by requirements.

For example, if you need to do scale out of the cache cluster then only premium plus is possible. The architectures of Redis within Azure between standard and premium is very different as shown below.


Premium +

You can already see the benefit of premium is the use of 3 availability zones.

You can actually chose between 1-3 zones when using premium, just makes sense to use all three. Premium is probably a great starting point, hopefully you can see that from this intro post. The combination of clustering, data persistence, geo-replication and zone redundancy makes it a good argument to form the starting point.

Next post we will create a Redis Cluster.

3 thoughts on “Azure Redis Cache Intro

  1. Pingback: Dew Drop – March 22, 2022 (#3647) – Morning Dew by Alvin Ashcraft

  2. Pingback: An Overview of Azure Redis Cache – Curated SQL

  3. Pingback: .NET, Architecture, Azure, And other links #21 Gossip on .NET

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s