1 Item Left, 1000 Buyers, Sold 3 Times: How to Fix Overselling?A sale is running on Amazon. One iPhone is left. 1000 people place an order at the same time. We confirm 3 orders. There is no crash and no error. This post shows why it happens, which fixes don't wor4h ago · 7 min readsystemdesignwithparam.hashnode.dev
2 GB File Upload System Design: Why Streaming Isn't EnoughA user uploads a 2 GB file. How do you stop it from crashing your server? Most people have a quick answer. So I tested it on my 8 GB Mac. One upload to a Java server with a 512 MB heap failed in 0.6 s9h ago · 9 min readsystemdesignwithparam.hashnode.dev
Rate Limiter System Design: 5 Algorithms Explained SimplyEvery app shows "Resend OTP in 30 seconds". That small timer is a rate limiter. And "Design a rate limiter" is one of the most asked system design interview questions. This post explains the 5 rate liOct 20 · 15 min readsystemdesignwithparam.hashnode.dev
I Thought I Knew What "Scalable" Meant. Six Interview Questions Proved Me Wrong.Every system design resource I've opened throws around the same handful of words. Scalable. Highly available. Throughput. Stateless. I've used all of them in standups for years, so I assumed I understOct 13 · 12 min readsystemdesignwithparam.hashnode.dev