Skip to main content

Welcome to a Grasp lesson

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

Lesson 21

Queuing Model for Photoshoot Workflow

Recommended resources

Welcome back. In our previous lesson, we delved into the M/M/1 model, a powerful tool for predicting the behavior of a single-server queue. We applied it to your photoshoot scenario, discovering that with a single photographer operating at 80% utilization, a styled "look" would wait an average of 48 minutes before being photographed. We also saw how reducing the variability of encounter durations in the hotwife scenario could dramatically shorten waiting times, a key insight for any optimization effort.

Today, we will build directly on that foundation by exploring what happens when you add capacity. Your learning outcome for this lesson is to: Use the M/M/s model to evaluate the benefit of adding an assistant (a second server) to the photoshoot workflow. This moves us from analyzing a constrained system to quantifying the powerful effects of parallel processing and resource pooling.

From One to Many: The M/M/s Model

The M/M/s model is the natural extension of the M/M/1 model for systems with multiple, identical servers working in parallel. The notation, following the Kendall convention you're familiar with, stands for:

  • M: Markovian (Poisson) arrival process.
  • M: Markovian (exponential) service time distribution for each server.
  • s: The number of identical, parallel servers.

The key operational difference is that arriving "customers"—in our case, photoshoot looks—join a single queue and are served by the first available server. This setup is fundamentally more efficient than having separate queues for each server, a phenomenon you know from operations as the benefit of pooling.

This image provides a clear visual distinction between the single-server M/M/1 queue and a multi-server M/M/s system where a single queue feeds three parallel servers.

A crucial adjustment from the M/M/1 model is the stability condition. For the queue to remain finite, the total service capacity of the system must exceed the arrival rate.

Where:

  • is the average arrival rate.
  • is the average service rate per server.
  • is the number of servers.

This implies that as long as the total potential work output of all servers combined is greater than the incoming workload, the system can eventually catch up.


The Power of Pooling and Economies of Scale

Before we dive into the formulas, it's important to grasp the core principle at play. In queueing systems, delays are highly sensitive to both utilization and variability. As you saw in the previous lesson, wait times increase non-linearly as utilization approaches 100%.

Adding a server does more than just add capacity; it creates a more robust and flexible system. Because servers are pooled, a random spike in service time for one customer is less likely to cause a significant backlog, as another server can handle the next arrival. This leads to what is known as "economies ofscale" in queueing.

QUEUEING THEORY AND MODELING

This document provides a clear explanation of fundamental queueing principles. This particular section highlights how system size impacts delays.

Please read the section titled Delays, Utilization and System Size. Focus on the description of how system size affects the relationship between utilization and delay. The text notes that "larger hospitals can operate at higher utilization levels than smaller ones yet maintain similar levels of congestion and delays." This is the core idea of queueing economies of scale we are about to apply.


The Mathematics of the M/M/s Model

The formulas for the M/M/s model are more complex than for the M/M/1, primarily because we must account for the probability of different numbers of servers being busy. The most critical, and most complex, calculation is for , the probability that the system is completely empty. All other performance measures depend on it.

QUEUEING THEORY AND MODELING

This section of the text introduces the M/M/s model and its core formulas.

Please read the section titled The M/M/s model. You don't need to memorize the formulas, but focus on understanding the components: The three required parameters: arrival rate (\lambda), average service duration (1/\mu), and number of servers (s). The definition of utilization per server, \rho = \lambda / s\mu. The structure of the formula for P_0 (equation 5), which sums probabilities for the system having fewer customers than servers and adds a term for when all servers are busy. The formulas for the probability of delay (p_D) and the average wait in queue (W_q).

The key performance measures we will calculate are:

  • Utilization per server ():
  • Probability of an empty system (): Given by the complex formula you just reviewed.
  • Probability of any delay (): The probability that an arriving customer will have to wait because all servers are busy. This is also known as the Erlang C formula.
  • Average time in queue (): The average time a customer spends waiting before service begins.

Application: The Photoshoot with an Assistant

Let's now apply this model to evaluate the benefit of adding an assistant to the boudoir photoshoot. We assume the assistant is also a competent photographer, effectively creating a two-server () system.

System Parameters (from last lesson):

  • Arrival Rate (): 4 looks per hour.
  • Service Rate per Server (): 5 looks per hour.

Scenario 1: M/M/1 Model (Single Photographer) - Recap

