---
title: "Parminder singh (@param007) | Hashnode"
description: "Software developer · Writing system design with real numbers and tests. Read the latest articles by Parminder singh on Hashnode."
url: "https://hashnode.com/@param007"
---

@param007

# Parminder singh

@param007 · Joined June 2023

Software developer · Writing system design with real numbers and tests

### [How to notify 50 million users about a flash sale: pull, push and FCM topics](https://systemdesignwithparam.hashnode.dev/flash-sale-push-notifications-fcm-topics?utm_source=hashnode&utm_medium=feed)

The 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](https://systemdesignwithparam.hashnode.dev/flash-sale-push-notifications-fcm-topics?utm_source=hashnode&utm_medium=feed)

[Nov 13](https://hashnode.com/posts/flash-sale-push-notifications-fcm-topics/6af6762a23037bb26d250a7e)

### [Payment failed but money deducted: how idempotency keys stop double charges](https://systemdesignwithparam.hashnode.dev/payment-failed-money-deducted-idempotency?utm_source=hashnode&utm_medium=feed)

The 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=A6hrGCQidgM

7 min read · [systemdesignwithparam.hashnode.dev](https://systemdesignwithparam.hashnode.dev/payment-failed-money-deducted-idempotency?utm_source=hashnode&utm_medium=feed)

[3](https://hashnode.com/posts/payment-failed-money-deducted-idempotency/6af2d4383c36fe3908d4fd5a) [Nov 10](https://hashnode.com/posts/payment-failed-money-deducted-idempotency/6af2d4383c36fe3908d4fd5a)

### [How Instagram checks 1 billion usernames and tells you in milliseconds if yours is free](https://systemdesignwithparam.hashnode.dev/bloom-filter-username-check?utm_source=hashnode&utm_medium=feed)

You 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 creates

9 min read · [systemdesignwithparam.hashnode.dev](https://systemdesignwithparam.hashnode.dev/bloom-filter-username-check?utm_source=hashnode&utm_medium=feed)

[Nov 4](https://hashnode.com/posts/bloom-filter-username-check/6aeaf0ffd499967824bc7def)

### [Flash sale system design: why the atomic update dies at 10 lakh buyers](https://systemdesignwithparam.hashnode.dev/flash-sale-system-design-redis-queue?utm_source=hashnode&utm_medium=feed)

The 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](https://systemdesignwithparam.hashnode.dev/flash-sale-system-design-redis-queue?utm_source=hashnode&utm_medium=feed)

[Nov 1](https://hashnode.com/posts/flash-sale-system-design-redis-queue/6ae797891a33172e761e951d)

### [1 Item Left, 1000 Buyers, Sold 3 Times: How to Fix Overselling?](https://systemdesignwithparam.hashnode.dev/fix-overselling-race-condition?utm_source=hashnode&utm_medium=feed)

From the race condition to the atomic update

7 min read · [systemdesignwithparam.hashnode.dev](https://systemdesignwithparam.hashnode.dev/fix-overselling-race-condition?utm_source=hashnode&utm_medium=feed)

[Oct 31](https://hashnode.com/posts/fix-overselling-race-condition/6ae64112c3aa5bca9b6edefc)
