10/28
Part 2 of 6 · Failures and retriesWatch
Watch · 6 min
From his Cambridge distributed systems course. From 4:25 a like is counted twice: the acknowledgment is lost, so the client sends the update again. From 8:09 the fix is an idempotent update, like adding to a set instead of adding 1 to a counter. A task that runs again after a crash before its ack needs the same property.
Distributed Systems 5.1: Replication · Martin Kleppmann · Oct 2020YouTube