Skip to content

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

Topics Distributed systems

Consistency models

Linearizability, isolation levels, transactions, CRDTs.

Search within Consistency models, or combine it with other topics →

November 2026

Tracing Cache Inconsistencies to Their Root Cause

Case study 7 min +70 XP

Nextdoor extended its versioned Valkey ORM cache so every conditional write also atomically stores a short-lived verification key (receipt) recording the operation (fill_on_write or fill_on_miss), writer service, trace ID and replaced version, colocated via a hash tag in the same cluster slot.

Eventually Consistent: How Do We Know the Systems Eventually Agree?

Deep dive 9 min +90 XP

Eventually consistent event-driven order systems need a reconciliation job that starts from the authoritative order store, not from received messages, so orders whose events were lost (like a fraud-hold release that never reached SAP) still surface.

October 2026

September 2026

August 2026

July 2026

March 2026

February 2026

November 2025

October 2025

July 2025

March 2025

Scaling Nextdoor’s Datastores: Part 2

Case study 4 min +40 XP

Letting product engineers manually choose replica vs. primary routing in Django broke down as abstractions hid read-after-write dependencies, and the common workaround of wrapping logic in transactions sent everything to the primary, slowly eroding the capacity gained from read replicas.

February 2025

The quest for software engineering knowledge.

Look:
Layout: