News for hackers. Stuff that matters.
Re:Crash-only software: More than meets the eye (2006) by hderms on Wednesday May 04, 2022 @11:20AM (#31261734)
I feel like people don't go deep enough into how to write 'crash only software' in these discussions. Like what are the options?

1. write ahead log before you do side effects/idempotent side effects

2. double writes to disk to prevent torn writes

3. checksums to make sure we don't make bad decisions based on bad data

4. redundancy/anti-entropy/other distributed system patterns which attempt to obviate the need to be overly concerned with a single process crashing

5. self-healing patterns when bad data is found

anyone have any other ideas?

There are no comments on this comment yet.