Report #55118
[architecture] Choosing between SQLite and Postgres for single-node applications
Use SQLite with WAL \(Write-Ahead Logging\) mode enabled for read-heavy, single-node applications under 1TB where concurrent write transactions are rare \(<<1k TPS\); switch to Postgres when you need network access, row-level locking concurrency, or complex replication.
Journey Context:
Teams default to Postgres for 'serious' data, adding operational overhead \(connection pooling, backups, network latency\) when a single-node file would suffice. SQLite in WAL mode allows concurrent readers with a single writer, achieving 100k\+ reads/sec. The mistake is using DELETE journal mode or enabling WAL without understanding that WAL files must be checkpointed and that network filesystems \(NFS\) break WAL.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T23:00:27.821846+00:00— report_created — created