Skip to content

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

Multi-tenancy Remove topic Multi-tenancy Clear all 6 posts RSS

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.

How we scaled fast, reliable configuration distribution to thousands of workload containers

Case study 13 min +130 XP

Datadog replaced on-demand per-tenant config loading (database reads plus Kafka cache-invalidation messages) with a context-publisher that snapshots all tenants' configuration into RocksDB blobs in cloud storage and streams individual updates over Kafka.

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.

2023

Husky: Exactly-once ingestion and multi-tenancy at scale

Case study 21 min +210 XP

Husky, Datadog's columnar event store, achieves exactly-once ingestion and cost-efficient multi-tenancy by routing events deterministically to Kafka partition groups (shards), so deduplication only has to happen within a shard.

2022

The quest for software engineering knowledge.

Look:
Layout: