How Data TravelsDistributed Systems
The Two Generals' Problem
No number of messages can make two sides perfectly sure
You text "see you at 8" and get back "ok". But does your friend know you saw the "ok"? Where does that end?
You'll find out
- How many replies make two sides sure?
- What can't the last sender ever know?
- How does the internet live with it?
Why it matters
Every message you send crosses a network that can lose it. This puzzle explains why apps retry, wait and still work.
Play this lesson
Free to play in your browser or on iPhone