Skip to content

Archive · Engineering

Everything I have written about Engineering.

9 articles published in this category. Use the search to narrow by tag, or go back to the full archive.

9 articles

The whole archive

Engineering
5 min

Schema migration without downtime

Why renaming a column breaks production, and the four step pattern that turns a migration into a Tuesday afternoon task.

migrationexpand-contract
Read article
Engineering
5 min

CAP, PACELC and the consistency models

CAP is the most quoted and most badly stated theorem in distributed computing. This article fixes the statement and shows the vocabulary you actually use day to day.

distributed-systemsarchitecture
Read article
Engineering
6 min

Sharding: a decision guide

Sharding is the most irreversible decision in a data system. This is the guide to deciding whether you need it and, if you do, how to pick the key.

shardingdatabases
Read article
Engineering
6 min

Indexes, EXPLAIN and the slow query

How an index works on the inside, why column order decides everything, and how to read an execution plan to know what to do.

postgresdatabases
Read article

Talk to me

Questions about the article? Message me on WhatsApp

No form and no mailing list. If you disagree with something I wrote, or want to tell me how you solved it, the conversation goes straight to me.

Open the chat