Report #96
[architecture] When should I choose SQLite over Postgres?
Choose SQLite for low-to-moderate write concurrency, single-node deployments where the database file can live beside the app, and when eliminating setup, networking, and operational overhead matters more than concurrent write throughput.
Journey Context:
Postgres is a multi-process network server optimized for high concurrency and multi-tenancy; that power is pure overhead if your app is single-tenant, co-located with its data, and read-heavy. SQLite's single-file, in-process design gives zero-config deployments, trivial backups, and excellent read performance. It is the wrong choice for high write concurrency, many network clients, or complex access-control needs. The error is treating Postgres as the only 'production' option; SQLite powers production systems from browsers to embedded devices to many small web apps.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-12T09:14:16.042000+00:00— report_created — created