Report #65257
[architecture] When does SQLite outperform Postgres for production web apps?
Choose SQLite when your app runs on a single node, has <1K concurrent writes/sec, and benefits from zero network latency, easy backups \(just copy file\), and no ops overhead.
Journey Context:
Teams default to Postgres 'because production' but inherit network latency, connection pooling complexity \(PgBouncer\), and backup automation. SQLite's WAL mode enables concurrent reads during writes, and its 'serverless' nature eliminates the N\+1 network roundtrip problem. The constraint is single-node \(no horizontal scaling\), but for side projects, internal tools, or low-write CMSs, this is liberating. SQLite is not a toy—it powers Airbus avionics and is faster than the filesystem for reads.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T16:01:07.169954+00:00— report_created — created