Benjamin Cane suggests using ordinary releases to practice failover, the process of moving live traffic to another environment. If the architecture supports it, send traffic elsewhere, deploy and check the change, then move traffic back.

  • A standby can pass health checks with expired credentials or stale connections if those checks miss the dependencies real requests use.
  • Even when every site normally serves traffic, the surviving site still has to absorb the full load. Watch for delayed data copies, interrupted requests, and how long the switch takes.

Caveat: A planned switch tests your ability to move traffic. Test automatic detection and recovery separately.

The Hacker News thread adds examples of teams making recovery routine and pushback on how much reliability work is worth doing.

What the thread adds

  • stroebs — Reports a weekly switch to another data center: “At $enterprise we failover to a different DC once a week. The process to do so is ever-evolving and improving.”
  • connicpu — Describes how their team tests spare capacity with live traffic. They run five redundant clusters and “keep traffic to one of them weighted as if 2 of the clusters have fallen over”.
  • hinkley — Frequent restarts can hide slow memory leaks: “And that becomes a situation that hits around the holidays because you deploy less which means the application runs 2, 3x longer than it usually does…”
  • romanhn — Describes PagerDuty’s controlled Failure Fridays: “It was all done in a controlled manner, with the operations team sitting together with the service owners.”
  • bonoboTP — Asks teams to weigh the cost of a drill against the cost of downtime: “This stuff is good when there really is a business case for it.” Cane (madflojo) replies that even a small grocery store needs a way to recover its checkout system. He asks: “How long can they really tolerate being down?”

This is a slice of HN’s pseudonymous discussion, not a consensus. HN ranks comments without publishing their individual scores.