~/talk

Building a Real Time Metrics Database

Talkat Dash 2019 · 2019-07-16..07-17· [databases, data-engineering]
links:none on file
slides:none on file

Datadog processes trillions of metrics per day and is architecting for a quadrillion, combining Cassandra, Kafka, PostgreSQL with in‑house in‑memory stores to serve real‑time distribution metrics. Intake fans out into Kafka partitions (customer → metric → dynamic sharding), reads into RAM/Redis caches, local SSD nodes for days of data and S3 for long term, and uses heartbeat probes to avoid false alerts. Percentiles use a 4,000‑bucket relative‑error sketch (open‑sourced) instead of full sorting.

AI-written summary · about

  1. 0:00Introduction to metrics infrastructure
  2. 1:27Trillions of metrics per day
  3. 3:11Performance mantras for scaling
  4. 6:25Architecture overview and caching
  5. 8:29Data storage choices and trade-offs
  6. 16:42Hybrid storage strategy
  7. 17:51Synchronization and heartbeat pattern
  8. 19:36Approximation for deeper insights
  9. 29:51Engineering triangle and sketches
  10. 31:58Commutativity and flexible architecture
  11. 34:03Summary and key takeaways
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.