Distributed systems and partial failure
medium 4 minA sender observes replies and deadlines.
Video lesson · Chapter 1 of 5
A price returns, stock stays silent
Did the shipment happen before the timeout?
1:15Reel
Theory
Read or listen first. About 1 min.
What it is
A missing response tells the caller that it has run out of time. The same observation is consistent with a lost request, slow processing or a reply lost after success.
Two different histories produce one timeout
Why it exists
Repeating an uncertain shipment under a new identity may send two parcels. A stable intent lets the caller ask what happened to the original operation.
Words to know
- Ambiguous outcome
- A result for which the caller cannot tell whether the remote operation took effect.
How it works
Step through the idea, or press Play.
Send the request. The parcel service receives a stable shipment ID.
Understand it
Worked example
Distributed systems and partial failure in practice
A shipment request times out. The parcel may already have been registered and only its response lost. Reissue the same intent under the same identifier or query its outcome before creating a fresh request.
Related case
What can a disconnected region promise?
Three regions replicate a directory of active deployment versions. A network split leaves one region isolated. Engineers need to know which reads and writes may still succeed.
Fast reads can include a revision and age.