Teller Line Design: Pooled Queue vs Parallel Queues
Statistics & ExperimentsModel answerLast updated
Compare waiting time, variance, and throughput for a shared single-line system versus independent per-server queues, and design a validation study.
Scenario
A retail bank is redesigning the floor layout of its branches. The operations team is debating two configurations for handling walk-in customers:
- Configuration A — Shared line: All arriving customers join one queue and are routed to the next available teller when they reach the front.
- Configuration B — Dedicated lines: Each teller has their own line; customers choose a line when they walk in and stay in it.
Both configurations have the same number of tellers and the same total service capacity.
You are asked to advise on the decision.
Part 1. Derive and compare the expected waiting time and variance of waiting time under each configuration. Use a worked numerical example with at least two tellers.
Part 2. Describe the conditions under which each configuration performs better. Be specific about load levels, arrival patterns, and operational factors.
Part 3. Explain how you would build an analytical model of customer experience and throughput — what distributions, formulas, and metrics would you use?
Part 4. Propose a data collection and validation plan to evaluate the chosen design after deployment. Address the key causal-inference challenges.
Expect to show your reasoning at each step. Quantitative arguments are preferred over qualitative ones where possible.
Hints
Hint 1
Start by identifying the standard queueing models: a shared line with c servers is M/M/c; each dedicated line is its own M/M/1. Both have the same utilization ρ = λ/(cμ) — that's what makes the comparison clean. Then apply the Erlang C formula to find the probability a customer waits under each setup.
Hint 2
The variance difference between the two designs is usually larger than the mean difference. Ask yourself: in the dedicated-line design, what extra sources of randomness affect your personal wait that don't exist in the shared line? Think about which line you happened to join, and what FIFO violations that creates.
Hint 3
For Part 4, you cannot randomly assign individual customers to configurations. Think about what the natural unit of randomization is (a branch? a time period?) and what statistical method handles the before/after, treatment/control structure that results. Also consider what would confound a naive comparison — load levels, staffing, and day of week are the main culprits.
Model answer
Medium Try it yourself first — then compare your approach, complexity and edge cases.
Setup and notation
ctellers, each serving at rateμ(mean service time1/μminutes)- Total arrival rate
λ, traffic intensityρ = λ/(cμ), withρ < 1for stability - Shared line: one queue feeds all
ctellers — this is an M/M/c system - Dedicated lines:
cindependent queues each receivingλ/carrivals — this iscindependent M/M/1 systems, each at the same utilizationρ
The utilization is identical in both designs. Any difference in performance comes purely from how capacity is allocated.
Part 1: Expected wait and variance
Dedicated lines (M/M/1 each)
Each queue has arrival rate λ/c and server rate μ. The Pollaczek–Khinchine formula gives:
E[Wq] = ρ / (μ(1 − ρ))Var(Wq) = ρ(2 − ρ) / (μ(1 − ρ))²(from the M/M/1 waiting-time distribution)
Shared line (M/M/c)
The Erlang C formula C(c, ρ) gives the probability an arriving customer has to wait:
E[Wq] = C(c, ρ) / (cμ − λ)
Worked example: c = 2, μ = 1 min⁻¹, λ = 1.6 min⁻¹, so ρ = 0.8.
| Metric | Dedicated (2 × M/M/1) | Shared (M/M/2) |
|---|---|---|
| P(wait) | 0.80 | 0.711 |
| E[Wq] | 0.8 / 0.2 = 4.0 min | 0.711 / 0.4 = 1.78 min |
| SD(Wq) | ≈ 4.9 min | ≈ 2.4 min |
The shared line cuts the mean wait by about 2.25× and the standard deviation by about 2×.
Why pooling wins. Under dedicated lines, a teller can sit idle while customers wait in a neighboring line. That idle capacity is permanently wasted. A shared line eliminates this: no server is ever idle while a customer is waiting. The gap widens as ρ → 1 — at high utilization the mean wait ratio approaches c, so the benefit is largest exactly when the system is under stress.
Why variance is hit even harder. In a dedicated system, your wait depends on two random things: which line you joined and the service times of people ahead of you. In a shared system the first source of randomness disappears entirely. This also means dedicated lines violate system-wide FIFO — a customer who arrives later can be served first because they chose a shorter line — which drives perceived unfairness independent of the mean wait.
Part 2: When each design wins
The shared line is better in most realistic cases:
- Moderate to high load (ρ ≳ 0.6). Gains compound quickly with utilization.
- Bursty or uneven arrivals (lunch rush, payday). Temporary surges balance across all servers automatically.
- High service-time variability. A long transaction blocks one dedicated line entirely; in a shared system it only occupies one of
cservers. - When FIFO and predictability matter. Lower variance means a more consistent customer experience and fewer outliers.
Light load (ρ ≲ 0.3). Waits are near zero in both designs. The difference is negligible; choose based on floor space and layout convenience.
Dedicated lines can be competitive when:
- Walking time is large. If customers must walk a meaningful distance from the shared queue to a free teller, that time enters every service and eats into the pooling advantage. A small branch where all tellers are nearby is not affected, but a sprawling floor is.
- Customers switch lines freely (jockeying). Active jockeying approximates the shared-line outcome even with dedicated queues, because customers self-balance.
- Server pace is affected by visibility. Empirical studies of checkout and service environments find that servers with a dedicated visible backlog sometimes work faster — they see their own queue and feel personal ownership over it. A service-rate drop of 10–15% under pooling can erode the theoretical advantage at moderate load. This is worth measuring, not assuming away.
- Visible length deters arrivals. A shared queue looks
ctimes longer than a dedicated one. Customers may balk based on perceived length even when the actual wait is shorter. If balking is common, some of pooling's theoretical throughput advantage is offset by lower effective arrival rates. - Heterogeneous services. When transaction types differ substantially in duration (a quick cash deposit vs. opening a new account), segregating by type reduces within-line variance and improves overall performance. The right answer is usually a small number of pooled lines by service class rather than either extreme.
Part 3: Analytical model
Arrival process. Fit a non-homogeneous Poisson process λ(t) in 15-minute buckets by day of week, estimated from historical transaction logs. Test for overdispersion; if customer groups arrive together, the arrival coefficient of variation c_a > 1 and matters.
Service-time distribution. Fit by transaction type — typically lognormal with c_s > 1. The Allen–Cunneen approximation generalizes the Erlang C result to G/G/c:
E[Wq] ≈ [C(c, ρ) / (cμ − λ)] × (c_a² + c_s²) / 2
Apply the same formula with c = 1 and λ/c for the dedicated-line case.
Abandonment. Use Erlang-A (M/M/c+M), which adds a patience parameter. This matters because customers in long dedicated queues may leave without being counted, hiding some of that design's cost in the raw throughput numbers.
Metrics to report:
| Category | Metrics |
|---|---|
| Wait | E[Wq], SD(Wq), p90/p95, P(Wq > 5 min) |
| Throughput | Effective throughput = λ(1 − P_abandon), utilization |
| Fairness | FIFO-violation rate, SD(Wq) |
| Efficiency | Teller idle time while customers are queued (zero by construction in a shared line) |
Report tail percentiles and the standard deviation alongside the mean — customers experience the tail more acutely than the average, and surveys consistently show unfairness perceptions track variance rather than mean wait.
For time-varying load, use a pointwise-stationary approximation as a first pass, then a discrete-event simulation for sensitivity analysis. Simulation lets you vary walking time, jockeying rate, and server-pace assumptions explicitly and see which parameters flip the result.
Part 4: Post-deployment validation
What to instrument. At the individual customer level: arrival time, queue-join time, service-start time, service-end time, teller ID, transaction type, and — critically — any balk or abandon events. In a dedicated-line design also log line switches. Teller idle intervals should be recorded separately to compute the key inefficiency metric.
Causal inference challenge. You cannot randomize individual customers to configurations — they arrive at branches that have one design or the other. The natural unit of randomization is the branch. Options:
- Staggered rollout with difference-in-differences. Roll out the new design to a randomly selected subset of branches and keep others as controls. Estimate treatment effect as
(treated post − treated pre) − (control post − control pre). Control forλ(t), staffing level, day of week, and local seasonality. Cluster standard errors by branch-day; note that with few branches, effective sample size is small and power calculations should be done upfront. - Switchback design. Where the layout can be changed cheaply (e.g., opening or closing a divider), alternate designs by week within the same branch. This controls for branch-level fixed effects but risks carryover effects if customers have memory of wait times.
What can confound a naive before/after comparison:
- Load changes: more or fewer customers, possibly due to the rollout itself
- Staffing changes correlated with timing
- Seasonal effects
Always compare outcomes at matched utilization levels, not raw averages across periods that may have had different traffic.
Watch for behavioral drift. Run the study for at least 6–8 weeks. Novelty effects (staff and customers both behave differently under observation) and Hawthorne effects tend to wash out after a few weeks. Also track service times per teller over time — a systematic slowdown under the shared-line design is an early warning that the server-pace effect is real in your context.
Common mistakes to avoid:
- Comparing a pooled design at peak load against dedicated lines at off-peak and calling it a fair test
- Ignoring abandonment — it makes dedicated lines look more stable than they are
- Reporting only the mean wait without variance or tail metrics
- Assuming the textbook M/M/c result holds without checking service-time variability or walking time