Trace Everything
Easy · system design problem
Every request exports its trace synchronously at 100% sampling. A spike triples traffic and the tracing backend cannot ingest it — so requests fail.
web-api records a trace for every request (100% sampling) and exports it to the tracing backend (Jaeger, 50,000 spans/s) before responding. At T+20s a campaign triples traffic for the rest of the day. The tracing backend cannot be scaled today. Most requests are reads, and traces are only needed for a representative sample.
Topics
More
Codelays runs in your browser: turn on JavaScript to use it.