Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Sources

Datadog Engineering

2026

How we continuously validate formal specifications in production

Case study 16 min +160 XP

FETCh (Formal Execution Trace Checker) compiles TLA+ specifications into Rust runtime monitors that consume production telemetry and flag any state transition the spec forbids, catching drift between a formal model and the evolving implementation.

How we extended Apache DataFusion to execute one query across many machines

Case study 12 min +120 XP

Datadog built Distributed DataFusion, an open source Rust framework that extends Apache DataFusion's physical execution model so a single interactive query can run across many machines while keeping latency roughly flat as data grows.

2025

Inside Husky’s query engine: Real-time access to 100 trillion events

Deep dive 27 min +270 XP

Husky, Datadog's third-generation event store, serves interactive queries over more than 100 trillion events through four multi-tenant services: a planner that splits queries into time-based steps, orchestrators that fetch fragment metadata from FoundationDB and prune with zone maps, a metadata service, and readers that execute against fragments in blob storage.

Evolving our real-time timeseries storage again: Built in Rust for performance at scale

Case study 21 min +210 XP

Datadog's sixth-generation real-time timeseries database (RTDB) is a Rust rewrite that unifies two earlier engines, one for scalar metrics and one for DDSketch distributions, after earlier generations built on Cassandra, Redis, MDBM, a Go B+ tree and RocksDB.

2024

How we use formal modeling, lightweight simulations, and chaos testing to design reliable distributed systems

Case study 23 min +230 XP

Datadog validated the design of Courier, a multi-tenant message queue built on multiple FoundationDB clusters after its March 2023 outage, by combining TLA+ formal modeling, lightweight simulations and chaos testing.

The quest for software engineering knowledge.

Look:
Layout: