Home›Learn›Short videos

Short videos

Can I see one idea in under a minute?

12 videos, each one step-through from a lesson.

How a query travels

The lesson → · Download, 1.2 MB

One missing index: 19,231 pages to find one row

The lesson → · Download, 1.2 MB

Random UUIDs: why MySQL inserts got 10 times slower

The lesson → · Download, 0.5 MB

Why hash mod N moves 75% of your data when you go from 3 servers to 4

The lesson → · Download, 0.3 MB

Consistent hashing: add a fourth node, move a quarter

The lesson → · Download, 0.4 MB

A network split: MongoDB refuses the write

The lesson → · Download, 0.7 MB

A network split: Cassandra keeps both writes, then loses one

The lesson → · Download, 0.5 MB

A failover: how Patroni and etcd pick one primary

The lesson → · Download, 0.7 MB

The dual write bug: the order saved, the event lost

The lesson → · Download, 0.3 MB

How an LSM tree writes

The lesson → · Download, 0.4 MB

Two shoppers, one item left

The lesson → · Download, 0.3 MB

One ALTER TABLE, and the site is down

The lesson → · Download, 0.3 MB

Use them

Go deeper

Each video is one step-through from a lesson, recorded as it plays on this site: 1080 by 1920, silent, under a minute. Post them, put them in a talk, or send one to a colleague with the lesson link.

They are made by scripts/build-reels.mjs, so a lesson that changes gets a new video the next time the script runs.

Part 1 of 4 · Learn · 23 pagesAll pages

How do databases actually work? From one row on disk to transactions: the words you need, PostgreSQL, MySQL and MongoDB from the files up, then Redis, Cassandra and vector search, side by side, and the query and concurrency traps.