O cenário
A dance club wants to ensure only a limited number of patrons enter the VIP area at a time, with a bouncer managing access.
O que há neste desenho
Entenda as decisões por trás dele.
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.