In this article
A Triton request ID correlates a response; duplicate suppression requires a separate documented mechanism.
A client repeats a Triton request after losing its response and preserves the original request ID. The returned ID makes logs easier to join, but it does not establish that only one inference ran. Treat the field according to its documented correlation role and design duplicate prevention separately when the application requires it.
Read the identifier’s contract
The inference request can carry an optional identifier that is returned in the response. This supports matching a result to its request. The documented field does not by itself promise a durable server ledger, cached response reuse or exactly-once execution. A gateway must not invent those guarantees merely because it recognizes a familiar ID value.
Separate three identity scopes
Keep the logical application operation, actual transport attempt and any stateful sequence distinguishable. Retries can belong to one logical operation while constituting separate attempts. A sequence identifier groups stateful requests under a different contract. Reusing one field for all three hides the distinction precisely when an uncertain network outcome needs investigation.
Preserve safe correlation evidence
Record the chosen request ID with model and version context, admission evidence where available and the final outcome. Keep private prompts and credentials out of the ID. A trace can be sampled, so absence of a trace record alone does not prove absence of execution. Correlation helps locate evidence; it does not make every observation complete.
Test the lost-response case
Use an isolated fixture with an observable execution counter. Submit a synthetic request, suppress its delivered response and repeat it under the application’s intended policy. Compare actual executions and returned correlation. This establishes what the implementation does without assuming deduplication from the identifier. Include distinct attempts that deliberately share a logical operation ID in the test record.
Choose an explicit duplicate policy
If the operation needs duplicate suppression, use a documented application mechanism with defined scope, retention and concurrency behavior. Otherwise report an uncertain prior execution and apply bounded retry rules. Acceptance means the consumer correlates responses correctly and never presents repeated IDs as proof of single execution. It does not require every inference operation to be exactly once; it requires the claim to match the mechanism actually supplied.
Primary references
Triton gRPC service definition. Defines the optional request ID echoed in the response.
KServe Inference Protocol required APIs. Defines inference request and response correlation.
Triton Sequence Extension. Defines the different role of sequence identity for stateful request groups.
Related reading: Inference API telemetry without default prompt capture; Retrying generation POSTs: idempotency must be explicit.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.