Tagged articles

GoContext

1 articles · Page 1 of 1
Random Bulletin
Random Bulletin
Jul 24, 2026 · Backend Development

Context Propagation at Ten‑Million QPS: From ThreadLocal to Explicit

The article examines a real‑world incident where ThreadLocal leakage caused user data mix‑ups, then walks through the evolution of context propagation—from implicit ThreadLocal to TTL patches, Reactor Context, ScopedValue, and Go's explicit context—highlighting trade‑offs and best practices for high‑throughput systems.

ContextPropagationGoContextReactor
0 likes · 15 min read
Context Propagation at Ten‑Million QPS: From ThreadLocal to Explicit