InfrastructureNo. 01

One rename to deploy, 9 ms to roll back, 8 traps to dodge

My deploy kit for a static site on a small VPS: a folder per release, one atomic rename to go live, a 9 ms rollback, a read-only Caddy box, and 8 traps I found by testing it.

Did this article help you?

A heart tells me what to write more of.

Comments

Join the conversation

Sign in with Google to like articles and comment. It takes one tap.

Keep reading

Architecture

372 tests passed. No sale could reach the ledger.

How I keep a 322,000-line accounting system correct on my own: one save gate, append-only money, a hash-chained audit trail, real-database tests, and the audit that caught what they missed.