Outline: (1) data has a shape: the BoxOffice data map, system of record vs derived data, five questions, the scaling ladder; (2) data models, SQL vs NoSQL, B-tree vs LSM, indexes; (3) transactions, isolation, the double-booking bug, seat holds, checkout across services; (4) replication, lag, pooling, failover; (5) partitioning, consistent hashing, hot partitions, secondary indexes, NewSQL; (6) search, object storage, warehouse, vector database.
Ask the class before revealing step 6: will Bob's UPDATE fail? Under read committed it re-runs on the new row version and still matches, because the WHERE has no status condition.
The simulator sits after "Comparing the fixes". Play the interleaved order with naive first, then switch strategies without changing the order.