Skip to content

Distributed Systems(everything I've written on it, newest on top of the pile)

A tested Python tutorial: see what each PostgreSQL isolation level lets through, overspend a budget three ways, then stop it with SERIALIZABLE retries, a row lock or one UPDATE.

PostgreSQL24 min read

A tested, step-by-step Go tutorial: reproduce two requests spending the same balance, fix it with a Redis lock, then make the fix hold up when things go wrong.

Distributed Systems29 min read

◂ Every other topic