<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Saksham Pandit on Medium]]></title>
        <description><![CDATA[Stories by Saksham Pandit on Medium]]></description>
        <link>https://medium.com/@panditsaksham2199?source=rss-171d06265f89------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*H4vzQP0swfJAuzIf</url>
            <title>Stories by Saksham Pandit on Medium</title>
            <link>https://medium.com/@panditsaksham2199?source=rss-171d06265f89------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 02:43:07 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@panditsaksham2199/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[ 10 Crore Users. 80,000 Seats. ₹20,000 Per Ticket.]]></title>
            <link>https://medium.com/@panditsaksham2199/10-crore-users-80-000-seats-20-000-per-ticket-3d897bda9ba3?source=rss-171d06265f89------2</link>
            <guid isPermaLink="false">https://medium.com/p/3d897bda9ba3</guid>
            <category><![CDATA[system-design-concepts]]></category>
            <category><![CDATA[flipkart]]></category>
            <category><![CDATA[amazon]]></category>
            <category><![CDATA[blinkit]]></category>
            <category><![CDATA[system-design-interview]]></category>
            <dc:creator><![CDATA[Saksham Pandit]]></dc:creator>
            <pubDate>Thu, 29 Oct 2026 21:16:49 GMT</pubDate>
            <atom:updated>2026-10-29T21:29:05.977Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dxQju_SRC--SbHyqYNM88Q.png" /></figure><p>🏏 10 Crore Users. 80,000 Seats. ₹20,000 Per Ticket.</p><p>Imagine the Cricket World Cup Final in Johannesburg. Virat Kohli and Rohit Sharma might be playing their last World Cup together. 🇮🇳</p><p>Everyone wants a ticket.</p><p>- 👥 10 crore users<br>- 🎟️ 80,000 seats<br>- 💰 ₹20,000 per ticket<br>- ⚡ ₹160 crore potential ticket sales</p><p>How would I design a ticket platform to handle this massive sale without crashing, overselling tickets, or losing confirmed bookings?</p><p>🏗️ My System Design Approach</p><p>1. Traffic Management</p><p>- CDN: Serves static content at the edge.<br>- Rate Limiter: Controls traffic and blocks abusive requests.<br>- Load Balancer: Distributes requests with standby failover.</p><p>2. Fair Admission</p><p>- Virtual Waiting Room: Assigns unique queue tokens and controls how many users enter at a time.</p><p>3. Inventory Consistency</p><p>- Redis + Lua: Atomically checks availability and reserves tickets.<br>- Idempotency: Prevents duplicate reservations from repeated requests.</p><p>4. Reliable Checkout</p><p>- FIFO Queue: Controls checkout flow.<br>- Payment TTL: Sets a fixed reservation window; expired reservations are released after payment status is reconciled.<br>- Refund Workflow: Handles payments that cannot result in a valid booking.</p><p>5. Scalable Persistence</p><p>- Paid Orders Queue + Batch Writers: Process confirmed orders efficiently.<br>- Sharded Database: Distributes writes across database partitions.<br>- Read Replicas: Handle read-heavy queries.</p><p>6. Fault Tolerance</p><p>- Kafka + Transactional Outbox: Ensures notification events can be published after recovery.<br>- Circuit Breakers + Retries: Prevent cascading failures and support recovery.</p><p>💡 The Real Challenge</p><p>The goal isn&#39;t to process 10 crore bookings. It&#39;s to manage 10 crore competing requests for just 80,000 seats while preserving fairness, inventory accuracy, and payment consistency.</p><p>That’s where distributed systems engineering meets real-world scale.</p><p>💬 Your take: Would you choose a FIFO queue, a randomized lottery, or a hybrid approach for this sale?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3d897bda9ba3" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>