by hedora · 1y ago · 0 comments
If you do this, and then find your thing crashes in production, then that means you didn't test it well enough.
Before someone mentions safety critical systems, consider the fact that the first apollo landing's computer crashed when it detected it was violating realtime bounds ("alarm 1201" means the OS detected CPU exhaustion + rebooted without clearing process state). At that point, it went into a reboot loop, and got close enough to the surface for Neil Armstrong to nudge the lander to a safe landing.
But there are many systems today that take a long time to restart so you can’t just abort if you have a chance to recover.
Modern systems use more formal techniques to achieve the same goal: graceful degradation.
For a detailed account of computer operations during the Apollo 11 landing, you can read this analysis from an engineer who worked on the program: