
The Fair Seat Purchase — Selling 100,000 Tickets Without Overselling a Single One
DynamoDB Football Data Modeling Challenge #2
100,000 seats. Hundreds of fans purchasing at once. Every seat must be sold exactly once.
Once fans clear the waiting room and enter the purchasing flow, the real challenge begins. Eligible fans are browsing a live seat map, selecting their preferred section and row, and racing to complete checkout — all while inventory drains in minutes. A single oversell is unacceptable: two fans cannot end up with the same seat. Temporary holds must expire if a fan abandons checkout, and released seats must instantly become available to the next buyer. The purchasing system must be correct under extreme concurrency while still feeling fast and responsive to every fan in the flow.
Your challenge: Design a DynamoDB-powered ticket purchasing system that displays real-time seat availability to eligible fans, allows them to select and temporarily hold a seat, processes payment, and confirms the purchase — guaranteeing that every seat is sold exactly once, even under thousands of concurrent purchase attempts. Your system must handle the full lifecycle: browsing → seat selection → temporary hold → payment → confirmation or release.
Your deliverables:
· A DynamoDB table design that models seat inventory (venue, section, row, seat, availability status, hold expiration, holder identifier) and purchase transactions (fan, seat, payment status, confirmation timestamp) with a key schema optimized for concurrent seat lookups and atomic status transitions
· A seat reservation strategy using DynamoDB conditional writes or transactions that guarantees a seat cannot be sold to two fans simultaneously — including how you handle the transition from "available" to "held" to "sold" as an atomic, race-condition-free workflow
· A temporary hold mechanism with automatic expiration: when a fan selects a seat, it is held for a fixed window (e.g., 8 minutes) during which no other fan can claim it — and if the fan doesn't complete purchase, the seat is released back to inventory
· An architecture diagram showing the purchasing flow: fan browses available seats → selects seat → seat held atomically → payment processed → seat confirmed or released on timeout
Stretch goals (not required, but we'd love to see them):
· A real-time availability view that shows browsing fans which sections still have seats and maintains per-section availability counts as seats are held, sold, and released
What you'll gain: Experience designing inventory control and distributed locking systems where correctness is non-negotiable. You'll learn how DynamoDB's conditional writes, transactions, and TTL work together to build a purchasing pipeline that's bulletproof under extreme concurrency — patterns that apply to any e-commerce, reservation, or resource-allocation system where double-selling is catastrophic.
How to submit: Push your solution to a public GitHub repository, complete the AWS Pulse survey , and post a comment on this page sharing something you learned. See the full Terms and Conditions for details. Submissions open at 12:00 a.m. PDT July 17 (07:00 July 3 GMT) and close at 12:00 p.m PDT July 31 (19:00 July 10 GMT).
Support: Problems? Questions? Please email dynamodb-developer-challenges@amazon.com for any issues. Builder Center support will be unable to provide assistance.
Not sure where to get started? Join the NoSQL Launchpad in Builder Center — that's where AWS NoSQL specialists knowledge share, review designs, and help teams pressure-test their DynamoDB configurations before the stakes are real.
The DynamoDB Data Modeling Challenge is open to participants in select countries who are 18+ with an AWS Builder Center profile. See the full Terms and Conditions on the challenge page for eligibility details and restrictions.
Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article