async context propagation

Carrying information about the current task, such as which request it serves, across every asynchronous step it takes.

In more detail

In Node.js, AsyncLocalStorage does it by restoring the right store whenever a callback or continuation runs. Distributed tracing extends the same idea across services by sending trace IDs in headers.

Related terms

Taught in

References