Choosing 00:00:01 A green seat at nine o'clock At nine, a student sees an available library seat. A moment later the booking fails. Mina must decide whether a two-second-old seat map is acceptable. She starts by separating the display people browse from the claim that commits a reservation. In this exercise twenty thousand students refresh every four seconds. Spread evenly, that is five thousand map requests per second for the same few buildings. Reusing a recent map can keep most of those reads away from the booking database. For those two seconds a displayed seat can already belong to somebody else. The booking service still checks and claims it atomically. A stale map can disappoint a reader, but it must never authorize a second confirmation. 00:00:49 Name the fact that would reverse the choice If people must see changes almost immediately, Mina would reconsider polling the map. Sending seat changes to interested clients could reduce that delay. Delivery, reconnection and missed updates would then need explicit handling. Try the same decision on a school bus. If a parent needs an update roughly every ten seconds, asking them to refresh by hand is an unreliable contract. Automatic polling and a stream of position changes are both candidates. With twenty thousand parents polling once every ten seconds, the service receives about two thousand reads per second on average. Push replaces many reads with twenty thousand mostly open connections and messages whenever relevant positions change. 00:01:35 Follow a changed requirement to both ends Suppose the school tightens the target to one second. Polling at that interval makes twenty thousand reads per second, even when the bus has not moved. Push now looks more attractive, assuming connection capacity and update fan-out are manageable. Each time the service accepts a position, it can notify families authorized to follow that bus. A reconnecting parent still needs a fresh snapshot. An open connection cannot recover a position the bus itself never reported. Five hundred buses reporting once per ten seconds produce fifty writes per second. Once per second produces five hundred. Changing only the delivery system while keeping the old sampling interval would leave parents waiting for fresh information. 00:02:20 Defend the booking store with evidence Back at the library, the interviewer worries about the database at nine. Mina repeats the concern in concrete terms. Is the problem serving the map, or handling many competing writes for the same popular seat? The exercise predicts three hundred booking attempts per second. That number is an input to a load test. Test the real conditional write and the distribution of hot seats before claiming one database can handle it. A relational uniqueness constraint on seat and slot can enforce one winner. A key-value store with an appropriate conditional write could enforce that same rule. Naming a database family alone does not make either implementation correct. 00:03:03 One student, one decision A confirmation email takes three seconds to send. Should the student wait? If the reservation is already durable, store a durable email task with it and let a worker retry. The booking response can then return independently. Replace a library seat with a driver accepting a trip. The displayed map can age a little. Assigning one driver to two active trips has a different consequence. Protect the claim where that assignment becomes authoritative. Mina can defend her original two-second map in a single breath. It saves repeated reads, it permits a brief stale view, the booking still checks, and a tighter display deadline would send her back to the choice.