Skip to the content
Software Made Clear Diagrams that show the mechanism About

For engineers who want the mechanism, not the metaphor

Software, made clear.

One diagram per mechanism — databases, architecture, the CS foundations underneath both, and what it takes to run a change past a pipeline of agents.

FREE · NO ACCOUNT · NO PAYWALL · NO COOKIE BANNER

API handlervalidates, opens a transactionpage cachethe only fast layerB-tree indexthree hops to any keyheap file and write-ahead logwhere durability is decidedwriteread

THE ARGUMENT, IN SIX STEPS

STEP 1 / 6
A write arrives. It has been validated and a transaction is open — nothing is durable yet.
98PUBLISHED PAGES6LEARNING PATHS5LIVE VISUALISERS0PAYWALLS

What do you want to do?

Help me choose →

Start with the problem you recognise. You don’t need to know the technical term.

Start where the writing is

See all 6 paths →

PERSISTENCE · 7 / 7 WRITTEN

How a database keeps your data

How a database actually keeps your data, in the order that makes each step explain the next. Seven steps from a row on a page to a deadlock in production.

Pages, heaps and tuplesWritten
The write-ahead logWritten
B-Tree vs LSM-TreeWritten
OLTP vs OLAPWritten
Why your index is not being usedWritten
Isolation levelsWritten
Deadlocks, seenWritten
Open the full map →

EXPLORE THE OTHER PATHS

50302040706080

NOT A SCREENSHOT — TRY IT

Insertion order decides the shape.

A drawing can only show one tree. Feed this one values and the shape follows the order you chose — with the height and the best possible height side by side as they come apart.

This tree is close to its best possible shape: a lookup costs at most 3 comparisons for 7 values.

All 5 visualisers →
NODES7
HEIGHT3
BEST POSSIBLE3

HOW THIS IS WRITTEN

Every claim here is traced to a primary source, and the page tells you which one.

Written by Sören Striewski · How this is written →

The picture carries the point

Every mechanism gets a diagram built to show that mechanism, and the prose only covers what the picture cannot. If a topic has no mechanism, it gets a table and a straight answer instead.

Traceable, not paraphrased

Nothing is written from other people's explainers. Each page names the documentation, specification or source it was checked against, and the date it was checked — so you can disagree with it at the source rather than take it on trust.

Free, and quiet

No paywall, no login, no cookie banner, no ads between you and the diagram. The newsletter is the only thing asked of you, and it is optional.

MAINTENANCE

How current is what you are reading?

Every article carries a last verified date, which means someone re-read it against the current behaviour — not that a typo was fixed. Anything older than six months is queued for review, and new pieces go out on the feed.

Follow new articles as they publish