Shivamhonrao·Jul 22System Design of a Production WhatsApp AI Agent: Cheap Tokens, Low Latency, Full RecallBuilding a chatbot demo is easy. Building an AI agent that lives on WhatsApp, holds real multi-turn conversations with paying customers…A response icon1A response icon1
Shivamhonrao·Jul 21System Design of Google Docs (and Google Sheets): How Thousands of People Type Into the Same Page…Here’s a problem that sounds simple until you actually think about it: two people open the same document and start typing at the same…
Shivamhonrao·Jul 21System Design of UPI: How India Moves Billions of Payments a DayEvery system we’ve designed in this series — a ticket booking platform, a video app, a food delivery service — has been a useful teaching…
Shivamhonrao·Jul 18Load Balancers: The Component That Makes Horizontal Scaling PossibleThroughout this series, we’ve casually said things like “add more servers” and “scale horizontally.” We’ve done it for databases, for…
Shivamhonrao·Jul 18Real-Time Pub/Sub: When You Can’t Afford to Wait for a PullWe’ve now covered two ways to move messages between services: message queues, where a consumer picks up a task and does it, and message…
Shivamhonrao·Jul 17Asynchronous Processing: Message Streams and Why Queues Aren’t Always EnoughIn the last post, we introduced message brokers and saw how they let us do slow work in the background without making users wait. Queues…
Shivamhonrao·Jul 17Asynchronous Processing in System Design: Message Queues and BrokersMost of what we’ve covered so far — databases, caching — is about storing data quickly. This post is about something different: when work…
Shivamhonrao·Jul 16Putting It All Together: Three System Design Problems, SolvedOver the last few posts, we’ve built up a toolkit piece by piece — relational databases and how to scale them, non-relational databases and…
Shivamhonrao·Jul 16Caching at Different Levels: The Layers, the Limits, and When Not to CacheIn the last post, we covered what a cache is and how to fill it. But we treated the cache as a single thing sitting between your…
Shivamhonrao·Jul 15Caching in System Design: Storing What You Need, Close to Where You Need ItSo far in this series, we’ve looked at relational and non-relational databases — where your data lives permanently. But reading from a…