Unofficial Hacker News companion — get notified on comment replies, and more.

If you want failover to work well, use it often (opens external site)

544 points by madflojo 2 days ago | bencane.com | 144 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (4)

  1. In some high reliability contexts you actually don't want an uptime higher in production than you've tested. This is not just due to leaks but various potential counter overflows, etc. If there is no significant degradation for the user, there is little reason to not reset the system periodically.

    But I wouldn't necessarily aggressively restart servers that rely on netboot or other quirky, non-self-healing tech (systemd service ordering, DHCP, various VPN and network drive implementations)

    Replies (2)
    1. Consul was the bottleneck on ours. And while a Raft protocol is not the worst external dependency, it’s difficult to spin up from 0 so it limits the parallelism available to spin an entire region up from zero under a time crunch.
    2. Yes, I'd rather live through the 1000th groundhog day for your servers than getting to an uptime of 1,000 days that no one has ever tested.

      And in an emergency you might want to restart your system anyway for other reasons (like rolling out a fix), so having that path well-trodden is good.

      Replies (1)
      1. In a real emergency you won't have a choice about rebooting. When your fuel supplier can't get your backup generators more fuel...

        In the 1990s more than one company learned this the hard way. The mainframe had more than 10 years of uptime - every component was hot swap-able and that was tested often enough. However when the disaster (I heard stories from people who couldn't talk about details so I'm not sure what) took out all power and the generator - the system couldn't reboot because so many services that were started manually over the years by someone who since left ... nobody had a clue how to start them anymore (many needed some other unknown services running first). It took months to figure out what should be running and get the system back.