Design a Distributed Tracing System

0%

Editorial Solution

System requirements

Functional

Capacity estimation

Span Volume

Storage

API design

Span Ingestion (Write Path)

Database design

Span Schema

High-level design

Five-Layer Pipeline

Request flows

Write Path: Span Ingestion

Detailed component design

Context Propagation (GATE)

Trade-offs and tech choices

Sampling vs Full Collection

Failure scenarios and bottlenecks

Agent Crash

Future improvements

ML-Based Anomaly Detection

Table of Contents

System requirements

Functional

Capacity estimation

Span Volume

Storage

API design

Span Ingestion (Write Path)

Database design

Span Schema

High-level design

Five-Layer Pipeline

Request flows

Write Path: Span Ingestion

Detailed component design

Context Propagation (GATE)

Trade-offs and tech choices

Sampling vs Full Collection

Failure scenarios and bottlenecks

Agent Crash

Future improvements

ML-Based Anomaly Detection

Premium content

Unlock

Premium content

Unlock

Premium content

Unlock

Premium content

Unlock

Premium content

Unlock

Premium content

Unlock

Premium content

Unlock

Premium content

Unlock

Premium content

Unlock

Premium content

Unlock
Try this problem yourself

Reading a solution is not the same as producing one under interview pressure. Design it on the whiteboard and get scored feedback.


Markdown supported

0%

Editorial Solution

System requirements

Functional

Capacity estimation

Span Volume

Storage

API design

Span Ingestion (Write Path)

Database design

Span Schema

High-level design

Five-Layer Pipeline

Request flows

Write Path: Span Ingestion

Detailed component design

Context Propagation (GATE)

Trade-offs and tech choices

Sampling vs Full Collection

Failure scenarios and bottlenecks

Agent Crash

Future improvements

ML-Based Anomaly Detection

Table of Contents

System requirements

Functional

Capacity estimation

Span Volume

Storage

API design

Span Ingestion (Write Path)

Database design

Span Schema

High-level design

Five-Layer Pipeline

Request flows

Write Path: Span Ingestion

Detailed component design

Context Propagation (GATE)

Trade-offs and tech choices

Sampling vs Full Collection

Failure scenarios and bottlenecks

Agent Crash

Future improvements

ML-Based Anomaly Detection