Writing
Blog
I write about backend architecture, Node.js, and building scalable systems. Technical deep-dives with real code.
Feature Toggles: A Backend Engineer's Complete Guide
How to design, implement, and retire feature toggles in a NestJS/Node.js backend — covering toggle types, PostgreSQL + Redis storage, NestJS decorators, gradual rollouts, and avoiding the toggle graveyard.
PostgreSQL Query Optimization for High-Traffic Applications
Practical PostgreSQL optimization techniques from a production e-commerce platform handling 1,000+ orders/day — indexes, EXPLAIN ANALYZE, connection pooling, and the queries that actually hurt.
NestJS Guards & RBAC: JWT Authentication from Scratch
Build a complete role-based access control system in NestJS — JWT auth, custom guards, role decorators, and permission checks without a third-party library.
BullMQ Patterns: Idempotency, Retry Logic & Dead-Letter Queues
Production patterns for BullMQ in NestJS — idempotent job processing, exponential backoff retry, dead-letter queues, and handling the edge cases that burn you in production.
Feature Toggles: A Backend Engineer's Complete Guide
How to design, implement, and retire feature toggles in a NestJS/Node.js backend — covering toggle types, PostgreSQL + Redis storage, NestJS decorators, gradual rollouts, and avoiding the toggle graveyard.
Multi-Tenant SaaS: 4 Database Isolation Strategies Compared
A deep dive into schema-per-tenant, database-per-tenant, row-level security, and shared schema approaches with real PostgreSQL examples.
Stay in the loop
Get my technical deep-dives in your inbox. No spam, unsubscribe anytime.