by master_crab · 2y ago · 0 comments
Do most of your customers expect close to 100% uptime? Yes.
Does one machine provide the uptime required by your customers? Most definitely not.
But I also think that many applications are far more tolerant of small outages than you imply. And a more complex setup also adds more points that can lead to an outage even though it reduces the chance that hardware will cause one.
I kinda want to know where you shop, because commodity hardware has a reputation as just utter crap. Before cloud went mainstream, I worked somewhere that had some racked servers in a colo literally catch fire. (The remote hands put them out, disconnected, and refused to touch them ever again.)
If you are in one of those two categories then setting up something more robust than a single server isn’t much more complicated than a single server.
That is to say, I think it very much does change the equation around the original statement.
And spinning up a new VM typically takes longer than a minute. Even on cloud providers.
Our environments are easily repeatable, they're very maintainable, but they're not quick to start up
I think this is mostly a self imposed requirement. Banks regularly have overnight technical breaks. My country national rail has 30 minutes of downtime every night (!).
Unless your product is already global, most people won't have a problem with occasional overnight scheduled downtime.
Most people never even test number 2. If your a novel or niche product, you can afford a “lot” of downtime
For number 3, it really all depend on your load. I’ve run most early stage startups on an incredibly simple setup with a proxy placed in front of an app server.
Occasionally, our monitoring will start reporting high p99’s so we go in and bump the servers to the next tier or scale horizontally just a bit more. Eventually, that breaks down but many startups will be well into Series A or Series B point. At that point, you know your customer’s needs and can hire dedicated engineers to solve reliability and uptime.
Also, I sure hope your loadbalancers don't suck. I've worked with some that had worse uptime than my servers, and worse capacity too. Went back to putting the two host addresses in DNS, which is mostly fine, but means a lot of waiting when you want to take a host out of rotation for disruptive maintenance.
(Regular maintenance meaning OS updates needing a reboot, which happens like what? Once per month for a minute?)