Active-Active Data Replication with Redis Streams and Redis Modules
At Uber, Redis is widely used across hundreds of teams as the primary solution for server-side caching. One of the use cases of Redis at Uber is the Cross-region caching service. Cross-region caching service is an internal caching service offering with an active-active data replication across two datacenters.
We are building a new version of cross-region caching service using Redis Streams as the streaming infrastructure. Redis Modules are used for breaking the replication loop. In this talk, we will discuss the overall architecture, design of each component, pros and cons of using Redis Streams, lessons learnt, and performance measurements to provide others with best practices they can apply to their own infrastructures.