Tutorials › Stochastic Processes › Rates and Occupancy in the M/M/Infinity Queue

Multi-Server and Finite Queues · Tutorial 666 of 994

Rates and Occupancy in the M/M/Infinity Queue

Derive the birth and service-completion rates of the M/M/infinity queue, and see precisely how unlimited servers eliminate customer waiting.

Advanced 9 min read

What You'll Learn

  • Define the M/M/infinity model and its occupancy process.
  • Derive the total completion rate when there are n customers in service.
  • Write the occupancy process generator and check its row sums.
  • Find next-event probabilities from competing arrival and completion rates.
  • Distinguish unlimited-server service from finite-server queues.
  • Explain why every arrival begins service immediately.

The M/M/Infinity Model

In a finite-server queue, an arriving customer may have to wait because all servers are busy. The M/M/infinity queue removes that constraint: whenever a customer arrives, a server is available for that customer, regardless of how many other customers are present. The resulting occupancy process has a simple, but state-dependent, service-completion rate.

Fix an arrival rate \(\lambda\ge 0\) and a service rate \(\mu>0\). Arrivals form a Poisson process of rate \(\lambda\), and each customer's service time is exponentially distributed with rate \(\mu\). Service times are mutually independent and independent of the arrival process. There are infinitely many servers, each serving one customer at a time. Assume the queue begins with a finite number of customers. All these random quantities are defined on a probability space \((\Omega,\mathcal{F},\mathbb{P})\).

Definition: The M/M/infinity occupancy process \((X_t)_{t\ge0}\) is the number of customers receiving service at time \(t\). Its state space is \(S=\{0,1,2,\ldots\}\), and its time index is continuous. We use the filtration \((\mathcal{F}_t)_{t\ge0}\) containing the arrival and service history up to time \(t\). An arrival increases \(X_t\) by one; a service completion decreases it by one. Every arriving customer begins service at arrival.

The first M denotes Poisson arrivals, the second M denotes exponential service times, and infinity denotes unlimited servers. In particular, \(\mu\) is the completion rate for one customer, not the completion rate for the entire system. When there are \(n\) customers, \(n\) separate services are in progress.

Why the Completion Rate Is \(n\mu\)

Suppose the system currently contains \(n\) customers. Each of their remaining service times is exponential with rate \(\mu\), conditional on the history so far. This conditional statement follows from the memoryless property: for an exponential service time \(V\), \(\mathbb{P}(V>s+t\mid V>s)=e^{-\mu t}\) for \(s,t\ge0\). Independence of the service times means the \(n\) remaining times are independent. The next completion is the minimum of these \(n\) times.

Theorem (Total service-completion rate): Given \(X_t=n\), the time until the next service completion, in the absence of an intervening arrival, is exponential with rate \(n\mu\) when \(n\ge1\). For \(n=0\), the service-completion rate is zero. Thus the total rate of transitions from \(n\) to \(n-1\) is \(n\mu\).

Proof. For \(n\ge1\), let \(V_1,\ldots,V_n\) be the remaining service times. For \(u\ge0\), independence and the exponential survival probability give \(\mathbb{P}(\min_i V_i>u)=\prod_{i=1}^n\mathbb{P}(V_i>u)=\prod_{i=1}^n e^{-\mu u}=e^{-n\mu u}\). This is the survival function of an exponential random variable with rate \(n\mu\). If \(n=0\), there is no customer in service, so no service completion can occur until an arrival takes place; the completion rate in state zero is therefore zero. \(\square\)

Arrivals are independent of service completions and have rate \(\lambda\). Consequently, when the occupancy is \(n\), the possible next events are an arrival, at rate \(\lambda\), and a completion, at rate \(n\mu\). If their combined rate is positive, the time to the next event is exponential with rate \(\lambda+n\mu\); the probabilities that the next event is an arrival or a completion are respectively \(\lambda/(\lambda+n\mu)\) and \(n\mu/(\lambda+n\mu)\). When \(n=0\) and \(\lambda=0\), there is no next event.

These rates specify the generator \(Q=(q_{ij})\) of the occupancy process. For a continuous-time chain, \(q_{ij}\), for \(i\ne j\), is the rate of a transition from state \(i\) to state \(j\), and the diagonal entry is the negative sum of the rates out of state \(i\).

$$ q_{n,n+1}=\lambda,\qquad q_{n,n-1}=n\mu\quad(n\ge1),\qquad q_{n,n}=-(\lambda+n\mu). $$

All other off-diagonal entries are zero, and \(q_{0,-1}\) is not a state or a transition. Equivalently, \(q_{0,1}=\lambda\) and \(q_{0,0}=-\lambda\). Every row sums to zero: for \(n\ge1\), \(\lambda+n\mu-(\lambda+n\mu)=0\), and for \(n=0\), \(\lambda-\lambda=0\). This generator describes rates, not stationary probabilities; no stationary distribution is needed to obtain it.

Worked Rate Calculations

Worked Example: The Next Event from Four Customers

Let \(\lambda=\tfrac32\) and \(\mu=\tfrac12\). Find the total service-completion rate, the total event rate, and the probabilities of the two types of next event when \(X_t=4\).

Each of the four customers has completion rate \(\tfrac12\), so the total completion rate is \(4\cdot\tfrac12=2\). Arrivals occur at rate \(\tfrac32\). Thus the total event rate is \(\tfrac32+2=\tfrac72\). The probability that the next event is an arrival is \((\tfrac32)/(\tfrac72)=\tfrac37\). The probability that it is a completion is \(2/(\tfrac72)=\tfrac47\).

