How I Handled 20k Writes per Second on a $12 Lightsail Server

A write-heavy backend on one tiny box: group commit into append-only segment files, an in-memory hot tier, once-a-minute compaction into SQLite blocks, and crash recovery that survives kill -9.

November 23, 2026 11 min Dvip Patel