isn't that due to actual full capacity (restaurants) and fire code (clubs)? i don't think either one has the ability to schedule their customers throughout the day or take another approach to reservations.
Restaurants will do this by having the waiting area artificially small. Restaurants where you order before you sit down will have the cash registers near the door, and understaff the registers.