Remote Procedure Calls and Ambiguous Outcomes
Explain why a missing remote result leaves execution uncertain and design retries around stable application operation identities.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 2
- Reading time
- 1 min
In this article2 chapters
A timeout may occur before or after execution
A server can commit a request and lose its reply. From the caller’s perspective that history can look like a request that never reached the server. Retrying without an application rule may repeat an effect. A read whose meaning permits repetition and an operation creating an irreversible record need different retry contracts.
State the guarantee at the effect boundary
An at-most-once effect requires duplicate recognition through failures allowed by the model. A client-supplied operation identity can let a server return the prior outcome from durable state. If duplicate history expires, the promised retry window must agree with retention. Retries also consume deadline and capacity. Idempotency keys describe how uniqueness and result storage fit one transaction. Latency budgets show how attempts share a total time allowance.[1][2]