Timeseries Storage at Ludicrous Speed
summary
Datadog’s real-time store ingests billions of points per second and serves thousands of queries/sec with sub‑second latencies using a custom Rust engine called Monle built on Tokio, Kafka, Zookeeper and object storage. Monle uses thread‑per‑core single‑threaded workers, direct I/O, memtables → on‑disk chunked files with per‑series proprietary compression, bloom filters and simple level compaction; a read‑through slab cache holds suffixes and deduplicates concurrent disk reads. It works at scale but faces hotspot, scheduling and routing pains; planned changes add columnar/index merge and adaptive repartitioning.
AI-written summary · about
