When he emerged two hours later, clinging to his IV pole, we were grateful for the manpower.
That's not counting all of our "unofficial hours". You officially work, whatever, 9-6. You're packed with patients for those hours, though, with almost no time to chart, so you go home and chart ... and on a daily basis at home, you're catching texts from colleagues for informal consults and requests to see patients the next day. Your "off" hours aren't off - and if you have to take call, and end up driving back to the hospital...
EM "handles it better" (a phrase I'm loathe to use) because they have legit shift work, with no continuity. No one calls them for a consult; they're not responsible for anyone after they leave because all their patients are short-stay, they don't have to see "every patient on X roster," they just have to manage their ER while they're in it. They manage shifts because of features more-or-less specific to their specialty. A handful of other specialties share those features, and manage to do the same. But not most.
Hell, I chose to pursue my specialty specifically because it lacks emergencies. I never wanted to wake up in the middle of the night post-residency; no one pays you enough for those hours (you're generally not paid for those hours.)
I just think that tech, especially startups, don't handle overtime well. A service might not need to have high availability, and if it does there a ways to manage operations well. Leadership focusing on quality, so that production issues are minimized is good. Explicit on-call schedules can provide benefits if it's not a ton of work, being on-call is definitely a negative. But knowing that you don't need to be available at all is better than not having an on-call schedule. Shift work, with the focus on explicitly dividing up the schedule between employees can provide that benefit.
I haven't worked at Google, but the Google SRE book mentions a lot of things I like. Like giving the option for cash compensation for overtime, requiring postmortems for on-call incidents, capping the percentage of ops work, and having multi-site teams to minimize night shifts all sound like great ideas.
I think there are a lot of situations where service reliability could be improved while making things easier on sysadmins and developers.
course, that would probably result in lower wages for those shift
(that being said, in my country, doctors working hours in the likes of hospitals are notoriously unsafe/long/unreasonable/unethical as well, so your mileage may vary)
Even that doesn't make tech look great. Hours are bad for most doctors, but it seems like emergency medicine handles it a lot better. Doing some brief reading it looks like doctors can work 40 hours a week or under in the ER if they want to, and this is shift work.
The poll here tops out at 45hrs/week https://forums.studentdoctor.net/threads/how-many-hours-are-...