Skip to content

System design

All articles
Event-Driven Queue Architecture in NestJS: A System Design Perspective

Event-Driven Queue Architecture in NestJS: A System Design Perspective

July 12, 2026 System design

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 article
Field-Level Encryption With Searchable Blind Indexes: A Practical SOC2 Control Worth Understanding

Field-Level Encryption With Searchable Blind Indexes: A Practical SOC2 Control Worth Understanding

June 16, 2026 System design

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 article
Human Adoption Is a Design Requirement, Not a Post-Deployment Fix

Human Adoption Is a Design Requirement, Not a Post-Deployment Fix

June 5, 2026 System design

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 article
Killed One Service and Nothing Should Break

Killed One Service and Nothing Should Break

May 7, 2026 System design

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 article
Multi-Cloud Redundancy: The Gap in Our Resilience Thinking

Multi-Cloud Redundancy: The Gap in Our Resilience Thinking

March 19, 2026 System design

Multi-region is not enough. Recent outages exposed the gap between region and provider redundancy.

Read article
PostgreSQL's GiST Exclusion Constraint: The Database-Level Answer to Double Bookings

PostgreSQL's GiST Exclusion Constraint: The Database-Level Answer to Double Bookings

March 1, 2026 System design

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
Race Conditions in Hotel Booking Systems: Why Your Technology Choice Matters More Than You Think

Race Conditions in Hotel Booking Systems: Why Your Technology Choice Matters More Than You Think

February 1, 2026 System design

Race conditions in hotel bookings: PHP needs only DB protection, Node.js/FastAPI need both DB and app-level locks. Use atomic updates by default, pessimistic locking for complex logic.

Read article
Lambda Functions and API Gateway: Are You Ready for Your Next Infrastructure Change?

Lambda Functions and API Gateway: Are You Ready for Your Next Infrastructure Change?

January 13, 2026 System design

Can your Lambda functions survive a datacenter migration? Are you prepared for a technology change? Here is how the infrastructure needs to be built.

Read article
The Hidden Performance Killer: How One WHERE Clause Fixed Our 5-Second Notification Query

The Hidden Performance Killer: How One WHERE Clause Fixed Our 5-Second Notification Query

December 3, 2025 System design

Our 5M row notification table caused 4-second queries. Adding WHERE id > cutoff_id improved locality of reference in the clustered index, dropping query time to 250ms. One WHERE clause, 16x faster.

Read article

Need help with system design or architecture?

I work with engineering teams on technical audits, architecture reviews, and scaling strategy. Let's discuss your challenges.

Let's talk