Technology notes / Intent / Repeat-safe requests
One intention, one effect.
When a reply gets lost, trying again can be sensible. The difficult question is whether the first attempt already took effect.
Educational reading · General technology concepts
A missing reply leaves uncertainty
A client may send a request and receive no usable answer. That does not prove the receiver did nothing. The receiver may have completed the action before the reply was interrupted. Repeating an action blindly can therefore produce an unwanted duplicate.
Idempotency describes an operation whose repeated application has the same intended effect as applying it once. For a request that creates something, a client-supplied identifier can help the receiver recognize another attempt at the same intention.
A hypothetical export request
Imagine asking a document tool to prepare an export. The connection drops after you select “Prepare.” On reconnecting, the tool sends the same request identifier. The receiver can recognize the existing job and refer to that job instead of starting a second export.
Now imagine asking for a different export the following morning. That is a new intention and should have a different identifier. The question is not simply whether the text of two requests looks alike; it is whether they represent the same requested action.
Recognition needs boundaries
An identifier needs defined behavior: rules for matching requests, remembering results, and handling an identifier reused with different parameters. Late requests make the retention window relevant. Look for explicit documentation of which operations support repeat-safe behavior.
Further reading: AWS: Making retries safe with idempotent APIs.
Educational material; hypothetical examples do not describe RICARDO LLC’s activities or services.