System design
All articles
End-to-End Encryption vs Encryption at Rest
Encryption at rest and end-to-end encryption are not the same promise. A practical design for real E2E data storage, and the tradeoffs most teams skip.
Read article
Break the Glass, Not the Trust: A Developer's Case for Structured Data Access
How the "break-glass" exception process resolves the oldest tension in software delivery — the need for real data versus the need to protect it — and why it deserves a place in every DPDPA compliance...
Read articleDead Letter Queue (DQL) Debug, Reprocess, Never Lose a Job
Retries run out eventually. A Dead Letter Queue catches what's left — but it's not a magic bullet. Redrive policies, poison jobs, FIFO caveats, and why observability matters.
Read articleEvent-Driven Queue Architecture in NestJS: A System Design Perspective
Scalable NestJS backends live or die on how queue infrastructure is separated from domain logic. Here's the system design reasoning behind an event-driven BullMQ architecture that actually holds up.
Read articleField-Level Encryption With Searchable Blind Indexes: A Practical SOC2 Control Worth Understanding
Most security controls protect the perimeter. Field-level encryption protects the data itself. Using CipherSweet's blind index approach, you can encrypt sensitive columns at the application layer and...
Read articleHuman Adoption Is a Design Requirement, Not a Post-Deployment Fix
Most digital transformations don't fail at the architecture layer. They fail because the system never matched how people actually work. I've seen floor supervisors maintain secret Excel processes for...
Read articleKilled One Service and Nothing Should Break
Speed is only an asset if your engineering culture can keep up. Learn why AI isn't DRY by default and how to manage the "junior developer" context gap before your technical debt spirals.
Read articleMulti-Cloud Redundancy: The Gap in Our Resilience Thinking
Multi-region is not enough. Recent outages exposed the gap between region and provider redundancy.
Read articlePostgreSQL's GiST Exclusion Constraint: The Database-Level Answer to Double Bookings
PostgreSQL's GiST exclusion constraint prevents overlapping hotel bookings at the database layer — making double bookings structurally impossible. One declarative rule that catches what application-le...
Read article