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.