u/dutch_geckoin r/compsci • Recommends
On “[Question]- What if a server crashes after writing log to disk but before replies to the client”
Tom Scott also has a video about the Two Generals Problem which includes an example of using idempotency to mitigate the issue.