Writing
Writing
Technical articles on PostgreSQL, distributed systems, multi-tenant architecture, and backend engineering patterns I've encountered in production.
Schema-per-Tenant vs RLS: When to Use Which
A practical comparison of PostgreSQL multi-tenant isolation strategies — row-level security vs separate schemas, from someone who built both.
postgresqlmulti-tenancyarchitecturenest-tenant
8 min readSKIP LOCKED Is Not Enough
Closing the race window in PostgreSQL task queues — why SELECT then UPDATE fails under concurrency, and how atomic CTEs fix it.
postgresqldistributed-systemskotlinkonduit
7 min readWhy SET LOCAL, not SET
Connection pool safety in multi-tenant PostgreSQL — and why session-scoped SET poisons shared pools.
postgresqlmulti-tenancynode.jsnest-tenant
6 min read