Writing.
Notes on software development, frontend architecture, and things I learn along the way.

July 10, 2026
4 min read
49
Backend
PostgreSQL
Database
Scaling
NestJS
Prisma
PgBouncer
How Many Connections Can PostgreSQL Actually Handle?
Why raising max_connections isn't the fix, and how PgBouncer, read replicas, and smart pooling actually let a NestJS + Prisma + PostgreSQL stack scale past the default connection ceiling.

July 4, 2026
5 min read
42
Backend
Multi-Tenant SaaS Architecture with NestJS + PostgreSQL: Sharing a Building Without Sharing a Toothbrush
A practical, slightly irreverent tour of building multi-tenant SaaS with NestJS and PostgreSQL: tenant resolution, schema strategies, row-level security, and connection pooling.