Lo scenario
A dance club wants to ensure only a limited number of patrons enter the VIP area at a time, with a bouncer managing access.
Cosa contiene questo disegno
Leggi le decisioni che ne stanno alla base.
01
Use a resource token for the bouncer to serialize entry requests.
02
Use explicit VIP capacity tokens to enforce the maximum number of simultaneous VIP occupants.
03
Separate normal and VIP dancer populations as distinct places.
When modeling a system with limited shared resources and permission-based entry, such as exclusive lounges, parking lots, or network admission control.