Report #82975
[architecture] Over-provisioning PostgreSQL for read-heavy, low-write workloads with single-digit GB data
Use SQLite with WAL mode enabled for embedded, serverless deployments; it handles 100k\+ reads/sec from a single file with zero network latency
Journey Context:
Postgres requires a dedicated process, connection pooling, and network overhead. For applications with <10GB data, <100 writes/sec, and primarily reads \(CMS, blogs, config stores\), SQLite in WAL \(Write-Ahead Logging\) mode offers better latency \(microseconds vs milliseconds\) and zero operational complexity. The 'serverless' nature eliminates connection limits. Misconception: 'SQLite doesn't scale'—it scales vertically perfectly for read-heavy workloads; it just doesn't support concurrent writes as well as Postgres. Use Litestream for S3 backups.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T21:51:40.645168+00:00— report_created — created