MMannieTech·1d agoOne login read 2,987 documents it had no right to seeEvery endpoint in your API checks that the request comes from a logged-in user. That feels safe. Then an ordinary employee notices their document lives at /docs/1jk, changes the URL to /docs/1jl, and6 min read·mannietech.hashnode.dev
VVaishnavi Dwivedi·4d agoNotification SystemLearn how notification systems work, from queues and background workers to Kafka, Redis, fan-out strategies, retries, and large-scale notification delivery.48 min read·vaishd.hashnode.dev
PParminder singh·Nov 13How to notify 50 million users about a flash sale: pull, push and FCM topicsThe sale starts at 12:00. Marketing wants all 50 million users to know, and most of them have the app closed. Your server can't call a phone, and 50 million is a lot of phones to reach in one minute.7 min read·systemdesignwithparam.hashnode.dev
PParminder singh·Nov 10Payment failed but money deducted: how idempotency keys stop double chargesThe app says "Payment failed". A second later your phone gets an SMS: ₹2,000 debited. You tap Pay again. Now ₹4,000 is gone, and you still have no order. https://www.youtube.com/watch?v=A6hrGCQidgM7 min read·systemdesignwithparam.hashnode.dev3PP
PParminder singh·Nov 4How Instagram checks 1 billion usernames and tells you in milliseconds if yours is freeYou type rahul_07 on a signup page. Before you finish, it says "This username isn't available." Now imagine 1 billion users and a check on every keystroke. Sending every check to the database creates9 min read·systemdesignwithparam.hashnode.dev
PParminder singh·Nov 1Flash sale system design: why the atomic update dies at 10 lakh buyersThe atomic update never oversells, but 10 lakh buyers queue on one row. Why it breaks, and the Redis gate and queue that fix it.9 min read·systemdesignwithparam.hashnode.dev
PParminder singh·Oct 312 GB File Upload System Design: Why Streaming Isn't EnoughI crashed a server with one upload, then measured what actually fixes it9 min read·systemdesignwithparam.hashnode.dev
PParminder singh·Oct 311 Item Left, 1000 Buyers, Sold 3 Times: How to Fix Overselling?From the race condition to the atomic update7 min read·systemdesignwithparam.hashnode.dev
DDevang Pandya·Oct 30Sticky Sessions Explained: The Story of Two Waiters (Load Balancer Session Affinity)By Devang Pandya · Cloud Tech by Devang · Cloud • DevOps • AI — Made Simple This post is the full breakdown for the Two Waiters Reel. If you came here after commenting STICKY, welcome! The story in8 min read·cloudtechbydevang.com
AAnonymous·Oct 23Your System Design Looks Fine on a Whiteboard. Until Traffic Hits.Explore how traffic spikes, cache failures and database bottlenecks affect system design, with practical examples and hands-on experiments.4 min read·stackmonkey.hashnode.dev