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 (8)

  1. This stuff is good when there really is a business case for it. But too often it can just be a nerd snipe rabbit hole to build the equivalent of a tank's robustness for some web app with 10 users or some infra where a day of outage would not cause much trouble.

    There is such a thing as overkill and using a sledgehammer to crack a nut. It's like when everyone wanted to introduce Kubernetes because Google uses it. Chaos monkey etc are great ideas but diving super deep into this with a prepper's paranoia for all kinds of dreamed up contingencies can be a form of procrastination, unless a business case can be clearly articulated.

    Replies (3)
    1. your politics of failover have failed! it's time to make them work again!
    2. I don't think that, with modern stacks, that adding chaos monkey is that big a change - considering the benefits you get from knowing that you in fact have resiliency
      Replies (1)
      1. I'm not arguing against any one thing. I'm just noticing in the comments that people are piling on that you should also do X Y and Z any of which may be sensible but at some point you need more people to maintain such a tower because you can quickly end up with a situation where maintaining all the checks, alerts, scheduled rehearsal tasks etc give you more overhead and more overhead and more of a tangled mess that nobody understands than before. Like you will have some alerts, but nobody knows if they truly are serious and there will be alert fatigue. There will be tools checking on other layers of tools and this whole infrastructure can become harder to maintain than dealing with downtime, and is harder to keep track of than simply deciding to accept a risk and having a rough plan. Again, case by case! Depends on your team size, budget, priorities, customer tolerance, etc etc. All I'm saying, there are tradeoffs! More of this stuff is not always better.

        And I think it can be procrastination like when people optimize their lifting regime to the death and buy all the gear but don't end up going to the gym much. When you don't know what to implement, adding more alerting, more testing, more automation layers can be a convenient infinite time sink. You can always add more of this. More monitoring monitoring the monitoring.

        Bonus: I do know about and use AI agentic engineering for these things. Still there is a limit. The limit is higher than before, but not infinite.

        Replies (1)
        1. Just had to say that I love the gym analogy. I see that with lots of gym folk. And I ca see how it can play out with production software.
    3. The problem is that reliability can be hard to add later when you need it. Single machines can lead to bad practices like not documenting changes or not backing up databases that lead to longer downtimes. Also, people talk about building SaaS and there is obligation to keep working for paying customers or they will leave.

      Kubernetes makes reliability easy and leads to better practices. It used to be reliability was hard, but using the cloud turns day of outage into something unnoticed.

      Replies (1)
      1. The step from 1 to 2 is the big one; if your app is designed to work on a single machine it'll have a lot of assumptions that will make it hard to make it run on two; but if you start from two at the beginning you'll be able to add more pretty easily - but you often get stuck on the database somehow.
        Replies (1)
        1. Yes, maybe it will be hard, but how hard? One or two days of intense work? Or months and months? It matters. If it's hard but doable, maybe it's fine to take on that tech debt initially in the name of developing the actual app and it's features instead of getting stuck on making sure everything is future proof when you don't know what the future actually looks like.