News for hackers. Stuff that matters.
Re:On rebooting: the unreasonable effectiveness of turning c... by XorNot on Tuesday May 24, 2022 @11:22PM (#31500252)
I do this with cloud VMs these days: it's particularly useful when there's third party code in the mix. The theory is that your uptime represents a known tested amount of operation (roughly), and as such everytime you go beyond that in production but not testing, you're getting into unknown space - systems are too complicated to validate everything (see the classic patriot missile system bug [1]).

So, you should never deploy anything to production which won't be rebooted more frequently then you reboot it in testing. In practice, you should probably reboot much more frequently - as frequently as possible - to keep the delta between "known good" and "mutated" as small as possible.

[1] https://en.wikipedia.org/wiki/MIM-104_Patriot#Failure_at_Dha...

Re:On rebooting: the unreasonable effectiveness of turning c... by thakoppno on Wednesday May 25, 2022 @01:26AM (#31500907)
man way back when we bragged about more than 2k days of uptime as evidence of resilience
Re:On rebooting: the unreasonable effectiveness of turning c... by midasuni on Wednesday May 25, 2022 @04:23AM (#31501875)
Half the products people build don’t even last 2000 days nowadays, but any system you build should have a continuous uptime well over 2,000 days. My dns servers for example have been responding to dns for the last 12 years on the same IP without more than a second of downtime.

It might be acceptable for AWS to crash every few months, but it’s not acceptable for my systems to be out for the length of a reboot.