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 →

November 2026

October 2026

ClickHouse

Why ClickHouse Cloud wins at real-time analytics

Deep dive 21 min +210 XP

In the CostBench streaming benchmark (113.2 billion stock quotes ingested at about 1M rows/s while queries ran), ClickHouse Cloud scored 412× to 1,996× better end-to-end performance per dollar than Snowflake, Databricks, BigQuery and Redshift Serverless.

September 2026

August 2026

Turso

SQLite Doesn't Come With Encryption. Here's What Developers Actually Use.

Deep dive 11 min +110 XP

SQLite ships without encryption, and since SQLite 3.32.0 removed the undocumented SQLITE_HAS_CODEC hook in 2020, the options are SQLCipher (mature but painful across major versions, AES-256-CBC+HMAC only), the proprietary $2,000 SEE from the SQLite team, and SQLite3MultipleCiphers (community successor that can read SQLCipher formats).

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

April 2026

ClickHouse

Do you still need Elasticsearch for log analytics? ClickHouse says no.

Research 22 min +220 XP

ClickHouse's redesigned inverted-index full-text search feeds matches directly into its vectorized analytical engine, and on a reproducible OpenTelemetry log benchmark at 1B, 10B and 50B rows it ran a nine-query search-plus-aggregation suite 2-6x faster than Elasticsearch, with a much smaller storage footprint.

March 2026

The quest for software engineering knowledge.

Look:
Layout: