client-generated identifier
An identifier the client creates before its first attempt and reuses on every resend.
In more detail
The server treats it as unique within the conversation, so a resend is recognised and discarded rather than appended twice. It is an idempotency key for messages.
Related terms
- idempotency key — A unique value a client sends with a non-idempotent request, such as a create, so the server can recognise a retry and return the original result instead of acting twice.
- deduplication — Detecting and discarding repeated copies of the same message or request, usually by remembering identifiers already processed.
- UUID — A 128-bit identifier, usually written as 32 hexadecimal digits in five groups, designed to be unique without any central coordination.
Taught in
- Worked Design Two: A Global Chat System — Scalable System Design & Distributed Architecture