events/sec × average event sizePreparing chapter
Loading your data design lesson
The curriculum shell is ready while the requested chapter is being prepared. You can wait here or return to the design library.
Preparing chapter
The curriculum shell is ready while the requested chapter is being prepared. You can wait here or return to the design library.
BookMyShow · Data Engineering · Invariants before tools
Pin down seat ownership, workload assumptions, capacity signals, latency, delivery, and money before choosing technology.
Requirement journey
Select one stage to inspect its correctness boundary and recoverable BookMyShow fact.
Discover
Choose another stage above to replace this detail
Search without blocking
Customers filter by city, date, language, venue, format, and price. Search returns first; impression and click events are sent afterward so telemetry never delays results.
Facts created by Discover
search_submitted · result_impressed · result_clicked · seat_map_opened
Big-data responsibility
Search API → client.events → raw / Silver
Assumptions + capacity lab
One set of controls drives telemetry storage, Kafka retention, hot-sale pressure, and curated capacity without duplicate assumptions.
Input assumptions
Behavior → daily storage
Hover or focus any block for its formula · 1 KB/event · 6 critical events/booking is an adjustable planning average
Booking demand → inventory pressure
Hot sale = 500K accepted bookings / 2h · waiting room limits admitted database work
Daily storage weight
The calculation uses serialized payload size before compression, replication, indexes, metadata, or copies.
App interaction events
Searches, result impressions, clicks, and seat-map opens
launch-hour peak throughput
daily app-event payload
Critical domain events
12 GB/day2M bookings × 6 events × 1 KB
6 is a planning average, not a fixed protocol.
TOTAL / DAY
652 GB7-DAY LOGICAL
4.56 TB7-DAY KAFKA RF3
13.69 TBONE YEAR LOGICAL
238.0 TBCURATED @ 4:1
59.5 TB/yearCapacity formulas
events/sec × average event sizeceil(peak events/sec ÷ (tested events/sec/partition × target use))daily events × average event sizestorage/day × retention days × replication factor(hot bookings ÷ sale seconds) × minute burst × hold attemptsone-year logical storage ÷ compression ratio