All Articles

The Blog

Deep dives on distributed systems, system design patterns, AI engineering, and the road to Staff Engineer.

7 articles

✦ Featured

System DesignNext.jsServerless✦ Featured

How I Built a Serverless Real-Time Notification Engine with Next.js, Redis, and QStash

Building real-time, event-driven architectures usually requires expensive persistent servers. Here is how I built a production-grade, fan-out notification engine — entirely serverless — using Next.js 16, Upstash Redis, and QStash.

May 16, 20266 min read
AI EngineeringNext.jsSystem Design✦ Featured

How I Built a Production RAG Pipeline with Next.js and Pinecone

RAG (Retrieval-Augmented Generation) is the most important AI architecture pattern of 2025. Here's how I built a production-grade document assistant — end to end — using Next.js 16, Google Gemini, and Pinecone.

May 02, 20268 min read

All Posts

System DesignDistributed SystemsArchitecture

Consistent Hashing — Why Distributed Systems Can't Live Without It

Consistent hashing is one of those concepts that sounds academic until you understand what problem it solves. Once you get it, you'll see it everywhere — DynamoDB, Cassandra, CDNs, and more.

Apr 18, 20267 min read
System DesignAWSDistributed Systems

Message Queues Explained — SQS vs Kafka vs SNS

Message queues are one of the most powerful tools in a distributed systems engineer's toolkit. But choosing the wrong one can hurt you. Here's when to use SQS, Kafka, and SNS — and why.

Apr 04, 20267 min read
System DesignScalabilityArchitecture

Scaling a Social Feed to 10 Million Users

Most engineers can build a social feed. Far fewer can build one that handles 10 million users without falling over. Here's exactly how I'd design it — and the trade-offs I'd make at every layer.

Mar 21, 20267 min read
System DesignMicroservicesDistributed Systems

SAGA Pattern — How I'd Design Uber's Booking Flow

Distributed transactions are one of the hardest problems in microservices. Here's how the SAGA pattern solves it — and how I'd apply it to design Uber's ride booking system from scratch.

Mar 07, 20265 min read
System DesignDistributed SystemsArchitecture

CAP Theorem Explained with Real-World Examples

Most engineers know the acronym. Few can confidently apply it when designing real systems. Here's how to actually think about CAP theorem when making architectural decisions.

Feb 20, 20262 min read