Documentation
¶
Overview ¶
Package main demonstrates why queues form, using a single-station discrete-event simulation with a "lunch counter" metaphor.
Six scenarios progress from lockstep (no queue possible) through D/D/1, M/D/1, D/M/1, M/M/1, to overloaded — showing that variability creates queues even when average capacity exceeds average demand.
Run:
go run ./examples/queue-demo/
Click to show internal directories.
Click to hide internal directories.