A thousand times, yes. I now do rolling reboots in my clusters, partly because I needed to get a lot better about keeping them patched.
Once you trust your HA, you just take the server or service offline, do what you need to do, and then turn it back on. And you have a backup plan of “it’s trivial to just spin up a new server because we made sure to test that regularly, too”.
Occasionally we do “pull the power cord” (or more realistically tell the ups/peu to turn it off), and then testing that AMT/iLO/iDRAC/whatever functions to turn it back on. If you have things set up properly this can all happen with almost no effort via an agent harness.
The same is true if you’re relying on clustered storage or RAID at all. You’d better periodically just fail over off a drive (and should do this rolling) instead of waiting for a drive to fail.
Prior workplace had DR Days every year and they were a thing to look forward to. When it was first implemented, nothing went to plan but after just a few years there was only minor anxiety each time.
Nothing filled blindspots in staff documentation more than those findings.
One of the things about cloud providers is you can do drills of trying to migrate the entire thing to a new region to test worst case disaster recovery. The tricky bit is making sure nothing touches the old region due to hard coding.
I worked in a place that did a yearly disaster recovery check - it wasn't a very good check obviously as they actually needed it one day, and it took about a week to recover from the disaster.
Meanwhile somewhere else, dedicated servers were used heavily but failover happened monthly at most, but regularly more often.
The problem there is that is opens the feedback loop for 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, for three weeks out of seven.
I highly, highly recommend a forced rotation of a week max, such that all deploys/hosts roll over on a weekly basis. For large clusters I recommend that nodes continuously churn so that there is always a rotation in progress.
I don't recommend this to paper over memory leaks -- you still need to fix those! But it results in tremendous stability.
The key to making this feel less arbitrary is making stability is a secondary effect of something the business already wants—velocity. By having your CI pipeline be fast, meaning the time from approve to deployed should be sub 30 minutes, sub 15 ideally, you're running deploys continuously (during the workday at least) and your velocity and responsiveness to issues and bugs goes way up while ops gets stability and predictability.
That’s no panacea either. Some requests that can fail at runtime still need to succeed during bootstrapping and restarting during “low traffic periods” invites getting paged during low traffic periods.
I did all but the last mile on autoscaling work. I thought we needed about three months more work, the guys who took it over decided it needed to be done in time for year end performance reviews. They skipped things and also ignored my advice on tuning parameters. Twelve days later we had the worst outage in two years because they didn’t account for unknown unknowns while I did. A bug in Operations’ Terraform did not preserve current machine count during a redeploy, and their initial min cluster size was laughably small.
In my next 1:1 I told my boss it was worse than that because they held a vote to ignore my advice of ramping down instead of jumping to best case. My boss was as appalled as I had been. Fucking told you so.
By the time they had dialed it in they had exactly the settings that I proposed which they thought weren’t aggressive enough. The fact that my numbers were not that compelling is why it had been my priority 3 instead of Priority 1 in the first place. It didn’t actually save us all that much more money than I already had with the work up to that point.
Our reloadable config system needed Consul to be up and populated during bootstrapping. If it went down any time after that it would fall back gracefully to the last known configuration and exponentially back off. In situations like that, turning off a server for 20 minutes a day is an increase in risk with zero upside, since billing doesn’t even work that way!
At the end of the day I think I probably didn’t make enough of a stink about how much and for how long I had been working on that problem and how it was foolish to reassign it at that point in the process. At a minimum it should have been all three of us with me cross training.
Give a distributed computing problem to people with no formal training and they always ask how hard could this really be. Real hard, but also not if you commit to do some counterintuitive things religiously.
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)
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.
Good idea for infinite money, but if you don't have a huge storage cluster, modern disks don't fail all that much. Super rare for enterprise level ones. I've operated many dozens, I had like one or two fail over 5 years and those were already over 10 years old. I found SSDs more finicky.
For a project we bought 10 laptops and hired people after. Seven of those hard drives failed in about five months. Bad batch. Statistical clustering is what you’re planning for in disaster recovery. What do we do when no single point of failure can take out the system but three happen at once?
I have a fleet of server pulls which still are running 6-7 years later. In my experience once a drive gets past 50,000 hours, as long as you monitor SMART and temperatures it’ll last forever. (Proper airflow is essential.)
I generally run RAID-1C3 plus a hot spare (periodically take it to C4, and then back to C3 to rotate what the hot spare is), with a cold spare on the shelf. With CephFS it’s a bit different but basically the same idea.
For home stuff, I try to replace hard drives on a schedule, but economics win. For work stuff, my experience was spinning drives offer pre-failure indication if you monitor smart; ssds fail less often, but I never got an indication before failure. Historically, most of my servers would be replaced before you really start to worry about storage lifetime, but hardware stays useful longer these days.
There have been firmware issues across multiple manufacturers where a lifetime counter rolled over and made the drive inaccessible ... if you knew in advance, you could pull those out of service before they failed, but how would you know.
For personal drives, I try to buy one at a time or at least bring them up a few weeks apart. For work drives, sometimes you just end up with a huge batch of servers coming online at the same time. Hopefully backups go to different systems.
I think there's a broader point here, which is if you want _anything_ to work well, use it often. Bugs spawn easier in rarely exercised code. One of the things I'll often push at work is that if we _have to_ be good at handling some Rare Scary Thing[0] then we should, if practical, try to bring the scary part into more commonly exercised code, because it makes the Scary Thing happen more often and you'll get better at it faster. Otherwise you end up making the happy path work and just kind of hope you covered the rest of it[1].
Failover is a great example because in many business cases you _have to_ be good at it when you have the very bad day, but there are ways to avoid it in steady state.
[0] E.g.: Complex authz logic, deploys, interactions with a fragile remote service, etc.
[1] Obviously you shouldn't just cover the happy path, but you and the people you work for probably like money and it will be hard to justify pre-bulletproofing some edge case than the median one.
I like the idea of injecting failover into the release process. Another similar approach is chaos engineering, where you intentionally introduce failures to validate your systems' reliability.
When I was at PagerDuty we regularly ran Failure Fridays (perhaps they still do). The goal was to identify a victim sub-system and start applying all sorts of failures to it - excessive latencies, dropped server connections, availability zone outages, etc. It was all done in a controlled manner, with the operations team sitting together with the service owners. The idea was that even if there is an impact to the customer, it's much better to catch it now and fix the underlying issue with many eyes on it, rather than a bleary-eyed on-call dealing with it in the middle of the night. This sort of exercise was very scary to get started with, and only minimally-impacting failures were introduced, but over time we got to the point where we were comfortable with simulating a full region outage.
That said, such investments in reliability made sense for PagerDuty. If a company can survive just fine with 2-3 nines of availability, it's a lot harder to make the business case for it.
Playing with compounding error/fail/degraded states is one of my favorite things to do during downtime - if I’m light on higher priority work, I’ll dig up a bunch of edge cases and write fixes for them, then turn it into a small writeup to share with the crew, so it doesn’t look like I don’t have enough ‘real’ work to do.
In one of my previous jobs, we scheduled recurrent tasks (monthly/quarterly/annually) and one of them was fire drill to check failover on hardware failure. Failovers of frontline servers like web servers, app servers, cache servers, authentication servers were bread and butter, which were usually stateless. Needed to make sure the temporary reduced capacities not causing a cascaded failure. Failovers of storage servers and databases needed more attention. Needed to ensure transactions were committed/rolled-back correctly and data were consistent.
For years, back when the datacenter was down the hall from the offices, if we were doing an application upgrade we’d first go out and pull one of the drives from the RAID. If everything went well with the upgrade, we’d push the drive back in and let it rebuild. If something went wrong with the upgrade, we’d power down, boot off the drive we pulled, and be back up and running with minimal downtime.
Some nights I would pull dozens of drives. I guess we had a lot of trust in the RAID.
I had this hardware failure recently. An SSD grew some bad sectors that, when read, caused the drive to just disappear. Poof, gone. It took ddrescue + over 400 manual replugs to get the remaining data off the drive. With Claude making a script to automatically proceed after each replug, it only took about 3 hours, which I think was perfectly reasonable.
The SSD had lasted 9 years, served me well. Rest in peace.
I did this many years ago with a client who had bought a big server upgrade to demonstrate what they had just paid for. Server crashed immediately. Found that HP did not build the server to specs, there was no RAID set up. Luckily I had someone to blame.
This is really good advice and I think everyone in the industry is learning this the hard way right now because of the recent avalanche of AI-discovered CVEs.
I have an opinion that uptime is largely a vanity metric. It might feel nice to have a year of uptime on a router or server, but not if it has been a year since said device got updated.
It is a bad sign if management will not approve maintenance because they cannot accept downtime. The loss of any single device should, ideally, not create any outage. If it does, then this indicates a flawed system architecture. I like to frame it as, "this thing is so important that we can't maintain it."
There aren't "normal" and "recovery" reconfigurations, there's just recovery (with a few exceptions for planned maintenance).
This means: 1) simpler code, 2) you're constantly testing the recovery path, and 3) the recovery path is designed to be quick because it's constantly happening
I always remember a time in college when I was proud of my cat-like reflexes. I was ice skating, and started to fall. My gyrations trying not to fall at all ended up with me flat on my back, with ice skates near my head and arms. If I had taken a knee it would have been over quicker and safer.
I see people do the same thing at work all the time. You can hurt yourself trying not to hurt yourself. People try to make the happy path wider and deeper and let the corner cases get more expensive and use bad statistical thinking to justify it as an improvement. But the corner cases can come in clusters, and people train themselves to not see those clusters in the telemetry. But the customers see it, and the disconnect makes it worse.
A daily life example of this with larger stakes involves GFCI/AFCI (RCD in Europe), and circuit breakers in general. You should regularly turn off all your circuit breakers to make sure they can indeed break the current, and you should regularly push the test button on your GFCI outlets/devices and GFCI/AFCI breakers to make sure they can actually trip. Shutoff/switching mechanisms can and do get stuck, and this can be very very bad in the case where you need it!
I will say though that the first thing you need to know is not Practice Makes Perfect but rather Recency Bias. Eventually a process that works 98% of the time will convince you that it works 100% of the time and the safeties will come off. Human error will grow and grow until there is a reminder that you need to respect the process.
And to make any process popular, you also have to make it far more robust than you would have thought, because people judge on incidents per unit time not incidents per 1000 instances. Anything you want used 2x as much needs to aim for 4x stability. You will underestimate use and overestimate your improvements so you need a safety margin to reduce overall incidents per month.
The title alone - words to live by. At $enterprise we failover to a different DC once a week. The process to do so is ever-evolving and improving.
A few years ago it took 8 hours and 10-15 engineers to release software (Oracle DB-backed, running migrations + deployments done on inactive nodes first). That’s down to 1-2 minutes and a single engineer now, and pushing for on-demand releases. Not too bad for a company founded in the nineties.
We run 5 redundant clusters and keep traffic to one of them weighted as if 2 of the clusters have fallen over to make sure our software will be able to handle the load when clusters inevitably have hardware failure. Then of course we actually test a cluster being down every time one is rebooted for kernel updates.
Same as any skill or muscle. Use it or lose it. It goes for our brain, our body, our tools, and the entire system of software we use. If it isn't used, consolidate or delete.
This goes for all resiliency measures. If you’re not practicing and testing your systems under duress you have no clue if they will work as expected when they are actually needed.
I worked with a tech lead that basically applied blue-green to regional deployment so we were constantly flipping between the two. The stack was small, so I’ve always thought that was brilliant, but completely overkill until I started working on a project that could actually benefit from that approach.
Exactly. The only way to know your failover works is to make it the primary path. I apply the same to software: my tools don't have an 'offline mode' — they are offline mode. The network is treated as an optional enhancement (e.g., 'save this file' button writes the HTML to disk), not a dependency. When the internet drops, the user doesn't even notice because nothing changed.
I've gone a bit wild and let an AI agent handle everything.
It's a continuous 24/7 maintenance agent updating app dependencies, rebuilding docker containers, creating and testing backups, trigger cluster switchovers, update servers. It's not uncommon for a switchover to happen every 24 hours.
Companies rarely test this because they have no desire to test this. There is no management push to get it done and massive downside in testing causes outages which impacts engineering teams.
Coupled with most companies rarely need uptime they claim they need. Most companies I've worked at, downtime rarely resulted in lost revenue.
Perhaps oddly, almost every company I’ve worked at suffered real financial pain as a result of outages. Lost production at one that did quick-turn manufacture to order, and two more with customers that (rightly) demanded steep SLA penalties. None of them got to a point where failover was comfortable.
With my own company I started doing zero downtime deployments (I run hot/hot over multiple AWS regions) literally from day one. Our rate of rollouts has been slower this year than last, with only about 1,500 so far.
Constant failover is a big win in my experience. Hard to retrofit, though.
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.
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.
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.
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
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.
I have an urge to recompile/reinstall an operating system on an irregular but frequent basis if only to clear it of any accumulated frass.
In a like mind, I try to be certain to spend a few days with mains power turned OFF to prove that backup battery is still able to failover and to sustain for a minimum duration. I log the KW hrs utilized and the battery SOC after each instance.
You never know if your disaster recovery scenario will play out without an actual disaster drill, up to the point of physical disconnection of uplinks.
The public clouds got it right: active-active is the only load balancing mode that should exist.
All of my deployments are zone redundant and all sites are always serving live traffic. Databases write in only one zone but read-only workloads are steered to the replicas at the other zones.
This leads to hilarious audit workshop conversions.
“How often is the secondary site tested?”
“All the time.”
“What does that mean? Monthly?”
“Continuously.”
“Daily?”
“No, it’s tested all the time, moment to moment, request by request. All day, every day.
What you describe is often not enough, as in a real failover event, a smaller percentage of the hardware has to handle the entire load. There are entire classes of errors that only happen when you actually shut down entire azs, or even regions at a time, and leave them down for hours.
In a typical setup, the devops pipelines would use rolling zone-by-zone outages to deploy new code, so that's also tested relatively frequently.
I typically work on systems with negligible load, so this isn't an issue for us.
In the past I did work at an organisation with a large user base where more than a hundred physical servers dedicated to a single app was normal. They had a data center with power issues that would experience frequent brownouts, which eventually forced every team to make their apps fail over automatically and robustly. This included having spare load capacity to handle double the normal load at the remaining DC.
I always found it ironic that "frequent power issues" caused availability that was better than it was before the power issues started!
Frustrated dev speaking:
I'm so tired of this whole sre madness. Canary, failover, firedrills, argol whatever that is, 50million stale dev environments with microservice ai generated state that is completely fake and inconsistent in every single one. Devs wanna just ship a feature to sync some data twice a year but the whole overcomplexity engine that is modern deployments has gone so far that you need to study a million tools before you can do anything meaningful. What happened to just a bash script and some well designed code. For everyone but maybe 5 companies globally we don't need all that shenanigans. But you have to grind your resume driven development and only the most overcomplicated nonsense makes you look serious. This industry is a joke and i can't wait for it to all fall apart
You can acknowledge the risk or not acknowledge the risk.
If you choose to acknowledge the risk you can price the risk or not price the risk.
If you choose to price the risk you can fund the risk.
If you fund the risk you are managing the risk.
I know people who drive around without car insurance, other people who don’t have life insurance. There are also people who are over insured at the other end of the spectrum.
It depends on what you’ve promised people giving you money and what you’re going for.
You can just spin up a couple VPSs and put a load balancer in front and call it a day. No one is stopping you. This is what I generally do, unless something more complicated is truly necessary, and I'm very happy.
Yeah technically yes, but I'm talking about the standard that modern devops and sre are setting. Suddenly org policies are introduced that force using a company wide helm chart and that base image with that process yada-yada. Maybe there's still places with more autonomy to just spin up whatever, but I see alot of the opposite not just in my org.
I only trust HA fail over to actually work if companies have been doing frequent switch and stay for years. Switching every 6 months is the minimum IMHO but the more frequently the better.
Is this a restatement of the chaos monkey - that is, in order to make sure the system is resilient, some organisations have something that deliberately breaks things
these are easier said than done, because using failover means potential (and likely ) customer disruption.
The Devil is in the details, and because many tech solutions are a hodgepodge of open source, commercial and home grown components, the failover strategy also needs investment.
Convincing me to do more failover drills is not the hurdle needing overcome. Unlocking the budget to develop and exercise the protocols is the hard part.
You might have missed it further down this article, but this person suggests adding failover to your release process. During a release, you can switch the network traffic to the failover environment, then release updates to the original environment, test them there, then switch back to the original environment.
Worked at company that did this. Didn't know why at the time, but seems like a really good idea.
Hmm, good question. Wasn't apart of devops or specifically, release engineering (am a software dev), so am not sure. But my educated guess was that their prod environment was surprisingly small for a high-volume ecommerce website (they are one of major sites on which you can resell tickets to events). Think each prod environment didn't have that many servers, only 2 or 3 or something like that. I can't remember the exact number, but I remember being surprised that it was so low given the volume of traffic they had - although, me being on the dev side, you don't get a good feel for how much traffic is truly "high-volume" and how much compute you'd need.
And one thing they did to mind money is they kept their engineering team small, ~500 people, and this was before AI. At that time, they should have had 50% more engineers, because most were being worked to the bone. It was a very stressful place to work (but learned more in that one job than all my other jobs combined).
Not an excuse. Run a parallel environment that isn’t customer-facing if you’re forced to so that you can drill. Either you’re going to disrupt your customers or an act of God will, and your customers won’t let you scapegoat God.
In my experience, the issue with this is simulating production in a meaningful way. Let’s say you have 10k mobile users, how can traffic approximate that well enough with network conditions, p99 user behavior.
It’s as good as possible but like parent points out, not necessarily worth it.
Original devops is creating an environment that can be fully rebuilt and reprovisioned effortlessly. 1
With software and solutions, until that exists, there is no failover. Whether it's how a cloud is used, or self-hosting on resources works, or a hybrid.
Disaster planning and other risks are things accounting departments can usually get behind to test and test often. The cloud can seem alluring to pay instead but it doesn't always work out.
Once you trust your HA, you just take the server or service offline, do what you need to do, and then turn it back on. And you have a backup plan of “it’s trivial to just spin up a new server because we made sure to test that regularly, too”.
Occasionally we do “pull the power cord” (or more realistically tell the ups/peu to turn it off), and then testing that AMT/iLO/iDRAC/whatever functions to turn it back on. If you have things set up properly this can all happen with almost no effort via an agent harness.
The same is true if you’re relying on clustered storage or RAID at all. You’d better periodically just fail over off a drive (and should do this rolling) instead of waiting for a drive to fail.
Nothing filled blindspots in staff documentation more than those findings.
Meanwhile somewhere else, dedicated servers were used heavily but failover happened monthly at most, but regularly more often.
I miss it though. Somewhere down the line the expectation bar has gone down in a circular fashion
I don't recommend this to paper over memory leaks -- you still need to fix those! But it results in tremendous stability.
I did all but the last mile on autoscaling work. I thought we needed about three months more work, the guys who took it over decided it needed to be done in time for year end performance reviews. They skipped things and also ignored my advice on tuning parameters. Twelve days later we had the worst outage in two years because they didn’t account for unknown unknowns while I did. A bug in Operations’ Terraform did not preserve current machine count during a redeploy, and their initial min cluster size was laughably small.
In my next 1:1 I told my boss it was worse than that because they held a vote to ignore my advice of ramping down instead of jumping to best case. My boss was as appalled as I had been. Fucking told you so.
By the time they had dialed it in they had exactly the settings that I proposed which they thought weren’t aggressive enough. The fact that my numbers were not that compelling is why it had been my priority 3 instead of Priority 1 in the first place. It didn’t actually save us all that much more money than I already had with the work up to that point.
Our reloadable config system needed Consul to be up and populated during bootstrapping. If it went down any time after that it would fall back gracefully to the last known configuration and exponentially back off. In situations like that, turning off a server for 20 minutes a day is an increase in risk with zero upside, since billing doesn’t even work that way!
At the end of the day I think I probably didn’t make enough of a stink about how much and for how long I had been working on that problem and how it was foolish to reassign it at that point in the process. At a minimum it should have been all three of us with me cross training.
Give a distributed computing problem to people with no formal training and they always ask how hard could this really be. Real hard, but also not if you commit to do some counterintuitive things religiously.
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)
I generally run RAID-1C3 plus a hot spare (periodically take it to C4, and then back to C3 to rotate what the hot spare is), with a cold spare on the shelf. With CephFS it’s a bit different but basically the same idea.
There have been firmware issues across multiple manufacturers where a lifetime counter rolled over and made the drive inaccessible ... if you knew in advance, you could pull those out of service before they failed, but how would you know.
For personal drives, I try to buy one at a time or at least bring them up a few weeks apart. For work drives, sometimes you just end up with a huge batch of servers coming online at the same time. Hopefully backups go to different systems.
Use (soft)RAID, have hot spares, done.
Lemon drives usually fail within the first weeks, good drives keep running for years long after their 5th birthday.
Failover is a great example because in many business cases you _have to_ be good at it when you have the very bad day, but there are ways to avoid it in steady state.
[0] E.g.: Complex authz logic, deploys, interactions with a fragile remote service, etc. [1] Obviously you shouldn't just cover the happy path, but you and the people you work for probably like money and it will be hard to justify pre-bulletproofing some edge case than the median one.
When I was at PagerDuty we regularly ran Failure Fridays (perhaps they still do). The goal was to identify a victim sub-system and start applying all sorts of failures to it - excessive latencies, dropped server connections, availability zone outages, etc. It was all done in a controlled manner, with the operations team sitting together with the service owners. The idea was that even if there is an impact to the customer, it's much better to catch it now and fix the underlying issue with many eyes on it, rather than a bleary-eyed on-call dealing with it in the middle of the night. This sort of exercise was very scary to get started with, and only minimally-impacting failures were introduced, but over time we got to the point where we were comfortable with simulating a full region outage.
That said, such investments in reliability made sense for PagerDuty. If a company can survive just fine with 2-3 nines of availability, it's a lot harder to make the business case for it.
Confident "yes"
And then I would put my finger on the tab to pull a drive.
If they didn't flinch I would pull the drive out.
Some nights I would pull dozens of drives. I guess we had a lot of trust in the RAID.
The SSD had lasted 9 years, served me well. Rest in peace.
I have an opinion that uptime is largely a vanity metric. It might feel nice to have a year of uptime on a router or server, but not if it has been a year since said device got updated.
It is a bad sign if management will not approve maintenance because they cannot accept downtime. The loss of any single device should, ideally, not create any outage. If it does, then this indicates a flawed system architecture. I like to frame it as, "this thing is so important that we can't maintain it."
There aren't "normal" and "recovery" reconfigurations, there's just recovery (with a few exceptions for planned maintenance).
This means: 1) simpler code, 2) you're constantly testing the recovery path, and 3) the recovery path is designed to be quick because it's constantly happening
I see people do the same thing at work all the time. You can hurt yourself trying not to hurt yourself. People try to make the happy path wider and deeper and let the corner cases get more expensive and use bad statistical thinking to justify it as an improvement. But the corner cases can come in clusters, and people train themselves to not see those clusters in the telemetry. But the customers see it, and the disconnect makes it worse.
And to make any process popular, you also have to make it far more robust than you would have thought, because people judge on incidents per unit time not incidents per 1000 instances. Anything you want used 2x as much needs to aim for 4x stability. You will underestimate use and overestimate your improvements so you need a safety margin to reduce overall incidents per month.
A few years ago it took 8 hours and 10-15 engineers to release software (Oracle DB-backed, running migrations + deployments done on inactive nodes first). That’s down to 1-2 minutes and a single engineer now, and pushing for on-demand releases. Not too bad for a company founded in the nineties.
Coupled with most companies rarely need uptime they claim they need. Most companies I've worked at, downtime rarely resulted in lost revenue.
With my own company I started doing zero downtime deployments (I run hot/hot over multiple AWS regions) literally from day one. Our rate of rollouts has been slower this year than last, with only about 1,500 so far.
Constant failover is a big win in my experience. Hard to retrofit, though.
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.
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.
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.
In a like mind, I try to be certain to spend a few days with mains power turned OFF to prove that backup battery is still able to failover and to sustain for a minimum duration. I log the KW hrs utilized and the battery SOC after each instance.
All of my deployments are zone redundant and all sites are always serving live traffic. Databases write in only one zone but read-only workloads are steered to the replicas at the other zones.
This leads to hilarious audit workshop conversions.
“How often is the secondary site tested?”
“All the time.”
“What does that mean? Monthly?”
“Continuously.”
“Daily?”
“No, it’s tested all the time, moment to moment, request by request. All day, every day.
“Ooookaay… I’ll put down ‘daily’ on the form.”
I typically work on systems with negligible load, so this isn't an issue for us.
In the past I did work at an organisation with a large user base where more than a hundred physical servers dedicated to a single app was normal. They had a data center with power issues that would experience frequent brownouts, which eventually forced every team to make their apps fail over automatically and robustly. This included having spare load capacity to handle double the normal load at the remaining DC.
I always found it ironic that "frequent power issues" caused availability that was better than it was before the power issues started!
If you choose to acknowledge the risk you can price the risk or not price the risk.
If you choose to price the risk you can fund the risk.
If you fund the risk you are managing the risk.
I know people who drive around without car insurance, other people who don’t have life insurance. There are also people who are over insured at the other end of the spectrum.
It depends on what you’ve promised people giving you money and what you’re going for.
Of course management is often prone to over doing this, and managing engineers are prone to over building.
This is more a general business & people problem that applies to all areas though
The Devil is in the details, and because many tech solutions are a hodgepodge of open source, commercial and home grown components, the failover strategy also needs investment.
Convincing me to do more failover drills is not the hurdle needing overcome. Unlocking the budget to develop and exercise the protocols is the hard part.
Worked at company that did this. Didn't know why at the time, but seems like a really good idea.
And one thing they did to mind money is they kept their engineering team small, ~500 people, and this was before AI. At that time, they should have had 50% more engineers, because most were being worked to the bone. It was a very stressful place to work (but learned more in that one job than all my other jobs combined).
Not an excuse. Run a parallel environment that isn’t customer-facing if you’re forced to so that you can drill. Either you’re going to disrupt your customers or an act of God will, and your customers won’t let you scapegoat God.
In my experience, the issue with this is simulating production in a meaningful way. Let’s say you have 10k mobile users, how can traffic approximate that well enough with network conditions, p99 user behavior.
It’s as good as possible but like parent points out, not necessarily worth it.
With software and solutions, until that exists, there is no failover. Whether it's how a cloud is used, or self-hosting on resources works, or a hybrid.
Disaster planning and other risks are things accounting departments can usually get behind to test and test often. The cloud can seem alluring to pay instead but it doesn't always work out.
What works with say, 10,000 files might still work 10,000,000 but on no timeframe anyone can tolerate.