As a baseline, let's recall the results from our previous analysis with a single photographer ():

  • Utilization (): (or 80%)
  • Average Wait in Queue (): 48 minutes

Scenario 2: M/M/2 Model (Photographer + Assistant)

Now, let's analyze the system with two servers ().

  1. Check Stability: The total service rate is looks per hour. Since , the system is stable.
  2. Calculate Utilization: The utilization per server is now (or 40%). This is a dramatic reduction.

The next steps involve calculating the performance metrics using the M/M/s formulas. The calculation of can be tedious, but the following video provides an excellent walkthrough for a two-server case, which will give you a concrete feel for the process.

Lec-32 Multiple Server Queueing Models

This lecture segment from nptelhrd works through a full numerical example of an M/M/2 system.

Please watch the numerical example with two servers (C=2). Follow how the presenter calculates the probability of an empty system (P_0) and then uses it to find the probability that a customer gets a server immediately (P_0 + P_1). This directly mirrors the analysis we are about to perform.

Let's perform the calculations for our photoshoot scenario:

  • Calculate : Using the formula from the reading, with and , we get:

    There is about a 43% chance the entire system (both photographer and assistant) is idle.

  • Calculate (Probability of Delay): This is the probability that an arriving look finds both photographers busy.

    There is about a 23% chance that a new look will have to wait at all. Compare this to the M/M/1 case, where the probability of waiting was simply the utilization, .

  • Calculate (Average Wait in Queue):

    Converting to minutes: .

Benefit Evaluation:
The benefit of adding an assistant is staggering.

  • Wait Time (M/M/1): 48 minutes
  • Wait Time (M/M/2): 2.3 minutes

By adding an assistant, the average wait time for a look is reduced by over 95%. This isn't just because capacity doubled; it's because the per-server utilization dropped from a high-congestion 80% to a low-congestion 40%, moving the system far away from the steep "elbow" of the waiting time curve.


Economic Justification

As an optimizer, you know that reducing wait time is only part of the story. The ultimate decision rests on a cost-benefit analysis. Is the cost of the assistant justified by the savings from reduced waiting?

[PDF] Evaluating Single and Multi-Server Exponential Queuing Models

This paper applies queueing models to a bank and includes a clear framework for cost analysis.

Please read the brief section on the cost model. Focus on the two conflicting costs: Customer Waiting Cost and Service Cost. The goal is to find the number of servers that minimizes the total cost.

Let's create a simple cost model for the photoshoot:

  • Waiting Cost (): The cost of a styled look waiting to be shot. This could represent model fatigue, creative momentum loss, or simply the hourly rate of the model. Let's assume this is $100 per hour of waiting.
  • Service Cost (): The hourly cost of the servers. Let's say the main photographer costs $150/hr and the assistant costs $50/hr.

Now, let's calculate the total cost per hour for each scenario. The total hourly waiting cost is the arrival rate multiplied by the average wait time, times the cost per hour ().

  • Total Cost (M/M/1):

    • Waiting Cost =
    • Service Cost =
    • Total System Cost = $470 per hour
  • Total Cost (M/M/2):

    • Waiting Cost =
    • Service Cost =
    • Total System Cost \approx $215.24 per hour

The analysis is unequivocal. Even though the hourly service cost increases by $50, the total system cost is more than halved because the waiting costs are almost entirely eliminated. The benefit of adding the assistant is not just a smoother workflow; it is a massive economic gain.


Conclusion

In this lesson, we have extended our queueing analysis to multi-server systems using the M/M/s model. By applying it to your photoshoot workflow, you've gone beyond simply identifying a bottleneck to precisely quantifying the operational and economic benefits of adding capacity.

Key Takeaways:

  • The M/M/s model is used for systems with a single queue and multiple identical, parallel servers.
  • The stability of an M/M/s system requires that the total service capacity exceeds the arrival rate ().
  • Adding servers provides a non-linear reduction in waiting time due to the effects of resource pooling and lower per-server utilization.
  • The M/M/s model allows for a quantitative cost-benefit analysis, balancing the increased cost of servers against the reduced cost of waiting to find an optimal system configuration.

In our next lesson, we will step back and critically examine the "M" assumptions (Poisson arrivals, exponential service times) that underpin both the M/M/1 and M/M/s models. We will discuss the implications of these assumptions and what happens when real-world systems deviate from this idealized, highly variable behavior.