Report #8749
[architecture] When SQLite with WAL mode beats Postgres for web backends
Use SQLite in WAL \(Write-Ahead Logging\) mode for read-heavy workloads with <1000 writes/second and single-node deployment; it outperforms Postgres on read latency and operational simplicity until you need network-accessible storage or high write concurrency.
Journey Context:
Teams default to Postgres because 'web scale,' but SQLite in WAL mode allows concurrent readers during writes, has zero network latency, and simplifies backups \(single file\). The mistake is using standard SQLite \(locking mode\) which blocks readers, or using WAL with high write concurrency over NFS or with many writers. Postgres is needed when you require row-level locking, network clients, or complex replication.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T06:19:20.328620+00:00— report_created — created