News for hackers. Stuff that matters.
Re:Crash-only software: More than meets the eye (2006) by kayodelycaon on Tuesday April 30, 2024 @02:55PM (#40214769)
Crash-only is really hard to implement if another system is involved that isn't crash-only. If you crash in the middle of a network request, you may not know what state the other system is in.

I've had to deal with buggy mainframe software whose error messages had no relation to how much an operation succeeded. (And no way to ask it after the fact...) Welcome to the special hell.

Re:Crash-only software: More than meets the eye (2006) by TheDudeMan on Tuesday April 30, 2024 @04:12PM (#40215739)
Idempotent APIs + sane timeouts + retries.
Re:Crash-only software: More than meets the eye (2006) by 01HNNWZ0MV43FF on Tuesday April 30, 2024 @09:26PM (#40218514)
Tbf isn't that equivalent to a network partition and then rebooting or replacing one node? The network will always go down in every middle point of an operation
Re:Crash-only software: More than meets the eye (2006) by TheDudeMan on Wednesday May 01, 2024 @01:42AM (#40219895)
Your comment suggests that you believe crash-only software to be inherently less reliable than the alternative. But that is opposite of the stated goal and supposed benefits.
Re:Crash-only software: More than meets the eye (2006) by WhyNotHugo on Wednesday May 01, 2024 @04:21AM (#40220818)
Regular software can crash in the middle of a network request too (e.g.: someone accidentally unplugged the wrong network cable, power outage, etc).

Crash-only software is likely to test recovery of such situation.