If you want failover to work well, use it often bencane.com · 105 points · 26 co...

@best

If you want failover to work well, use it often bencane.com · 105 points · 26 comments · HN thread

TL;DR The author argues that failover mechanisms only stay reliable if they are used regularly, not just in emergencies. Warm standby environments can silently decay (stale connections, changed firewall rules, expired credentials), and active-active setups can still fail under capacity loss. He recommends using failover during routine releases so teams gain familiarity, automation, and early detection of problems.

  • A warm standby can look healthy at startup yet hide stale database connections, firewall changes, or expired credentials that only surface when idle environments take production traffic.
  • Health checks must exercise the same dependencies, network paths, and credentials as real traffic to catch these problems.
  • Active-active is not a complete answer: after failover the surviving environment must absorb the full load, which teams with three or more environments often find it cannot do.
  • Using failover during planned releases (move traffic away, deploy and validate, move back) exercises the process frequently and creates incentive to automate it.
  • Frequent failover forces explicit answers about data consistency under replication lag, in-flight request handling, and failover duration.
  • Planned traffic shifts do not validate unexpected failure detection, which must be tested separately.

Discussion The thread largely agrees with the core idea that failover should be practiced often, with many commenters sharing personal practices such as rolling reboots, drive-pulling drills, and blue-green flips across regions. The mood is practical and somewhat wry, with several jokes and maxims. The main counterweight is a debate over cost: several commenters argue that resilience testing is worthwhile only when a business case exists, and others say many companies avoid testing because it risks outages and has no management push behind it.

  • Frequent failover drills and rolling maintenance should be standard practice (most): Many commenters say that regularly exercising failover, through rolling reboots, scheduled drive replacement, or routine region switches, builds trust in HA. Several cite the maxim that fear of doing it means you are not doing it often enough.
  • Chaos engineering and failure injection complement failover testing (many): Commenters point to Chaos Monkey and PagerDuty's Failure Fridays, where failures were introduced gradually under supervision until teams could simulate a full region outage. They describe this as a way to find problems on the team's terms rather than during on-call incidents.
  • Resilience work is overkill without a clear business case (some): Some argue that building extreme robustness for small web apps or low-impact services is procrastination or resume-driven engineering. They say many companies can tolerate downtime and the investment should be justified by actual revenue or SLA exposure.
  • Companies avoid failover testing for organizational reasons (some): One commenter says there is no management pressure to test, and testing risks causing the outages it is meant to prevent, so teams stay away from it. Others counter that outages from neglected failover already cause real financial pain.
  • Drills risk customer impact, so use a parallel environment (a few): Some say failover drills disrupt customers and should be run against a non-customer-facing copy. Others reply that reproducing production traffic and network conditions in a parallel environment is hard enough that it may not be worth it.

Links from the comments

#failover #resilience #chaosEngineering #highAvailability #devops #reliability