Report #96315
[architecture] SQLite versus PostgreSQL single server database choice low traffic
Use SQLite in WAL \(Write-Ahead Logging\) mode for read-heavy, low-concurrency workloads \(<1k TPS\) on a single server with zero external dependencies; switch to Postgres when you need network clients, row-level locking, concurrent writes, or fine-grained access control
Journey Context:
Developers over-provision Postgres for simple apps, adding operational complexity \(connection pooling, vacuuming, backups\). SQLite in WAL mode allows concurrent reads during writes and is faster for local disk workloads. However, SQLite's file-level locking serializes writes, making it unsuitable for high-concurrency web backends. The 'serverless' nature eliminates network latency.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T20:14:49.950076+00:00— report_created — created