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 →

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.

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.

2024

2023

Zed

This Week at Zed Industries: #12

Article 7 min +70 XP

Zed publicly launched its preview channel and reports progress across the editor: Vim search commands, macOS ctrl-click remapped to right click in the platform layer, terminal Cmd+hover navigation, a semantic index that collapses nested tree-sitter symbols to cut embedding tokens, and a lock-contention bug where slow git status in huge repos serializes file scanning.

2022

2021

The quest for software engineering knowledge.

Look:
Layout: