Question bank

No. 41 · Observability

Design a distributed tracing system

Advanced45 minSharding & partitioning · Data modeling · Stream processing · Search indexing · Estimation · Back-pressure

Your sketch
Opening the sketchbook…

OFF-SITE READING · OTHER PEOPLE’S WORK, OUR NOTES

Further reading

Walkthrough reading

At least one vetted end-to-end walkthrough or mock interview is linked. Links go to other sites; we credit and describe them rather than copy them.

  1. Dapper, a Large-Scale Distributed Systems Tracing Infrastructure

    Google Research · Sigelman et al.PaperPaperFreeVetted

    The primary source: trace trees and spans, propagating ids through common libraries, aggressive sampling, and out-of-band collection. Everything modern tracing borrows starts here.

    Link checked 2026-12-06

  2. System Design: Distributed Tracing

    System Design Fight Club (YouTube)VideoFull walkthroughFreeVetted

    Interview-style walkthrough of a tracing backend: spans, trace ids, collection, sampling and a Cassandra-backed store. The title calls it an Uber question; that is a label, not evidence.

    Link checked 2026-12-06

  3. OpenTelemetry: Context Propagation

    OpenTelemetryDocsBackgroundFreeVetted

    How trace context is injected and extracted across process boundaries, plus baggage. Short; the core mechanism behind joining spans into one trace.

    Link checked 2026-12-06

  4. OpenTelemetry: Sampling

    OpenTelemetryDocsBackgroundFreeVetted

    Head versus tail sampling and their trade-offs, which drive the cost and the collector design. Concepts only; no sizing.

    Link checked 2026-12-06

  5. Trace Context (W3C Recommendation)

    W3CDocsBackgroundFreeVetted

    The traceparent and tracestate header formats, so you can say exactly what crosses the wire. A spec; skim the header format section.

    Link checked 2026-12-06

  6. Jaeger Architecture

    Jaeger (CNCF)DocsPartialFreeVetted

    Reference architecture of a real tracing backend: SDKs, collectors, optional Kafka buffer, storage backends and query service. Short and diagram-led.

    Link checked 2026-12-06

  7. Distributed Tracing for Developers: A Primer

    Better Stack CommunityArticleBackgroundFreeVetted

    Friendly primer on traces, spans, propagation, sampling, and challenges like clock skew and data volume. Vendor-hosted background, not a design.

    Link checked 2026-12-06

Report a bad or misleading link

Reference audit: 3 of 4 links from the audited catalog kept
  • leetcode.com/discuss/interview-question/system-design/313117/Design-a- Prompt only, no company or interview context stated, replies not readable.

We audited the public catalog at systemdesign.io on 2026-12-06. Dropped links are not linked here on purpose.

COMPANY EVIDENCE · NOT A FREQUENCY CLAIM

Where it has been reported

Catalog tags (unverified)

UberAmazon

Assigned by the reference catalog (audited 2026-12-06). We have not verified that these companies ask this question.

Report or add attribution evidence · How we label evidence

KEEP GOING

Related questions