What is the consistency story of azure redis cache?
carlintveld
26
Reputation points
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:
- Standard replication. Clients will mainly read/write to the primary, and will only read from secundary when configured so
- 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.
- 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
Sign in to answer