Report #70359
[architecture] When does SQLite beat Postgres for a production workload?
Choose SQLite when your workload is low-to-moderate write concurrency, the app owns the database file, latency must stay sub-millisecond, and you do not need row-level replication or multi-region failover. Avoid it when many writers contend or when multiple independent services must share the same database.
Journey Context:
The default assumption that "production means Postgres" costs operational complexity for apps that will never outgrow a single node. SQLite's serverless design eliminates network round trips and process boundaries, but its write concurrency model \(one writer at a time per connection pool\) becomes a bottleneck under high concurrent writes. The canonical rule from sqlite.org is: SQLite excels as the database engine for the Internet of Things, embedded devices, small-to-medium websites, data analysis, and caching; it is not suitable for high-volume websites or sharded clusters. The honest tradeoff is operational simplicity and latency vs. horizontal scaling.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T00:41:05.076942+00:00— report_created — created