What a Timeout Tells the Caller
A timeout signals that a response was not observed before a limit. It can result from slow work, slow communication, or other problems.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 4
- Reading time
- 1 min
In this article4 chapters
Trace two delays
A busy service may eventually send a reply. A temporarily disconnected network may deliver none. The caller observes the same timeout in both cases. Unknown outcomes distinguish observed response and remote effects.
Choose cautious recovery
Record enough context to determine which stage waited. See timeout-based suspicion when considering how time limits support a broader decision.[1]
Separate an observation from the operation's state
An invoice-export operation starts and caller A waits for a reply. The deadline expires. A later status lookup may show the export was completed before or after that observation. A timeout proves that the caller did not see completion in time under its interface. See lost network responses.
A: operation never began → timeout
B: completed but reply unavailable → timeout
C: still running at deadline → timeout
Follow-up status can distinguish the cases
Preserve an explicit unknown outcome
When callers cannot reconcile immediately, keep the status unknown until an outcome is confirmed. Test submit-and-timeout followed by status reads in each modeled state.