fair-queue

:EXPERIMENT: tool.fair-queue

Weighted-fair queueing over three tenants. Weights 1 : 2 : 3. Enqueue jobs on any lane, tick the scheduler, watch the virtual-time trick drive selection. Higher-weight tenants pull ahead in throughput without starving small ones.

Adapted from Alexander Baygeldin's RubyConf 2026 talk Fair by design: orchestrating background jobs in Ruby (Thu 11:15 Main). The alternative is FIFO across all tenants — where a burst from one tenant blocks everyone else. WFQ is the standard next step; the point of the tool is to make the virtual-time trick observable.

See experiments — this tool ships behind tool.fair-queue.