Lesson 3 of 3 · Acknowledgements, retries and durable state
Confirm a message without duplicating it
13 minute lesson · 3 checks along the way
Your goal for this lessonSeparate delivered data, received acknowledgements and application effects, using bounded retries and durable duplicate detection in an original transaction model.
In this lesson 4 sections · 3 checks
Read & understand
Define what an acknowledgement confirms
MSAT’s 1993 packet-data paper describes command-response transactions with selectable repeat counts and delays. That design concern leads to a broader question: what does a sender actually learn from a reply? Receiving radio energy, accepting an intact packet and completing an application action are different events. An acknowledgement from one layer need not certify all the layers above it.
Imagine a remote instrument sends “record sample 47” to a ground application. For this original model, a valid acknowledgement is sent only after that application has durably recorded the sample and its unique transaction identifier. Replies match that identifier. Assume correct, authenticated messages, no undetected corruption and no malicious participants. These are stronger, deliberately stated assumptions than merely seeing a radio link; they are not claimed properties of every historical MSAT service.
Read & understand
A missing reply leaves two possible histories
On attempt one, the request arrives and the receiver records sample 47, but the reply is lost. The sender times out and repeats the same identifier. A receiver that blindly appends every received request would record the sample twice. Instead, the receiver checks a durable table of completed identifiers. It returns the earlier result for 47 without performing the effect again. A new sample must use a different identifier.
The effect and its completion record must become durable together. A crash after changing the data but before saving the identifier can make the retry repeat an effect. Saving the identifier first and crashing before the effect can falsely suppress unfinished work. An atomic durable operation, or another explicitly justified recovery protocol, closes that gap. Identifier reuse, deletion of old records too early, or changing the request under the same identifier also breaks the model. Duplicate detection is a protocol property, not a consequence of being a satellite message.
Check 1 of 3
10 pointsUse the reading above. You can try again without losing points.
Read & understand
Calculate bounded retry evidence
For a separate probability exercise, let each request be delivered with probability 0.9 and, conditional on receiving it, let its acknowledgement be delivered with probability 0.9. Assume independence across legs and attempts, adequate timeout, a reply to duplicate requests, and no permanent failure. One attempt gives the sender confirmation with probability 0.9 × 0.9 = 0.81. Its no-confirmation probability is 0.19: either no request arrives or the reply fails.
The sender permits at most three attempts, stopping when confirmation arrives. The probability of no confirmation after all three is 0.19³ = 0.006859, about 0.686 percent. Confirmation by then has probability 0.993141, about 99.314 percent. The chance that no request arrives in all three is only 0.1³ = 0.001. The difference, 0.005859, describes runs where an effect occurred but the sender received no confirmation. A timeout cannot distinguish those runs from ones with no delivery.
A lost reply is not proof of a lost operation
Original transaction model. Acknowledgements match an authenticated request identifier and follow a durable application commit. Deduplication state is retained throughout retries. The probability exercise additionally assumes independent leg and attempt failures and adequate timeout; these are not measured MSAT guarantees.
Open full-size diagram in a new tab: A lost reply is not proof of a lost operationCheck 2 of 3
10 pointsUse the reading above. You can try again without losing points.
Read & understand
Keep guarantees inside the model
A retry budget bounds attempts, not the certainty of the final outcome. With the durable duplicate record, the application effect occurs at most once; permanent communication failure can still mean it never occurs. An acknowledgement allows the sender to report confirmed completion under our rules. Exhausted retries require an uncertain result or a reconciliation step, rather than inventing either success or failure.
The independence assumption also matters. Repeating three times while a vehicle remains under the same obstruction does not create three fresh 90 percent chances. A useful test records request identifiers, receiver commits, replies and timing on both ends, then distinguishes radio failures, capacity waits and application failures. That closes the course’s path: access determines when a terminal may send, propagation determines what can arrive, and transaction design determines what arrival and silence allow a user to conclude.
Check 3 of 3
10 pointsUse the reading above. You can try again without losing points.
Put it together
Your lesson progress
Each check connects to a part of the story. Complete all 3 to earn your 25-point lesson bonus.
Explore further · Optional
Go to the source
Explore the evidence behind this lesson. These optional readings and videos open in a new tab.