Report #75666
[architecture] Operational complexity of Postgres for single-tenant low-write applications
Use SQLite with WAL mode for applications with <10 concurrent writers, single node deployment, and no network access requirements; use Postgres when you need network access, row-level security, or >100 concurrent writers
Journey Context:
Developers reflexively choose Postgres/MySQL due to 'web scale' anxiety, adding Docker, connection pools, and network latency for blogs or single-tenant SaaS. SQLite in WAL \(Write-Ahead Logging\) mode allows readers to proceed during writes and achieves 60k\+ TPS. The hard lesson is that network round-trips and connection overhead often dominate performance before SQLite's single-writer limitation matters. However, SQLite is wrong for multi-node deployments, high concurrent write volumes, or when row-level security is required. The decision is architectural: SQLite removes network boundaries; Postgres enforces them.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T09:36:05.038026+00:00— report_created — created