Skip to content
It Works Locally

It Works Locally

Systems internals, explained through big ideas.

A blog about whatever comes to mind: distributed systems and the software I build, the books I’m reading, and the questions that won’t leave me alone, from relativity to purpose.

No Effect Before Its Cause: From Einstein to Lamport

Einstein's moving train, Leslie Lamport's clocks and a 2,500-year-old idea explain the core problem of leaderless replication: ordering writes when no clock can be trusted.

· 14 min read

Recent writing

All 3 articles
  1. Engineering

    Causality in collaborative editors, part 2

    Yjs Internals: Origins, YATA and State Vectors

    How Yjs orders concurrent edits without trusting a single clock: item origins, the YATA tie-break, state vectors, the sync handshake and the rules you have to respect in production.

    12 min read

  2. Books

    Timshel: The One Word That Explains Your Entire Life

    On John Steinbeck's East of Eden and the meaning of 'Timshel': the idea that what makes us human is the power to choose.

    6 min read

Newsletter

Read the next one first.

New posts in your inbox, about every two weeks. No spam, unsubscribe in one click.