Skip to content

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

Topics Data & databases

Storage engines

B-trees, LSM trees, WAL, on-disk formats, database internals.

Search within Storage engines, or combine it with other topics →

October 2026

August 2026

RocksDB Blog

Native Async/Coroutine Reads in RocksDB

Deep dive 10 min +100 XP

RocksDB 11.10.0 adds experimental native asynchronous Get/MultiGet APIs (callback-based GetAsync/MultiGetAsync and Folly-task-based CoroDB::CoGet/CoMultiGet) that suspend a read at the SST block-miss filesystem boundary and resume it on the same io_uring-backed EventBase thread, so a small read executor can sustain high storage queue depth without one parked thread per read.

July 2026

From Homegrown to Flink: Migrating a Stateful Ad Event Join at Scale

Case study 12 min +120 XP

Zalando's Ad Platform team replaced a 7-year-old homegrown Java service that joins ad auction (bid) events with user interaction events within a 15-minute window with an Apache Flink pipeline using RocksDB state and incremental checkpoints.

June 2026

RocksDB Blog

Range Tombstone Conversion: Faster Scans Over Long Runs of Deletes

Deep dive 8 min +80 XP

RocksDB 11.3.0 adds range tombstone conversion: when a read iterator walks a run of contiguous point tombstones with no live key between them, it inserts one redundant range tombstone [first_tombstone_key, next_live_key) into the memtable at the iterator's snapshot sequence number.

May 2026

March 2026

October 2025

September 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.

August 2025

ClickHouse

How we made ClickHouse UPDATEs 1,000× faster (Part 3: Benchmarks)

Research 17 min +170 XP

ClickHouse's new standard SQL UPDATEs, implemented as lightweight patch parts, make changes visible up to ~1,000–1,700× faster than classic mutations on a 600M-row TPC-H lineitem table: one bulk update dropped from about 100 s to 60 ms. The benchmark compares classic mutations, on-the-fly mutations, lightweight updates and ReplacingMergeTree inserts for both bulk and single-row updates, measuring time to visibility and worst-case query slowdown before merges.

The quest for software engineering knowledge.

Look:
Layout: