Skip to main content

Welcome to a Grasp lesson

Create a free account to keep studying and create your own study path.

Lesson 46

Optimizing Service Capacity: Balancing Cost and Wait Times

Recommended resources

Hello! Welcome to your fourth lesson in the Operations and Process Management module.

Introduction

In our last lesson, we delved into the M/M/1 queueing model. We learned how to calculate key performance metrics like average wait time () and queue length (). Most importantly, we uncovered the critical non-linear relationship between server utilization and wait times, highlighting the operational dangers of pushing a system with variability toward 100% capacity. This is a principle you've likely encountered when managing high-load systems, where provisioning extra capacity is the price for maintaining low latency and meeting SLAs.

Today, we will build directly on that analytical foundation to address the learning outcome: Use queueing analysis to evaluate the trade-off between service capacity cost and customer waiting cost.

We will move from simply describing a queue's performance to actively making business decisions about it. You'll learn how to model the costs associated with providing a service and the costs incurred by customers who are forced to wait. By combining these, we can determine the optimal level of service capacity that minimizes total cost.


1. The Fundamental Cost Trade-Off

At the heart of any capacity decision in a queueing environment is a fundamental economic trade-off. On one hand, increasing service capacity—by hiring more staff, buying faster equipment, or improving training—incurs direct costs. On the other hand, insufficient service capacity leads to longer queues and wait times, which have their own costs, such as lost customer goodwill, reduced employee productivity, or even direct financial penalties.

The objective for a manager is to find the "sweet spot" that balances these two opposing costs.

Queuing Theory (Operations Management)

To start, let's get a clear conceptual and visual overview of this trade-off. This video from Dr. Ogunseyin provides a concise explanation of the two cost components and their relationship.

Please watch from 01:17 to 03:34. Focus on: The definition of 'waiting costs' and 'service costs'. The inverse relationship between these two costs. The graphical representation showing how the total cost is minimized at a specific capacity level.

As the video illustrates, the total cost of a queueing system can be expressed as:

  • Service Cost: Increases with service capacity.
  • Waiting Cost: Decreases with service capacity.

Our goal is to find the service capacity that minimizes this total cost function.


2. Optimizing a Single-Server (M/M/1) System

Let's formalize this trade-off for the M/M/1 model we studied previously. This is a common scenario where you can't just add another server, but you can invest in technology, training, or process improvements to make the single existing server faster. This means we are treating the service rate, , as our decision variable.

To do this, we need to define our cost parameters:

  • : The cost of providing service capacity, per unit of service rate, per unit of time (e.g., dollars per hour for each customer/hour of capacity).
  • : The waiting cost, per customer in the system, per unit of time (e.g., dollars per hour for each customer waiting or being served).

The total cost function, , as a function of the service rate , is:


Recalling from our last lesson that for an M/M/1 system, the average number of customers in the system is , we can write the full cost function:

Given your background in applied mathematics, you'll recognize that we can find the optimal service rate, , that minimizes this function by taking the derivative with respect to , setting it to zero, and solving for .

The following reading walks through a concrete example and performs this exact optimization.

Decision-Making in Queueing Models: Cost Optimization ...

This article, 'Decision-Making in Queueing Models' from slm.mba, provides an excellent, practical guide to cost optimization in an M/M/1 context.

Please read the sections 'Single-server model optimization example' and 'Calculus-based optimization techniques'. Focus on how the total cost function is constructed and how the optimal service rate formula is derived and applied.

As the article derives, the optimal service rate that minimizes the total cost is given by the elegant formula:

Let's apply this to the article's tech support desk example:

  • Arrival Rate (): 8 requests/hour
  • Service Cost (): $25 per hour for each unit of service rate
  • Waiting Cost (): $40 per hour for each customer in the system

Plugging these into the formula:

This result tells the manager, Sarah, that the most cost-effective service rate is approximately 11.6 requests per hour. She can now evaluate whether the investment in tools and training required to achieve this rate is justified by the total cost savings.


3. Application: Optimizing the Number of Servers (M/M/s)

A more common business decision is not about fine-tuning a single server's speed, but deciding how many servers (e.g., cashiers, support agents, processing nodes) to deploy. This moves us from the M/M/1 model to the multi-server M/M/s model.

While the underlying formulas for M/M/s performance metrics (, etc.) are more complex, the optimization logic remains the same: calculate the total cost for different numbers of servers () and choose the value of that minimizes it.

The total cost function for an M/M/s system is:


Here, is the cost per server per unit of time (e.g., an employee's hourly wage), and is the average number of customers in the system, which is a function of the number of servers, . Since must be an integer, we don't use calculus. Instead, we simply calculate for and find the minimum.

Practice Exercise: Pediatric Clinic Staffing

Let's apply this to a realistic business problem. The following exercise is adapted from a textbook case study about a pediatric practice's telephone system.

Scenario:
A pediatric clinic is analyzing staffing levels for its receptionists who answer phone calls. During the busiest part of the day (9 AM to 4 PM), calls arrive randomly but at an average rate of calls per hour. A receptionist can handle an average of calls per hour. The system functions as an M/M/s queue.

The clinic has determined the following costs:

  • Server Cost (): The total cost for one receptionist (salary, benefits, overhead) is $26.31 per hour.
  • Waiting Cost (): The cost of a customer waiting (dissatisfaction, potential for lost business) is estimated at $50 per hour for each customer in the system.

The clinic currently employs 6 receptionists during this period. Is this the optimal number? Let's find out.

Your Task:
Calculate the total hourly cost for the current staffing level () and then for and to find the cost-minimizing number of receptionists.

To save you from the complex M/M/s formulas, here are the pre-calculated values for the average number of customers in the system () for each scenario:

  • For , customers
  • For , customers
  • For , customers
  • For , customers

Use the total cost formula to find the optimal s.

Click here to see the step-by-step solution.

1. Cost for s = 6 (Current State):

  • Server Cost =
  • Waiting Cost =
  • Total Cost(6) = $157.86 + $452.00 = $609.86 per hour

2. Cost for s = 7:

  • Server Cost =
  • Waiting Cost =
  • Total Cost(7) = $184.17 + $102.50 = $286.67 per hour

3. Cost for s = 8:

  • Server Cost =
  • Waiting Cost =
  • Total Cost(8) = $210.48 + $53.50 = $263.98 per hour

4. Cost for s = 9:

  • Server Cost =
  • Waiting Cost =
  • Total Cost(9) = $236.79 + $40.50 = $277.29 per hour

Conclusion:
The total cost decreases as we move from 6 to 8 receptionists, but then begins to increase at 9 receptionists. Therefore, the optimal staffing level is 8 receptionists, which minimizes the total hourly cost at $263.98. The current level of 6 receptionists is highly suboptimal, incurring more than double the minimum possible cost, primarily due to excessive customer waiting.

This analysis provides a clear, data-driven recommendation for a critical management decision. The full case study, which you can find as Exercise 14.5 in the resource "QUEUING MODELS AND CAPACITY PLANNING", explores this for different times of the day.


Conclusion

Key Takeaways:

  • Capacity planning in queueing systems involves a core trade-off between service costs and waiting costs.
  • The managerial goal is to find the service capacity that minimizes the total cost (the sum of service and waiting costs).
  • For an M/M/1 system where the service rate is the variable, we can use a calculus-derived formula to find the optimal rate .
  • For an M/M/s system where the number of servers is the variable, we find the optimal number by iteratively calculating the total cost for each integer value of and identifying the minimum.
  • This analytical approach transforms a complex staffing or investment decision into a structured, quantitative problem.

Next Steps

In this and the previous lesson, we have focused on managing service operations where customers or tasks form queues. In our next lesson, we will shift our focus to managing physical goods. We will explore the Economic Order Quantity (EOQ) model, a foundational concept in inventory management. You will find that it involves a similar type of cost trade-off analysis, this time balancing the cost of ordering inventory against the cost of holding it.