Redis › Redis Sentinel & High Availability

How would you deploy Redis Sentinel across multiple data centers or availability zones to maximize resilience against a localized failure?

Advanced

Answer

You would spread your Sentinel instances and your primary and replica Redis servers across different physical locations or availability zones, ensuring that a failure affecting one specific location does not simultaneously take down enough Sentinel instances or Redis servers to prevent the remaining quorum from correctly detecting a failure and coordinating an appropriate failover.
-- Spread Sentinels across three separate availability zones
-- so a single zone failure does not prevent quorum
Real-world example A company deploys their three Sentinel instances and their Redis primary and replica across three separate availability zones, ensuring that even if an entire zone experiences an outage, the remaining infrastructure can still correctly detect and handle any resulting failure.

Common follow-ups: How many availability zones are generally recommended for this kind of resilient deployment?;What network latency considerations apply when spreading Sentinel across multiple zones?