7 ms·
> "A lack of planning on your behalf, does not constitute an emergency upon mine." Agreed. Imo, having "on call" rotations is a clear red flag and bad software
by dvt 3y ago
> "A lack of planning on your behalf, does not constitute an emergency upon mine."
Agreed. Imo, having "on call" rotations is a clear red flag and bad software practice that has somehow made it in the mainstream.
I understand the idea of "mission critical" when you're running software on the Moon or something, but if your Earthbound software has so many potential bugs that you need to have dedicated people being on call every weekend to fix bugs or restart servers, you just built it poorly.
- somsak2 3y agoIf you work at a company on a team with a user-facing surface, you need to have an on-call rotation. Consumer expectations of uptime are extremely high and there's no way to build software that ensures 100% reliability without any human intervention.
- dvt 3y agoFundamentally disagree with this. In fact, most of human technology has worked without on-call rotations. From the complicated movements of mechanical watches, to the still-ticking heartbeats of the Voyager probes. Most software engineers just happen to be bad engineers. On-call rotations are a band-aid for poor planning and development (to be fair, often imposed by tech-delinquent middle managers or executives).
- dasil003 3y agoObviously the truth is somewhere in between, there is no engineer so talented that they can produce a 100% reliable and available system, and the percentage goes down the more complex the system gets. The decision of whether to have a on-call rotation should be based on the consequences of downtime, not on some kind of moral stance on human fallibility.
- Gud 3y agoLet’s get rid of on call firemen while we’re at it they shouldn’t really be required. Let’s all plan our emergencies to 8am to 5pm, Monday to Friday. And don’t forget the scheduled lunch break at 1pm!
- lotsofpulp 3y agoThey can be scheduled on shifts instead of being on call. It just requires spending more money hiring more people.
- _kblcuk_ 3y agoBeing on call is firemen job, and they do have shifts. In most of the companies you have something akin to construction workers that work from 9 to 5 and then also are expected to be available to do casual firefighting from 5 to 9 because it's "easier".
- dasil003 3y agoAt a certain scale mature software companies do in fact have dedicated incident managers, and dedicated SREs who work primarily on stability from a more systematic perspective. However they still need support from the application developers due to the nature of software. In the old days operations tended to be very isolated in much the way you are proposing. The problem with this is that stability depends very much on the software, so over time operations folks would be extremely defensive and impose all kinds of constraints on what software could do, and the software engineers would be frustrated that they couldn't do things efficiently. Imagine how firefighters would feel if construction workers had a tendency to randomly leave explosives and gas cans hidden throughout new construction and then waltzed off to the next job while the firefighters had to deal with the consequences. At the end of the day, devs need to have some skin in the game or it's a recipe for disaster.
- fdupress 3y agoThe juxtaposition of "this is how it's done because otherwise those that fight fires impose restrictions that those that build don't like" and "construction workers Vs firefighters" seems to be undermining your point... In mature industries, there absolutely are plenty of regulations in place to make sure that builders don't make responders' life harder. That doesn't mean that the responders aren't needed, but the fact that the software industry as a whole decided to go all "response is the only thing we need for most things" is evidence that it is not mature.
- sirclueless 3y agoI don't really understand the analogy. Mechanical watches have created an industry of skilled practitioners trained to fix them because they often need diagnosis and repair. NASA has a room full of oncall personnel available for many hours any time they launch anything, and they launch things much less frequently than your average tech company. Oncall rotations are part of defense-in-depth against bugs and unforeseen circumstances: Most of the companies that survive without a formal one only do so by outsourcing this for the most common cases; to Cloudflare, to Amazon, etc. -- if there's an opportunity cost to being down someone needs to be able to pick up the phone when there's an outage or critical issue.
- efitz 3y agoCouldn’t disagree more. Nobody engineers software like spacecraft companies- that doesn’t mean that no one else gives a shit, it just means that cost constraints are real things. Also, the demands on spacecraft software are trivial (“move the camera once a month”, “do a correction burn after a planetary encounter”, “watch this sensor and do this if it changes”) compared to a modern web application at a Fortune 500 company.
- infecto 3y agoFundamentally disagree with this but I can see how someone who thinks at the level of "Most software engineers just happen to be bad engineers" would see it that way. I have worked at firms of various sizes and there is always a point where things usually become complex at some point. Software is as much or more so about managing the humans than it is the software. This becomes especially true as the firm grows in size. Like all fields there are certainly some individuals that perform better/worse than others but even for the best engineers out there, mistakes happen, edge cases pop up especially as the potential complexity grows. Of course these mistakes can pop up more frequently depending on the imposed deadlines. Deadlines to me are a healthy balancing act between the different parts of the business. Sometimes they are arbitrary but I think in a healthy relationship it helps to have that pushback/friction to figure out how much effort is required. That was a long way of saying I think its a pretty naive and dismissive view to just hand wave and say this is both due to bad engineers and tech-delinquent middle managers. You are not asking for it either but I think this also comes down to social ability/skills. If your worldview is that most software engineers I can only imagine this shows up in the workplace.
- MichaelZuo 3y agoSo how did IBM manage to produce mainframes, with software/firmware included, that achieves six 9s uptime?
- coding123 3y agoYou can't compare a mechanical watch to a modern web app. If you told the people building the modern web app were allowed to make one release per decade and not allowed to "maintain it" you would see the feature list drop off, the release date shoot out. If you have different constraints, you get a different result.
- ZephyrBlu 3y agoIn a vacuum, technology does not need people on-call. The problem is when you're iterating on technology (E.g. SaaS). Shipping things has the highest risk of breaking something. I worked with an SRE team responsible for managing incidents for a few months, they told me that ~80% of incidents are caused by bad code being shipped, and I saw that happen as well. Modern software applications are complex and interconnected. It's pretty easy to unintentionally break something in a different part of the application, or ship subtly bad code because you aren't intimately familiar with that part of the codebase.
- 8note 3y agoJohn Deere sells tractors because of their oncall process When you're in the middle of harvesting and your tractor breaks down, you want it fixed now, not at somebody else's convenience. Mechanics and tow trucks also form an oncall for broken down cars. There's oncalls all over the place for tech of all kinds. I think the biggest difference with software is intellectual property - we've made it so nobody else is allowed to fix whatever's broken, so of course, we need oncalls to fix the problems instead of letting customers go to their preferred mechanic
- 3minus1 3y agoThis seems incredibly naive considering companies where engineers are pushing literally thousands of commits a day. Things will break, period.
- NBJack 3y agoNot a great comparison. I presume you are trolling. Mechanical watches have been around for roughly 500 years (about 4x-5x tbe time since the first program, depending on how you count), which is a substantial amount of time to iterate on core functionality. Even then, watches until the 1970s (when quartz was introduced) were often imprecise enough to lose 15 minutes/day. The Voyager probes have both lost several instruments, were built with substantial amounts of redundancy, all to the adjusted for inflation cost of about $3.94B US dollars. Maintenance per year is estimated to be about $5M, including the occasional software update.
- overgard 3y agoI only had one experience with this early in my career, but I remember it wasn't good. Basically, we had a 5-6 person team that had to support like 10 important legacy services. One person essentially ended up being on call for a week, having to wake up early to debug issues with a thing you didn't build in the first place and only vaguely understood. Do you think this company had good CI/CD and automated tests? They did not. There was fortunately a lot of monitoring so at least you knew when the service was in a bad state, but absolutely nothing else other than a ticket and an angry customer. I would much rather have extensive test coverage, very good CI/CD, make sure not to do releases on weekends and holidays, and have a few people whose job is to do the monitoring and escalate to the right people rather than just putting a target on a random engineer's back and hope they can fix things quickly.
- SoftTalker 3y agoYou think that, but when Github is down, or AWS-East is down, everyone just kind of endures it, waiting until it's back up. And life goes on.
- alwa 3y agoOf course, when a hospital’s IT systems go down, people do indeed have to endure it, but life does not always in fact go on [0]. Horses for courses, I guess. [0] https://www.theverge.com/2021/9/27/22696097/hospital-ransomware-cyberattack-death-rates-patients https://www.theverge.com/2021/9/27/22696097/hospital-ransomw...
- SoftTalker 3y agoHospital IT systems failures are are mostly going to cause problems with scheduling, record-keeping, and billing. By far, the most likely thing to kill you in a hospital is not the IT system but errors by the doctors and nurses. Or that you're too sick to save no matter what they do.
- somsak2 3y agoRight, and the reason "everyone" has confidence in just waiting a bit for it to go back up without panicking and having to try to find an alternative is precisely because GitHub and AWS have on-call engineers that are alerted and immediately work on fixing it.
- j45 3y agoOn call rotation is one thing. Everyone being motivated to develop in a way that isn’t resulting in brittle software and breaking and maybe even use boring tech for stability so even if an on call is a real thing, it’s relatively benign. It’s not a bad thing to rely on the genius of smart people who have been at it for decades and are decades ahead in some realizations. Having software that self reports and logs multiple occurrences of the same errors and escalating errors that start in the app are one great way to stay ahead of issues. By the time someone reaches out it’s easy to find the error, session, user, and say ok we see it and are on it. Acknowledgement at this depth upfront quite often let’s the customers to say it’s ok take a look on Monday. It’s reassuring. Also easy to forward such an issue to a distributed team.
- CityOfThrowaway 3y agoMost of the time, this is a useful frame. With that said, there are some types of software that exist to deal with complexity external to itself. External systems (integrations, screen scraping systems, etc.) can break without fault internally, but need to be fixed ASAP. One might say, "You built it poorly by deciding to build this at all." And sometimes that's true. But I've been in plenty of situations where the options were 1) don't solve the customer problem, don't pass go, don't collect $200. Or, 2) build finicky software that works but needs to be babied... and hire engineers that don't mind doing this type of work. That last bit is critical. Some engineers like the heroics and drama of it. Some people can't help but run headfirst into the fire... and there's jobs for them there :-)
- 8n4vidtmkvmk 3y agoI didn't mind staying late some days to see whether or not my migration would blow up production or not. But oncall suuuuuçks. Cleaning up my own mess is one thing, cleaning up some one else's nonsense is another.
- goldenkey 3y agoOncall done right will involve a feedback mechanism to the originators of the root cause.
- j45 3y agoThings happen all the time. So lending a hand with emergencies that even could have been avoided is ok to help someone new to it. Caring via software or infrastructure for users is often about effort as you have described.
- tragic 3y agoAt my last job, there was an incident (thankfully discovered in working hours) caused by a supplier accidentally deleting the country of Austria from some crucial database. You can't anticipate everything like that, but the show must go on ...
- d_tr 3y ago> Imo, having "on call" rotations is a clear red flag and bad software practice that has somehow made it in the mainstream. "Just throw more humans at it!"
- aksss 3y agoI used to run IT operations for a telecom, hundreds of physical servers, facilities, 24x7 operators. Hey, shit happens. Problems with hardware, facilities, software jobs, COTS software, homegrown software. There’s a lot of benefit to having someone on call in each domain of concern rather than letting problems fester or go unresolved all night, particularly if the issues are customer-facing. It’s easy to say “just build your crap to anticipate every failure mode”, but that’s not realistic for large operations, especially if you aren’t sitting on an Apple-size pile of cash and talent.
- rendall 3y ago> Imo, having "on call" rotations is a clear red flag and bad software practice that has somehow made it in the mainstream. I thought so too until I gigged for a SaaS company that absolutely needed it. No, it was not moon-shot rocket control software, but it was a money printer with literally thousands of clients around the globe paying six figures for the service. The on-call SWE duty was not onerous: about 2 hour shifts every 2 months, and your job was to attempt to handle it and then escalate it to staff if you couldn't. There were so many CI tests on the way to production that nothing ever happened, until it did, and then you needed to make sure that money printer go brrr.
- organsnyder 3y agoIf your on-call responsibilities are always “fixing bugs or restarting servers”, then indeed you built it poorly. But on-call shifts can also be used for responding to novel situations that couldn’t be planned for in advance. The best on-call rotations are the ones where you’re rarely paged, but when those pages happen they’re for important urgent work where your involvement is vital (even if your role only needs to be channeling the work to the right person). Ideally you’re also compensated for being available, even when nothing happens (my current team gets a day off [in addition to normal PTO] for every week of on-call time).
- andrewaylett 3y agoThe expected number of alerts for my team in a normal week on-call (which is out-of-hours only, a different team member covers working hours) is zero. If one of us is paged, there's a good chance it's because of something my team has control over, and we'll try to make sure it doesn't happen a second time. My experience is that a dedicated team running a follow-the-sun rotation (so the team doesn't need much if any "out of hours" because it's always in hours for at least one of them) actually leads to flakier services and more alerts. Without the visibility of the impact of the flaky services, fixes are lower priority and also more difficult to validate. In this manner, on-call is not a lack of planning, nor an emergency, but deliberately ensuring we have a plan in place to triage out-of-hours incidents, mitigate those that need mitigating, and leaving anything else to be fixed in-hours. On the other hand, unpaid on-call is unacceptable.
- ddalex 3y agoThis is not a software quality problem, this is a business efficiency problem. We could write commercial software with no bugs, but it would be very expensive (slow process, complicated tooling, etc). It's far cheaper to accept some rate of bugs and pay some schmucks weekends/nights to be OnCall)