Waiter
Waiter is a simple library for estimating wait times and required capacity in web and mobile marketplaces. Despite its focus, waiter aims to be useful for capacity planning wherever there's a queue coupled with a finite ability to process the queue.
Example Usage
//For a specified maximum wait time, output the required hourly supplyvar waiter = var uberPeakHours = 13 18 //peak hours for the app are between 1pm and 6pmvar hourlyDemand = 100 var peakDemand = 300 var rideDurations = 5 60 var maxWaitTime = 5var hourlySupply = waiter
Web Usage
A hosted version of waiter useful for getting quick estimates is available here.
Installation
$ npm install waiter
Quick Start
Compute wait times:
waiter
Compute hourly supply:
waiter
Plots and Statistics:
waiter waiter waiter waiter
Features
- Wait time estimation
- Capacity planning
- Work in system (virtual waiting time)
Contributors
- Author: nicktesla