Skip to content

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

Storage engines Remove topic Storage engines 129 posts RSS

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

February 2026

January 2026

December 2025

November 2025

October 2025

ClickHouse

Are open-table-formats + lakehouses the future of observability?

Deep dive 20 min +200 XP

Lakehouses built on open table formats like Apache Iceberg and Delta Lake are becoming viable for observability, combining Parquet's columnar compression, encodings, page and row-group statistics, and Bloom filters with table-level schema evolution, partitioning, snapshots, and catalogs.

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.

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.

July 2025

ClickHouse

How we built fast UPDATEs for the ClickHouse column store – Part 2: SQL-style UPDATEs

Deep dive 20 min +200 XP

ClickHouse implemented standard SQL UPDATE in its MergeTree column store by evolving from classic mutations (which rewrite whole affected columns and hard-link unchanged ones) through lightweight DELETEs via a _row_exists mask column and on-the-fly in-memory updates, to patch parts.

June 2025

May 2025

April 2025

March 2025

January 2025

November 2024

October 2024

August 2024

The quest for software engineering knowledge.

Look:
Layout: