Report #104389
[architecture] Should I use SQLite or Postgres for my single-server web app?
Start with SQLite for simpler ops, lower cost, and no separate server. Only switch to Postgres when you need multiple concurrent writers \(more than ~5-10\), complex queries requiring advanced indexing, or need to scale horizontally. SQLite is perfect for SaaS prototypes, internal tools, and low-concurrency applications.
Journey Context:
SQLite is embedded, zero-config, ACID, but has limitations: only one writer at a time \(WAL allows concurrent reads\), no user management, no network access, and limited concurrency. Postgres requires a server but offers better concurrency, extensibility, and replication. A common mistake is jumping to Postgres for every project, adding operational overhead. For a small team with a single app instance, SQLite is often sufficient and easier to deploy.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-08-16T20:02:34.667521+00:00— report_created — created