Tex-Mex and malloc(3C): Restaurant Hosts and Memory Allocators!
summary
Restaurant seating maps onto malloc: 35 tables handle 20–40 waiting parties (~120 people) so hosts push tables together, first fit seating boosts throughput and utilization but raises internal and external fragmentation, while slab allocation–style holding of specific tables preserves capacity for large parties at the cost of lower utilization. Measured with throughput, utilization, TTL and a bespoke FIFO fidelity metric, the heuristics (holding, double/triple seating, observing pay times) trade fairness for efficiency and partially succeed depending on queue composition.
AI-written summary · about
chapters (6)
- 0:00Introduction
- 1:51Restaurant hosts vs allocators
- 3:39Staff rules and incentives
- 5:24Measuring effectiveness
- 8:30Allocation strategies
- 10:13Summary
related talks
13mYes yes ya’ll! Miles of !malloc() and free() styles!¡!
35mFrom Opinions to Outcomes: How Clarity Builds Trust and Better Design
01h 04mSwarm-Stupidity
35mEstimation Blackjack and Other Games: a Comedic Compendium
54mSeeing Like a Programmer - Resiliency, Limits, And Moral Hazards In SE
20mHow to keep everyone happy (on a shoestring)?
54mManaging Misaligned Stakeholders
48mRespect estimates
