Timeouts and Unknown Outcomes

A timed-out caller can know it stopped waiting without knowing whether the requested operation completed on the other side.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. Trace a confirmation gap
  2. Decide how to confirm

Trace a confirmation gap

A service can store a setting and then lose its response. The caller sees a timeout while the new value exists. Retried operations must account for that difference before repeating work.

Decide how to confirm

An operation with a stable request identity can expose whether the command was recorded. Retrying a toggle could undo the first successful toggle. Idempotent transitions give a safer state-based example.[1]

References

  1. Python Software Foundation, Python Tutorial: Errors and Exceptions ↩