Report #92681
[architecture] When should a small application use SQLite instead of client-server databases?
Use SQLite for read-heavy workloads \(<1k writes/second\), single-node deployments, and when operational simplicity \(zero config, no separate process\) outweighs concurrency needs; migrate to Postgres when you need network access, row-level locking, or complex access control.
Journey Context:
Postgres requires connection pooling, WAL tuning, and vacuum maintenance; SQLite runs in-process with no network latency, outperforming client-server DBs for single-threaded access. However, SQLite locks the entire database on writes, making it unsuitable for high-concurrency write scenarios or multi-node deployments.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T14:09:19.187055+00:00— report_created — created