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?

How to generate

  1. Create one UUID when the flow begins.
  2. Thread it through queues and workers.
  3. Include it in every log and stored record of that flow.

Use Cases

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