Skip to content

Build a Time-Series Database

Build a time-series database like Prometheus/InfluxDB: ingest streams of (timestamp, value, labels), Gorilla compression for 10x storage savings, time-partitioned blocks, downsampling pipelines, PromQL-style queries, histograms with t-digest percentiles, and HA via federation/Thanos. The metrics infrastructure of every modern observability stack.

advanced10 lessons4 chapters10 graded exercisesPython

No sign-up needed for lesson 1 · certificate on completion · sign up to save progress

What you’ll have built

Chapter by chapter. Every step is a graded exercise.

  • Time-Series Workloads
  • Storage & Compression
  • Querying
  • Production
Starts in Python — solve in the language you choose in the editor, same tests either way.

Curriculum

4 chapters, 10 lessons. Each lesson is a short read, one graded exercise, and a quiz.

  1. 1What Time-Series DBs SolveRead · exercise · quiz
  2. 2Labels & SeriesRead · exercise · quiz
  3. 3Push vs Pull IngestionRead · exercise · quiz
Loading reference solution…