What is the consistency story of azure redis cache?

carlintveld 26 Reputation points
2024-10-16T08:34:28.98+00:00

Whenever I do a write into Azure redis cache with multiple replicas I suspect then it will take some small period of time to replicate the data across all replicas.

What is the story there? How can I achieve full consistency so that after a write all replicas report a consistent read?

It seems there are three levels of redundancy:

  1. Standard replication. Clients will mainly read/write to the primary, and will only read from secundary when configured so
  2. Zone redundancy. The story gets blurry here. The diagram seems to hint that reading is done arbitrarily across the available nodes. I would expect inconsistency can happen across zone writes/reads.
  3. Geo reundancy. Clients connect with the region closest to them. I assume there can be inconsistency across region writes/reads.

Reference: https://zcusa.951200.xyz/en-us/azure/azure-cache-for-redis/cache-high-availability

Azure Cache for Redis
Azure Cache for Redis
An Azure service that provides access to a secure, dedicated Redis cache, managed by Microsoft.
260 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.