UUID Use Case
UUID Correlation ID
Where a request ID is per-HTTP-call, a correlation ID spans a whole workflow — including async jobs triggered later.
Cross-eventAsync-friendlyv4
Generated locally with the Web Crypto API — nothing leaves your browser.
What Is UUID Correlation ID?
- A correlation ID is created when a flow starts (an order, a signup) and stamped onto every side effect: emails, queue messages, DB rows.
- It survives beyond the original request, so background workers can be traced back to the triggering event.
How to generate
- Create one UUID when the flow begins.
- Thread it through queues and workers.
- Include it in every log and stored record of that flow.
Use Cases
- Order fulfilment across services.
- Signup welcome + verification chain.
- Data pipelines triggered by one event.
Code Examples
JavaScript
const id = crypto.randomUUID();Python
import uuid
id = uuid.uuid4()Frequently Asked Questions
Correlation vs request ID?
Request ID is per call; correlation ID is per business flow and outlives the call, covering async work.
Should it be a UUID?
A v4 UUID is ideal — unique, unordered, and collision-free across services.
Related tools
UUID v1 GeneratorUUID v3 GeneratorUUID v4 GeneratorUUID v5 GeneratorUUID v6 GeneratorUUID v7 GeneratorUUID v8 GeneratorBulk UUID GeneratorShort UUID GeneratorUUID ValidatorUUID FormatterUUID as a Primary KeyUUID Database IDUUID Foreign KeyUUID Shard KeyUUID Partition KeyUUID in a Composite KeyUUID Surrogate KeyUUID API KeyUUID Session TokenUUID Access TokenUUID Refresh TokenUUID Idempotency KeyUUID Request IDUUID Correlation IDUUID Trace IDUUID CSRF TokenUUID NonceUUID FilenameUUID Object KeyUUID S3 KeyUUID Upload IDUUID Cache KeyUUID Blob NameUUID Temp FileUUID User IDUUID Account IDUUID Customer IDUUID Device IDUUID Tenant IDUUID Client IDUUID Anonymous IDUUID Member IDUUID Message IDUUID Event IDUUID Job IDUUID Task IDUUID Queue Message IDUUID Transaction IDUUID Order IDUUID Invoice IDUUID Payment IDUUID Reset TokenUUID Verification TokenUUID Invite CodeUUID API SecretUUID Share LinkUUID Magic LinkUUID Node IDUUID Worker IDUUID Lock IDUUID Cluster IDUUID Test DataUUID Seed DataUUID FixtureUUID Mock IDUUID Placeholder IDUUID Sample ID