Skip to content
playdsa
Preferences

Make yourself comfortable.

Saved on this browser. Your device’s reduced-motion preference is always respected.

Theme
Advanced settings

Metric Shard Atlas

Learn
Play
Prove
Problem context and objectives
Mission briefing

Lead systems engineer · Metric Shard Atlas

Design storage for a metrics platform ingesting timestamped points from millions of hosts and serving recent dashboards.

The design must survive ingest 5M points/s and retention 30 days. Every box must earn its place by satisfying a requirement or containing a failure.

How you win

  1. 1Trace one user action from request to durable outcome
  2. 2Connect every component to a stated requirement
  3. 3Explain the losing tradeoff, not only the chosen technology

Rules and pressure

  • ingest: 5M points/s
  • retention: 30 days
  • Horizontal write scale
  • Recent range queries

New words in this mission

Open a term for a plain-language explanation.
partition or shard+

One slice of a larger dataset or workload. Splitting work raises capacity, but cross-slice operations become harder.

Lesson 1 of 3

Live architecture trace

Metric Shard Atlas: request to outcome

1/5
◉Host agentsclient⬡Ingest tierservice⇥Partitioned logqueueWKShard writersworkerDBTime-series shardsdata⬡Query serviceservice
LIVE EVENTbatch

Host agents sends “batch” to Ingest tier. A compound key controls hotspots and retains time-bucket locality for bounded range scans.

ingest = 5M points/s

Design storage for a metrics platform ingesting timestamped points from millions of hosts and serving recent dashboards. Follow one real user action through the complete architecture; a component is useful only when you can explain the request, state, or failure it handles.

Help shape PlayDSA

Something confusing, broken, or missing? Leave a quick note without leaving your lesson.

Please leave out passwords, payment details and other private information.

Page included: /

Sign in to save feedback here, or send it with your email app. Your draft stays here while you sign in.

Open email instead