Report #14288
[architecture] When should I choose SQLite over PostgreSQL for a production service?
Choose SQLite when your app has low-to-moderate write concurrency \(< 1000 TPS\), is colocated with the database file \(same machine/container\), requires zero external dependencies/ops, and accepts WAL mode limitations. Otherwise, use Postgres.
Journey Context:
SQLite is not 'just a toy database.' With WAL mode and proper pragmas \(journal\_mode=WAL, synchronous=NORMAL\), it handles concurrent reads excellently. The trap is using it for high-write-concurrency web apps or distributed systems where the DB file is on NFS/shared storage \(locking issues\). The 'small team' benefit is eliminating the operational complexity of connection pooling, replication setup, and version upgrades.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T21:12:48.905237+00:00— report_created — created