Check: The probabilities sum to \(\tfrac37+\tfrac47=1\). In the generator row for state \(4\), the entries are \(q_{4,5}=\tfrac32\), \(q_{4,3}=2\), and \(q_{4,4}=-(\tfrac32+2)=-\tfrac72\). Their sum is \(\tfrac32+2-\tfrac72=0\).

Worked Example: Recovering the Individual Service Rate

Suppose the total service-completion rate is measured as \(\tfrac92\) when six customers are in service. Under the M/M/infinity model, determine the individual service rate \(\mu\), then calculate the total completion rate when two customers are in service.

With six customers, the total rate is \(6\mu\). Therefore \(6\mu=\tfrac92\), and \(\mu=(\tfrac92)/6=\tfrac34\). With two customers, the total completion rate is \(2\cdot\tfrac34=\tfrac32\).

Check: Substituting \(\mu=\tfrac34\) into the six-customer rate gives \(6\cdot\tfrac34=\tfrac{18}4=\tfrac92\). Substituting into the two-customer rate gives \(2\cdot\tfrac34=\tfrac64=\tfrac32\), as calculated.

Worked Example: Comparing Three Servers with Infinitely Many

Let \(\lambda=1\), \(\mu=\tfrac25\), and suppose five customers are present. Find the service-completion rate in the M/M/infinity system and compare it with a system having only three servers, where customers who cannot begin service must wait.

With infinitely many servers, all five customers are in service, so the completion rate is \(5\cdot\tfrac25=2\). With three servers, only three customers are in service and two wait, so the completion rate is \(3\cdot\tfrac25=\tfrac65\). In both systems the arrival rate is \(1\). Thus the total event rate is \(1+2=3\) in the infinite-server system and \(1+\tfrac65=\tfrac{11}5\) in the three-server system.

Check: The generator entries for the infinite-server system at state \(5\) are \(q_{5,6}=1\), \(q_{5,4}=2\), and \(q_{5,5}=-3\), which sum to zero. For the three-server system at occupancy \(5\), the entries for an arrival, a completion, and the diagonal are \(1\), \(\tfrac65\), and \(-\tfrac{11}5\); these also sum to zero. The service-rate difference is \(2-\tfrac65=\tfrac45\).

Why an Arrival Never Waits

The absence of waiting is a direct consequence of the model's service rule. At any finite time, there are only finitely many customers in the system: the initial population is finite, and a Poisson process has finitely many arrivals in every bounded time interval with probability one. If an arrival occurs when \(n\) customers are present, those customers occupy \(n\) servers, while infinitely many servers are available. The new customer can therefore be assigned a distinct server immediately. The service time for that customer begins at the arrival time.

Result (Immediate service): In the M/M/infinity model, every arrival enters service at its arrival time, regardless of the current occupancy. There is no queue of customers waiting for a server and no blocking due to a finite number of servers.

Proof. Consider an arrival at a time when the occupancy is \(n\), where \(n\) is finite. The model assigns each of the \(n\) customers in service to a server, with no server assigned to more than one customer. Because the server supply is unlimited, an additional server is available for the arriving customer. Assigning that server starts the customer's service immediately and increases the occupancy from \(n\) to \(n+1\). The argument applies to every finite \(n\), and the occupancy is finite at every finite time with probability one. Hence no arrival has to wait. \(\square\)

This statement concerns waiting for service, not the time until a future completion elsewhere in the system. An arrival begins its own service immediately, but its service duration remains random and exponential with rate \(\mu\). Nor does immediate service imply that the occupancy is constant: arrivals and completions continue to change it.

A Common Rate Mistake

A frequent error is to use \(\mu\) as the total completion rate even when several customers are in service. For example, if \(n=4\) and \(\mu=\tfrac12\), the incorrect calculation gives a total rate of \(\tfrac12\). It treats four simultaneous independent services as though only one customer were being served. The correct calculation is \(n\mu=4\cdot\tfrac12=2\). The individual rate remains \(\tfrac12\); the system's total completion rate depends on the number of active services.

A second distinction is useful when comparing models: with \(c\) finite servers and \(n\) customers present, the total completion rate is \(\min(n,c)\mu\), because only \(\min(n,c)\) customers can be in service. In the M/M/infinity model, \(\min(n,\infty)=n\) for finite \(n\), giving \(n\mu\). The formula is a count of active independent service clocks, not a change in any one customer's service rate.

The rate description is valuable whenever the occupancy process is modeled as a continuous-time Markov chain. It identifies the only possible jumps, their rates, and the dependence of the service rate on occupancy. These facts are enough to construct the generator and to calculate next-event probabilities. They do not, by themselves, assert a stationary distribution or describe the process's transient occupancy probabilities.

Check Your Understanding

Use the definitions and rate calculations above to answer each question. When checking a generator row, include its diagonal entry.

  1. When \(n=7\) and \(\mu=\tfrac13\), what is the total service-completion rate? Explain why it is not \(\tfrac13\).
  2. If \(\lambda=2\), \(\mu=\tfrac12\), and \(n=3\), find the total event rate and the probability that the next event is a service completion.
  3. Write the three nonzero generator entries in row \(n=2\), for general \(\lambda\) and \(\mu\), and verify that they sum to zero.
  4. In an M/M/infinity system, what happens to a new arrival when \(n\) customers are already receiving service? State which model assumption makes this possible.
  5. For \(n=4\), \(c=2\), and \(\mu=\tfrac34\), compare the service-completion rates in a system with two servers and in the M/M/infinity system.