Index

System Design · Idempotency: retries

Charged twice

The reply never arrived. Did the money move, and what should the client do?

Twelve payments go out over a network that loses some requests and some replies. The client cannot tell a lost request from a lost reply, so it must decide what silence means. Each tab is one answer. Watch the amount charged drift above the amount owed.

Board: Charged Twice →

On a narrow screen, the attempt table scrolls sideways. The loss dial and strategy tabs sit above it.

try this Drag Percent of messages the network swallows to the right, then walk the three tabs and watch the charged total under The money.

Included with a plan

This lab is included with a plan. The first three lessons of every track are free, with their boards and videos. A plan unlocks every lesson, board, video, lab and paper for one price.

View plans →Already a member? Sign in

see also The Google File System, Kafka: a Distributed Messaging System for Log Processing, End-to-End Arguments in System Design, The Chubby lock service for loosely-coupled distributed systems and Conflict-free Replicated Data Types in Papers.