DriversRecommendedOutdated drivers can make a good PC feel brokenScan driver issues before chasing fixes manually.Scan NowHalloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PC×
Skip to content
World desk3 min

Redis Sentinel Failover Time: What to Expect and How to Measure It

Redis Sentinel failover time varies with detection settings, Sentinel agreement, replica promotion, and client recovery. Redis publishes no universal end-to-end duration.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

There is no single documented duration for a Redis Sentinel failover, and no measured result or test setup is available here to substantiate a first-person timing claim. The elapsed time depends on when Sentinels detect a failure, whether they can agree and authorize a failover, how quickly a replica is promoted and the topology reconfigured, and when clients reconnect and recover.

What counts as a failover’s duration?

A timing result is meaningful only when its start and end events are explicit. Measuring from a process crash to replica promotion answers a different question from measuring from the first missed response to successful client writes. Redis documents Sentinel’s mechanisms and configuration, but does not give a universal end-to-end Sentinel failover SLA. Redis: High availability with Redis Sentinel

As an Amazon Associate I earn from qualifying purchases.

For an operationally useful measurement, define the interval you care about: for example, failure injection to successful writes through the application’s normal connection path. Report intermediate timestamps too, if available, so detection, promotion, and client recovery are not mistaken for one event.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

What determines how long Sentinel takes?

Failure detection and Sentinel agreement

Each Sentinel first evaluates reachability locally. It marks an instance SDOWN after it has received no valid PING response for the configured down-after-milliseconds interval. Sentinel marks it ODOWN after enough Sentinels agree, according to the configured quorum. Proceeding with failover also requires authorization from a majority of Sentinel processes. Consequently, reaching the local detection threshold does not guarantee an immediate failover if Sentinels cannot communicate or obtain the required votes. Redis: High availability with Redis Sentinel

Replica choice, promotion, and reconfiguration

After authorization, Sentinel selects a suitable replica and promotes it, then reconfigures the other replicas to follow the new primary. Selection can depend on the replica’s disconnection time, configured priority, replication offset, and run ID. The parallel-syncs setting controls how many replicas Sentinel reconfigures to follow the promoted replica at once; this affects replica availability during synchronization, not just the instant of promotion. Redis Sentinel configuration source

Client recovery

A promoted primary does not by itself establish when an application is usable again. The observed end time depends on the client’s discovery, reconnection, retry, and write behavior. A report that ends at promotion should not be described as time until client recovery.

Why the configured timeout is not a failover guarantee

failover-timeout is a control parameter used for several parts of the failover process, including retry timing after an attempt and waiting periods. It is not a promise that an entire Sentinel failover will complete within that number of milliseconds. Redis: High availability with Redis Sentinel

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Redis’s unstable-branch Sentinel implementation declares a 1-second ping period, a 30-second default down-after-milliseconds threshold, and a 180-second default failover timeout. These are implementation defaults in the inspected unstable branch, not measured failover durations or universal settings across Redis versions and deployments. Use the deployed Redis version and effective Sentinel configuration when interpreting timings. Redis Sentinel source, unstable branch

Do not confuse Sentinel failover with the FAILOVER command

Redis documents that coordinated failovers initiated with the FAILOVER command “typically happen in less than a second,” but says they may take longer under heavy write traffic or when the replica is behind in consuming the replication stream. That statement describes the command’s coordinated failover context; it is not a guarantee for Sentinel’s full failure-detection-to-client-recovery interval. Redis: FAILOVER command

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

How to report a useful measurement

A reproducible timing report should make the setup and interval clear enough that readers can tell what the result represents. Include:

  • Redis version and the Sentinel topology, including Sentinel count and quorum.
  • Effective timing settings, especially down-after-milliseconds, failover-timeout, and parallel-syncs.
  • The failure trigger and relevant network conditions.
  • Replica state, including replication lag or offset where available.
  • Exact start and end markers, such as failure injection, promotion, and the first successful application write.
  • Results across multiple runs if reporting a typical or variable duration, rather than implying one run is universal.

Without those details and an actual measurement, a specific number would be misleading. Official Redis documentation explains the mechanisms and the command-specific timing caveat, but does not provide a benchmark distribution for Sentinel end-to-end failover.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
PC Slower Than It Used to Be?Free scan - under a minute
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.