Abstract

In this review article, we consider discrete-time birth-death processes and their applications to discrete-time queues. To make the analysis simpler to follow, we focus on transform-free methods and consider instances of non-birth-death Markovian discrete-time systems. We present a number of results within one discrete-time framework that parallels the treatment of continuous time models. This approach has two advantages; first, it unifies the treatment of several discrete-time models in one framework, and second, it parallels to the extent possible the treatment of continuous time models. This allows us to draw parallels and contrasts between the discrete and continuous time queues. Specifically, we focus on birth-death applications to the single server discrete-time model with Bernoulli arrivals and geometric service times and provide the reader with a simple rigorous detailed analysis that covers all five scheduling rules considered in the literature, with attention to stationary distributions at slot edges, slot centers, and prearrival epochs. We also cover the waiting time distributions. Moreover, we cover three Markovian models that fit the global balance equations. Our approach provides interesting insights into the behavior of discrete-time queues. The article is intended for those who are familiar with queueing theory basics and would like a simple, yet rigorous introductory treatment to discrete-time queues.

1. Introduction

This review article is intended as an introduction to discrete-time queues by focusing mainly on queueing models that fit the discrete birth-death equations. We cover most scheduling rules in the literature and give the stationary distribution at slot edges, slot centers, and at prearrival instants. We also cover instances of Markovian models that can be solved easily by recursive methods. Specifically, we pick models whose stationary distribution can be solved using global balance equations and cover the multiserver, batch arrival, and finite population Markovian models. Moreover, we focus on transform-free methods to make the analysis simpler to follow and present a number of results within one discrete-time framework. This approach has two advantages; first, it unifies the treatment of several discrete-time models in one framework, and second, it parallels to the extent possible the treatment of continuous time models. Moreover, we address BASTA (Bernoulli Arrivals See Time Averages), sometimes referred to as GASTA (Geometric arrivals See Time Averages), by giving the stationary distribution at prearrival epochs for all scheduling rules.

This article has several key contributions. We give a unified treatment of multiple models within one framework, compare the behavior of these models using multiple scheduling rules, give a direct proof of the distribution function of the waiting times in queue (delay), and assert that the waiting time distribution is the same regardless of the scheduling rule. Moreover, we address the BASTA issue in this simpler framework, note that BASTA in discrete-time queues behaves differently from its continuous time counterpart, and address non-birth-death queueing models with solutions that follow from recursive techniques.

This article’s focus is on single station queues. All our models, except for one, deal with single server queues. Meisling [1] appears to be the first to study a queueing system in discrete time. He used a generating function approach to obtain the system characteristics. Since then, queues in discrete-time have gained popularity due to their wide applicability in computer and communications networks. Hunter [2] gives detailed analysis of single server discrete-time queues using Markovian and generating function methods. Robertazzi [3] covers multiserver models and uses a recursive method to efficiently compute the system stationary distribution. El-Taha et al. [4] use transform-free methods to address and prove the insensitivity of discrete-time queues with processor sharing, loss, and infinite servers. There are a few results in the literature where authors focus on discrete birth-death models. Among these are Daduna [5] and Desert and Daduna [6]. Alfa [7] and Alfa [8] address birth-death processes in both books, but attention is restricted to the late arrival models. Bruneel and Kim [9] consider discrete queueing models that fit with the late arrival model observed at slot edges. Woodward [10] (Chapter 4) studies single server queues using the early arrival scheduling rule and the outside observer’s epochs. Halfin [11] discusses when arrivals see time averages for discrete-time queues and shows that the arrivals have to follow a Bernoulli process for GASTA to hold. See also Gravey and Hebuterne [12] where the stationary distribution function at prearrival epochs is given. In discrete-time systems, prearrival probabilities do not always coincide with the time-average probabilities observed at slot edges even with Bernoulli arrivals. See Daduna [5] and Desert and Daduna [6]. There have been recent articles that consider other aspects of discrete-time birth-death processes. Daduna [13] gives a detailed analysis of alternating birth-death processes. Ozawa [14], and Ozawa and Kobayashi [15] , consider discrete-time two-dimensional quasi birth-death processes. Fernández and de la Iglesia [16] study quasi-birth and death multivariate processes. Sasaki [17] gives examples of exactly solvable birth-death processes. See also Lenin and Parthasarathy [18], Daduna and Schassberger [19], Chaudhry [20], Chaudhry et al. [21], Dattatreya and Singh [22], Louvion et al. [23], Schassberger [24], Henderson and Taylor [25], and Neuts [26]. However, our focus is on one-dimensional birth-death processes that are used to describe fifteen instances of discrete-time queues by using five scheduling rules and three reference epochs. This review article highlights include the following:(1)The article uses a unified approach that combines direct sample path and stochastic techniques and avoids generating-functions methods to provide an accessible summary of all birth-death discrete-time queueing models in one framework.(2)Provides new insights into these models through a combination of generalizations, new results, new proofs, and comparisons of these models. However, the majority of the results are not new.(3)Presents in one unified space results for the five scheduling rules in the literature with each model studied using slot edges, slot centers, and prearrival epochs, thus allowing readers to compare these models at fifteen instances of these combinations.(4)Addresses BASTA and provides formulas for the prearrival probabilities for all five scheduling rules.(5)Addresses the waiting time distribution functions for all five scheduling rules using a unified approach.(6)Give three Markovian models that do not fit the birth-death equations contrary to their continuous time counterparts.

The rest of the article is organized as follows. In Section 2, we introduce the generalized birth-death process and give a general solution for the model. In Section 3, we study two special cases where in the first model, a customer that arrives at an idle server can leave within the same slot and in the other model, an arrival to find a server idle cannot leave in the same time slot. It turns out that these two specializations of the birth-death model cover all but one of the situations encountered in all five scheduling rules. In Section 4, we apply these two birth-death models to find the stationary distribution functions for all five scheduling rules at slot centers and at slot edges. In Section 5, we address BASTA issues; specifically, we give formulas for prearrival probabilities for all five scheduling rules. In Section 6, we address the waiting times and show that all rules lead to the same waiting time distribution function. In Section 7, we give instances of Markovian models that can be solved by recursive methods. Specifically, we cover the multiserver, batch arrival, and finite population models. Note that the multiserver and finite population models in continuous time can be represented by birth-death equations. This is not the case for the corresponding discrete-time models. Finally, in Section 8, we give concluding remarks.

2. Generalized Birth-Death Equations

In this section, we start with a sample-path version of the generalized birth-death equations, then introduce the stochastic version, and show how the stochastic birth-death equations fit into our sample path framework. We point out that our focus is exclusively on one-dimensional birth-death models. We use the term “generalized” because we do not make any stochastic assumptions in this section. The results follow by assuming that the relevant limits exist.

To formalize this approach, let be a discrete-time process with state space , where is the set of non-negative integers. Since we shall be using a sample-path framework, it is helpful to think of as a deterministic one realization (sample path) of a stochastic process. The process makes a transition from one state to another, possibly itself, at every time instant . In other words, we allow to make a transition from a state to itself.

For any state , let

During time , counts the transitions from state to state and is the total time in state . Now, we define the following limits when they exist:

Here, is the conditional long-run fraction of transitions from to , is the unconditional long-run transition rate from to , and is the long-run fraction of time in state . In a Markov chain setting, these quantities represent the one-step transition probabilities, the unconditional transition probabilities, and the stationary probabilities, respectively.

A discrete-time generalized birth-death process is a process where from any state the process can make a transition only to a neighboring state or the state itself. We use the term “generalized” because we do not require the process to be Markovian. We give a formal definition as follows.

Definition 1. Let be the set of non-negative integers. The process is said to be a discrete birth-death process if for each , andNote that for all , , and for all . Now, we give the generalized birth-death equations.

Lemma 2. Let . Then, the generalized birth-death equations are given by

Proof. It follows from the definitions thatSimilarly,Now, note that for all and In (7), divide by and take limits as to conclude thatThis completes the proof of the result.
The equations in (4) are valid without the assumption that the process is a Markov chain. We only need to assume that the relevant limits exist.
In a Markovian stochastic setting, one typically starts with the global balance equations of birth-death process represented by . Then,Equations (9) are simply the expanded version of the stationary equations encountered in Markov chains (see, for example Alfa [7]). The equations given by (9) can be represented by the flow balance principle, which states that for each state : the probability flow out of state  = the probability flow into state . Equations (9) may be written asNow, add equations (10) and (11) to obtainAdd (12) and (13) to obtainand so on. In general, using induction, we obtainWe obtained these same equations in Lemma 2 without the Markovian assumption and using only the assumption that relevant limits exist. The equations in (15) are referred to as the detailed (or local) balance equations. They represent the probability flow between states.
Solution to the generalized birth-death equations.
Solving (4) (equivalently (15)) recursively, one obtainsNow, assuming that exist, , and normalizing, we obtainwhere a over an empty set is 1. The second form is more compact but requires us to assume . Note that if and only if . Therefore,This solution is valid without any stochastic assumptions. We only assumed the existence of limits. We shall investigate Markovian queueing models using detailed balance equations. Specifically, we focus on models that can be represented as generalized birth-death equations. In Section 7, we discuss a number of models using global balance equations that can be solved by iterative methods. Since most applications involve the geometric distribution function, we give a quick review of this distribution. A random variable is said to have a geometric with parameter , , ifThe geometric distribution has properties similar to the exponential distribution. The first and second moments are given by and , and the variance is also given by . The complement of the cumulative distribution functions (CDF) is Moreover, it has the memoryless property; i.e., ; k = 1, 2, ⋯. In particular, if , we obtain .

2.1. A State-Dependent Generalized Birth-Death Process

Consider a state-dependent birth-death process that represents a Bernoulli queue where an arrival will occur with probability if the system state is , i.e., there are customers in the system. Similarly, a service completion will occur with probability when the system state is . When , we assume or , where is a constant such that . Now, we use the birth-death model in the previous section with

Substitute in (18) to getwhere

The birth-death equations are not particularly useful at this level of generality. In the next section, we consider two special instances that are not only useful but cover a good number of situations related to Markovian single server queues in discrete time.

We point out that the results in this section are not new. Daduna [5] and Desert and Daduna [6] give a formula for a birth-death process with state-dependent arrival and service completion probabilities, for the case where . Alfa [7] considers a birth-death process with and uses matrix geometric and generating functions methods in his analysis. Our birth-death process does not have these restrictions; thus, we are able to study a wider class of systems with a larger selection of observation epochs by switching between and where is a constant. This leads to a unified and simplified treatment of all scheduling rules at multiple reference points, as we shall see in Section 3.

3. Two Special Birth-Death Processes

In this section, we are motivated by single server queues with Bernoulli arrivals and geometric service times. That is, Markovian single server queues that can be modeled by a birth-death process. At this point, we do not consider specific scheduling rules or specific observation epochs. In general, there are five scheduling rules and three observation epochs that are of interest, giving us a large number of situations that will be covered in Section 4. For the vast majority of situations, as we shall see later, the stationary distribution will be given by one of the two cases we cover in the two subsections as follows.

3.1. The Birth-Death Process with

Consider a Markovian single server discrete-time queue with infinite waiting room. Arrivals follow a Bernoulli process such that the probability of arrival at any given time instant is . Equivalently, the time between arrivals follows a geometric distribution with mean . Service times are i.i.d. such thatthat is, the service times follow a geometric distribution function with mean . This means that , and . In addition, we assume . See Figure 1 for a flow balance diagram. Substitute in (21) to obtainwhere implies

The system is stable, i.e., if and only if , which implies

The stability condition is implied by . This is so because implies that which implies that , thus . Simplify to obtain

Therefore,

Let and . Then, we have the following result.

Theorem 3. Consider the state-independent birth-death model with . Then, the stationary distribution function is given by

This is the same formula given by El-Taha et al. [4] for the round Robin model. The round Robin model is known to have the insensitivity property; that is, its stationary distribution does not depend on the shape of the service time distribution function but only on its mean. See also Hunter [2]. Now, we give performance measures and show that their proofs are similar to those of the case.

Theorem 4. The mean number of customers in the system, , and the mean number of customers in the queue, , are given by

Proof. By definition , therefore,where we have used the relation . See Gross et al. [27] for details. Now,

3.1.1. Mean Delay of the Model

We can use Little’s law to evaluate the waiting time in the system and the queue and , respectively. Instead, we will use an intuitive approach similar to the one used to compute in the continuous case.

Here, we still assume that we have a Bernoulli arrival process with parameter , but general discrete service times with mean and second moment . We assume that the system is stable in the sense that . Moreover, we assume a FIFO discipline. We use an intuitive argument to give the following closed form expression for the mean delay in the system.

Theorem 5. The mean waiting time in the queue (excluding service times) is given by

Proof. We show that (33) holds using an intuitive argument similar to the case. First, note that the log-run fraction of time the server is busy (i.e., probability that the server is busy) is equal to . Moreover, the remaining limiting time-average service time for the customer in service at arrival instants is given by . Let be the (virtual) waiting time for a randomly arriving customer. On average, this customer finds customers ahead of him/her in addition to the one in service. Therefore, , where is the residual time of the customer in service. Now, BASTA (Bernoulli arrivals see time averages), El-Taha and Stidham ([28], Chapter 3), and imply that , and Little’s law implies that . Therefore,Simplify to obtain (33).
Other performance measures can now be obtained immediately. For instance, , and using Little’s law, , and . A more rigorous proof of (33) can be obtained using a discrete version of (see El-Taha and Stidham [28] and El-Taha [29]). Now, let the service times be geometric with parameter so that , and . Using (33) and noting that ; we obtainWe treated the model as a special case of the model. The results here are consistent with the birth-death model as can be verified using Little’s law.

3.2. The Birth-Death Process with

Here, we consider the same model as in Subsection 3.1 except that in this case . Referring to the generalized birth-death model, we have

A state diagram for this model is given in Figure 2.

Substitute in (21) and (22) to obtainwhere

We see from (38) that if . Then,

Theorem 6. Consider the state-independent birth-death model with . Then, the stationary distribution function is given by

Note that the mean of the distribution given by (39) is given bywhich is not the same as given by the distribution function corresponding to the case . Using Little’s law will result in the wrong expression for the mean waiting time as pointed out by Desert and Daduna [6]. We believe the reason for this is the fact that when , there will be customers that will enter and leave the system in state 0 so that these customers are not counted when the system is observed at the corresponding observation epochs.

4. Applications of Birth-Death Processes to Discrete-Time Queues

In this section, we consider various scheduling rules at various observation epochs. We start by identifying five scheduling rules and various observation epochs of interest.

4.1. Scheduling Rules for Discrete-Time Queues

In this subsection, we discuss five scheduling rules. These rules are the early arrival system (EAS), the late arrival system with immediate access (LAS-IA), the late arrival system with delayed access (LAS-DA), the late arrivals with arrivals first system (LA-AF), and the late arrivals with departures first rule (LA-DF).

In discrete-time queues, time is divided into slots of equal length of one unit. Slot edges are numbered by , where . It is assumed that arrivals and departures occur only on slot boundaries. Contrary to continuous time queues, here, we need to keep track of the order of arrivals and departures in each slot. Depending on the behavior of the actual system, the order of potential arrivals and departures at any given slot varies significantly. In the literature, one finds the early arrival system (EAS) where an arrival occurs at the beginning (before a potential departure), and the late arrival system (LAS) where an arrival occurs at the end (after a potential departure) of a time slot. Late arrival systems are further refined into two subsystems. For the late arrival system with immediate access (LAS-IA), an arrival can start service immediately and possibly leave at the start of the next time slot if the arrival finds an idle server. For the late arrival system with delayed access (LAS-DA), the arrival waits until the next time slot to start service. For details about different scheduling regimes, one may consult Hunter [2] and Chaudhry [20]. Others schedule potential arrivals and departures at the end of a time slot. In one such rule, at the end of any time slot, potential departures occur first, then potential arrivals, and then the system state is observed. This is the convention used by El-Taha et al. [4] and Daduna [5] and Desert and Daduna [6].

The convention where an arriving customer can enter and leave an empty queue in the same time slot (immediate access) is considered in Chapter 6 of Robertazzi [3] for discrete models that use “virtual cut-through” routing where a packet starts transmission before it is completely received at its current node. In this article, we follow the notation setup as in Hunter [2], Chaudhry et al. [21], El-Taha et al. [4], and Desert and Daduna [6]. We assume work conserving queueing discipline, i.e., the server is not idle when there is work in the system (note that in LAS-DA if an arrival finds an idle server, the delayed access is not counted because the server becomes available to serve only at slot boundaries). Next, we describe each of the scheduling rules.

4.1.1. EAS Scheduling Rule

In the early arrival system (EAS), potential arrivals are scheduled to occur before potential departures. More specifically, a potential arrival in slot occurs in , and a potential departure in slot occurs in . Moreover, if an arrival finds an idle server, it goes into service immediately and can potentially depart in the same time slot.

The EAS is also referred to as the departure first (DA) system by other authors. In this situation, if one focuses on the time instance, say, , then we have , where and refer to potential departures and arrivals, respectively. See Gravey and Hebuterne [12] for a reference on this.

4.1.2. LAS-IA and LAS-DA Scheduling Rules

In this late arrival system (LAS), the order of potential arrivals and departures is reversed so that a potential departure occurs early in a time slot and potential arrivals occur at the end of the slot so that . More specifically, a potential departure in slot occurs in , and a potential arrival in slot occurs in . Moreover, if an arrival finds an idle server and goes into service immediately and can potentially depart at the start of the following time slot, the system is called immediate access (IA), if the arrival waits until the start of the next slot to start service, then the system is called delayed access (DA).

4.1.3. LA-DF (Late Arrivals with Arrivals First)

In this late arrivals with departures first system, both potential arrivals and departures occur late in the slot so that . An arrival that finds an idle server starts service at .

4.1.4. LA-AF (Late Arrivals with Departures First)

In this late arrivals with departures first system, both potential arrivals and departures occur late in the slot so that . An arrival that finds an idle server starts service at . See Figure 3 for a depiction of the above-stated scheduling rules.

In the following subsections, for each of the scheduling rules, we deal with single server queues with Bernoulli arrivals and geometric service times. More specifically, let the random variables and represent the interarrival and service times, respectively. Assume that interarrival times and service times are i.i.d. and independent of each other. Let the mean interarrival times , and mean service times , where , and let the traffic intensity . We refer to the observation epochs at slot edges as the random observer epochs. This is consistent with the notion of the random observer in continuous time queues. We also follow the literature by referring to the slot centers as the outside observer epochs.

Whether the system state is observed at slot edges or slot centers, all these five models, except for LAS-DA, fit the birth-death equations covered in Sections 2 and 3. In these cases, we have

In each case, we need only to determine if or . When the system state is observed at random observer epochs, we check if an arrival can depart in the same slot of its arrival. This can happen if in an EAS rule, an arrival with one unit of service arrives to find an idle server. In this case, ; otherwise, . It would be instructive if the reader creates a probability flow diagram like Figure 1. For the outside observer, we have a similar situation except we think of a modified slot . We note that LAS-DA model follows the birth-death process when observed at slot centers. At slot edges, the model follows the birth-death process when . So, we need to pay special attention to this case as we shall see in Subsection 4.2.

4.2. The Random Observer Stationary Distribution

Here, our interest is in the process ; that is, the state of the system is observed at slot edges , . Specifically, we are interested in the stationary distribution function of the process given by for various scheduling rules.

4.2.1. Queues with EAS Rule

In this model, a potential arrival occurs before potential departures in a time slot, and when a customer arrives to find a server idle, the customer will enter service immediately and therefore may leave in the same time slot.

Here, we are interested in the stationary distribution function at the slot edges, and then we have a birth-death model with . Therefore, (16) gives the stationary distribution function.

4.2.2. Queues with LAS-IA Rule

Here, we are interested in the distribution function at the slot edges, and then we have a birth-death model with . Therefore, (12) gives stationary distribution function.

4.2.3. Queues with LA-AF and LA-DF Rules

Here, we are interested in the distribution function at slot edges, and then we have a birth-death model with . Therefore, (12) gives the stationary distribution function.

4.2.4. Queues with LAS-DA Rule

This model observed at the slot edges does not fit a birth-death process because of the transition to and from state one. However, for states , the process of the number of customers in the system behaves like a birth-death process. See Figure 4 for details. Therefore,

A customer that arrives to find an idle server cannot leave in the same time slot and starts service at the beginning of the next time slot. We call this state . Note that a service completion cannot occur in state . From state , the process can transition to state if no arrivals occur in the next time slot. State behaves like state 1 in the LAS-IA model. The following are the balance equations for states , and .

One can replace the balance equation for state with the balance equation across the cut and its complement , i.e.,

Solve these equations to obtain

Now, so that . Simplify to obtain the following.

Theorem 7. The random observer stationary distribution function of the LAS-DA queue is given by

An alternative approach to obtain this distribution function is to use the relationship between the stationary distribution functions at observation epochs and potential prearrival epochs as given by Hunter [2], page 204. But his approach requires that we know a priori, the distribution function at potential prearrival instants. Our approach is simpler and based on solving birth-death equations for and global balance equations for .

4.3. The Outside Observer Stationary Distribution

Here, our interest is in the process ; that is, the state of the system is observed at the outside observer epochs, i.e., at the slot centers , . Specifically, for various scheduling rules, we are interested in the stationary distribution function of the process given by , defined as

Here, is the stationary probability that the process is in state , where state is observed at the slot centers. Let and replicate the analysis in Sections 2 and 3, using , we obtain similar results, where replaces for the results in (29) and (39). Specifically, we have the following theorem.

Theorem 8. Consider the birth-death process of Section 3, but now, the state is observed at slot centers.(1)Let , then the stationary distribution function is given by(2)Let , then the stationary distribution function is given by

Note how and for all . Next, we give the stationary distribution function at the slot centers for each of the five scheduling rules.

4.3.1. Queues with EAS Rule

Here, we are interested in the distribution function at slot centers, then we have a birth-death model with . Therefore, the stationary distribution function, , is given by (47). Note that the stationary distribution at the random observer epochs is associated with .

4.3.2. Queues with LAS-IA Rule

Here, we are interested in the distribution function at slot centers, and then we have a birth-death model with . Therefore, the stationary distribution function is given by (48). In contrast, the stationary distribution at the random observer epochs is associated with .

4.3.3. Queues with LA-AF and LA-DF Rules

Here, we are interested in the distribution function at slot centers, then we have a birth-death model with . Therefore, the stationary distribution function, , is given by (47). This is the same as the stationary distribution at random observer epochs.

4.3.4. Queues with LAS-DA Rule

Here, we are interested in the distribution function at slot centers, and then we have a birth-death model with . Therefore, the stationary distribution function is given by (47).

Hunter [2] gives formulas for the EAS rule at the random observer epoch, and the LAS-DA and LAS-IA rules at the outside observer’s epoch using generating function methods. Desert and Daduna [6] give formulas for the EAS, LA-DF, and LA-AF at the random observer epochs. See also Alfa [7], Alfa and Kim [8], Woodward [10], and Chaudhry et al. [21], among others. In this section, we presented a unified treatment of all these scheduling rules at slot edges and slot centers.

5. Bernoulli Arrivals See Time Averages

We investigate when Bernoulli Arrivals See Time Averages (BASTA), also referred to as GASTA (Geometric Arrivals See Time Averages). Interestingly, and contrary to the continuous time case, Bernoulli arrivals do not necessarily see time averages in the same sense as it happens in the continuous time case. We assume a single-server discrete-time queueing model with at most one potential arrival and/or departure in a time slot. How Bernoulli arrivals see time averages depends on the scheduling of the order of arrivals and departures in a time slot.

5.1. Characterization of BASTA

We start by giving a general characterization of BASTA for a discrete-time process with an imbedded arrival process without consideration of any scheduling rules. Let be an imbedded point process associated with process , such that is the arrival instant of the arrival. Let be an associated counting process such that counts the points of in , that is, process counts the number of arrivals in . Note that we assume one possible arrival at any given time instance.

For any state , counts the state arrivals during . Now, define the following limits when they exist.

With a simple imbedded arrival process, we interpret as the long-run arrival frequency, as the state- long-run arrival frequency, and as the long-run frequency of arrivals that find the system in state . In a stochastic system, w.p.1, is the probability of arrival at any given time instant, is the state arrival probability, and is the prearrival probability of finding customers in the system upon arrival. The following sample path result states that prearrival probabilities equal time-average probabilities if and only arrival probabilities are state independent.

Theorem 9. For any state , assume that all quantities are well defined. Then,

Moreover, if for all , then

Proof. It follows from the definitions thatThis proves the first part of the theorem. The second part is straightforward.
A continuous analog of the above sample-path version is proved in El-Taha and Stidham [28]. Note that the condition for all is the equivalent of the Lack-of-Bias (LBA) condition given by Makowski et al. [30].
Now, assume we are working with a stochastic process with an imbedded point process. Specifically, consider , where is a discrete-time stochastic process and for each , if an arrival occurs and 0 otherwise. Typically, one makes the following Lack of Anticipation assumption (LAA) which is sufficient for BASTA to hold.

5.1.1. Lack of Anticipation Assumption (LAA)

Assume thatfor all , ; and is Bernoulli p.m.f. with parameter .

The LAA assumption says that future arrivals are independent of the history of the process . It turns out that this is a too strong condition for ASTA. On the other hand, the weaker condition LBA says the future arrivals and the present state of the system are uncorrelated. This weak condition that is not easy to verify in practice. A stronger condition that says future arrivals are independent of the current state of the process seems to avoid these issues and work well for our purposes. Therefore, we will use the following lack of dependence assumption (LDA).

5.1.2. Lack of Dependence Assumption (LDA)

Assume that for all for all , all , and is Bernoulli p.m.f. with parameter .

Remark 10. The important assumption here is that LDA holds. The Bernoulli arrivals assumption by itself is not sufficient for BASTA to hold. We need the LDA independence assumption. To see why LDA is important, consider a system with Bernoulli arrivals that occur at times with probability (geometric interarrival times) and let the service of arrival be one-half the next interarrival time. Then, all arrivals will see the system in state 0, but the system will spend half the time in state 0, that is , but and .
Since is a Bernoulli process, one can see that under LDA the conditional state -arrival probabilitiesand the prearrival probabilitiesfor all .
Note that if the LDA holds, then for all . When is a Bernoulli process, Theorem 9 is referred to as BASTA and sometimes GASTA for geometric arrivals see time averages. Several authors including Halfin [11], Makowski et al. [30], El-Taha and Stidham [28], and El-Taha and Stidham [31] have addressed the discrete-time BASTA, in the framework of a stochastic discrete-time process with an imbedded point process, and its variants. The BASTA issue in discrete-time queueing models with specific scheduling rules will be addressed next.

5.2. BASTA for Queues with Scheduling Rules

In a queueing system, one can think of the time instants as the epochs where the system state is observed. Potential arrivals (departures) can be scheduled right before (after) or right after (before) a time instant . In such situations can be taught as a potential prearrival instant if a potential arrival is scheduled to occur in . Moreover, if a potential arrival is scheduled to occur in , then will be considered a potential prearrival instant.

BASTA suggests that, similar to the continuous time case, when arrivals follow a Bernoulli process, the prearrival probabilities will equal the corresponding random observer probabilities. This is true for a discrete-time process with an imbedded Bernoulli point process. However, it turns out that when we invoke scheduling rules, BASTA in the sense discussed above does not necessarily hold. For each of the five scheduling rules, we will give the expression for the prearrival probabilities (which may or may not equal the random observer probabilities). We assume arrivals to be i.i.d. and work with an equivalent LDA assumption that does not require the entire history of the process. In each case, we also refine the LDA assumption to fit the specified scheduling rule.

5.2.1. The EAS Rule

Here, we give a BASTA related relationship and related results using the generalized birth-death model. Because the arrivals are i.i.d. and taking into account that in EAS rule arrivals occur right after slot edges, the LDA assumption takes the following form.

For all

Theorem 12. Consider a single server queueing system with EAS Rule. Then,

In particular, if LDA holds, then

Proof. Using the law of total probability, we obtainNow, it follows thatThis proves the first part of the theorem. The second part follows by noting that the LDA assumption implies for all .
The relation in the first part of Theorem 12 is the discrete-time counterpart of a similar one that has been used in continuous-time stochastic models as the basis for a proof of PASTA (Cooper [32]).

5.2.2. The LAS-DA and LAS-IA Rules

Here, we derive relationships between prearrival probabilities and time average probabilities using the generalized birth-death model for both the LAS-IA and LAS-DA rules. We assume late arrival, that is, a potential arrival occurs at . We also assume that the prearrival observed instance falls after the occurrence of a potential departure. Because potential departures occur before potential arrivals in any time slot, the number of customers an arrival sees depends on whether an actual departure occurs in .

Lemma 14. For any LAS generalized birth-death model with state arrival and service probabilities and , respectively, we havewhere .

In particular, if for all (state independent), then

Proof. Now, if the state at a potential prearrival instant is , i.e., an arrival sees customers in the system, then the state at is . So,The lemma follows by noting that .
Daduna [5] uses this type of argument. Using (63), we see that BASTA does not hold here in the sense that prearrival probabilities equal time-average probabilities where the average is taken with respect to time instants at the slot edges, . We can use this relationship to derive an expression for the prearrival probabilities. Instead, we will use a different approach where we relate prearrival probabilities to the outside observer probabilities.

5.2.3. LDA for LAS Rules

For the LAS rules, the lack of anticipation assumption takes the form.

Lemma 15. For any LAS generalized birth-death model with state arrival and service probabilities and , respectively, we have

In particular, if LDA holds, then

Proof. For all ,Note that the LDA assumption implies that for all . The lemma follows by noting that .
Instead of , one can use any which is referred to as the outside observer interval.

5.2.4. The LA-AF Rule

Here, we consider the LA-AF rule. In this rule, both potential arrivals and departures occur at the end of a time slot with arrivals occurring before departures.

For the LA-AF models, the lack of dependence assumption takes the form.

Note that can be observed for any in the interval since for any such , the system state does not change.

Lemma 17. For any LA-AF generalized birth-death model with state arrival and service probabilities and , respectively, we have

In particular, if LDA holds, then

Proof. For all Note that the LDA assumption implies that for all . The lemma follows by noting that .

Remark 18. Note that in LDA, if we selected instead of , then we would have ended up with the distribution , instead . So, the choice of as an observation epoch allows another independent pathway to prove BASTA implies that for the LA-AF rule .

5.2.5. The LA-DF Rule

We assume LA-DF, that is, a potential arrival occurs at . In this model, a prearrival observed instance falls after the occurrence of a potential departure. Because departures occur before arrivals, the number of customers an arrival sees depends on whether an actual departure occurs in .

For the LA-DF model, the lack of dependence assumption takes the form.

Lemma 20. For any LA-DF generalized birth-death model with state arrival and service probabilities and , respectively, we havewhere .

In particular, if LDA holds, then for all (state independent), and

The statement and proof of this result are similar to those of Lemma 17.

Again, using (75), we see that BASTA does not hold here in the sense that prearrival probabilities equal random observer probabilities. The following corollary gives an expression for the prearrival probabilities.

Corollary 21. Assume LDA holds, and let the service time be geometric with mean . Then,

Proof. Note that LDA implies that for all , so that (75) holds. For the LA-DF rule, , so it follows from (75) that . Moreover, , . Simplify to obtain the desired result.
Note that in this LA-DF rule, the prearrival stationary distribution does not equal the stationary distribution at slot edges (random observer) and not slot centers (outside observer). However, it is equal to one of the two birth-death forms discussed in Sections 2 and 3.
Gravey and Hebuterne [12] address BASTA related results for the LAS and EAS scheduling rules. They show that, using the results of Halfin [11], for LAS rules, the distribution function at arrival instants equals the distribution function at the outside observer epochs. They also conclude that the same result does not hold for the EAS rule (in the sense that arrivals see time averages at the outside observer instants). Daduna [5] studies LA-DF and LA-AF. He shows that BASTA holds for the LA-AF in the sense that arrivals see the same as random observers. Referring to LA-DF, he states that BASTA does not function the same as the continuous time case. Desert and Daduna [6] obtain formulas for the distribution functions at prearrival epochs for the three scheduling rules EAS, LA-DF, and LA-AF. Our results complement their conclusions in the sense that we give the distribution function at prearrival instants for all five scheduling rules. Moreover, instead of using the LAA assumption, we state a specific weaker LDA assumption for each scheduling rule. This, we believe, leads to a better understanding of BASTA in regard with applying it in discrete-time queues with specific scheduling rules.

5.3. Summary

In Table 1, we provide a summary of the results for stationary distribution functions for five scheduling rules at three observation epochs.

The results in this summary are not new, for the most part, neither the use of birth-death processes. However, the use of one birth-death equation to generate all the results for the random and outside observers is novel. Several results appear in Hunter [2] who deals with EAS, LAS-IA, and LAS-DA scheduling rules. Specifically, for the EAS rule, Hunter [2] pages 197 and 199, respectively, give the outside and random observer’s results. Moreover, for the EAS and LAS-IA rules, the arrival-times distribution function can be seen to follow from Example 9.4.1 of Hunter [2], page 248. Similarly, the LAS-DA arrival-times distribution function follows from Example 9.4.2 of Hunter [2], page 252. For LAS-DA outside observer, and LAS-IA outside and random observers, the distribution functions can be obtained by utilizing relationships between scheduling rules at various embedding epochs, as given by Hunter [2] pages 9 and 253. The results obtained by Hunter, however, utilize generating function techniques. By contrast, results for the random and outside observer’s epochs in the table follow from using one birth-death model. For the LAS-DA random observer, one can manipulate the relationships given by Hunter [2], page 204, to obtain the distribution function for this case. Our approach given by (45) is simpler. Additionally, the LA-DF random observer distribution function can be obtained from El-Taha et al. [4] who give the result for the -LA-DF round Robin model. The results are the same due to the insensitivity of the round Robin model to service times distribution function. The LA-DF and LA-AF outside observer’s distribution functions are given by Daduna [5], and the LA-DF and LA-AF arrival-times distribution functions are given by Desert and Daduna [6]. We point out that Daduna [5] and Desert and Daduna [6] use birth-death models. Furthermore, the prearrival and outside observer probabilities for the EAS and LAS-DA can also be deduced from the results given by Chaudhry et al. [21] and Takagi [33]. However, their results are obtained using generating functions.

We are able to obtain an expression for the prearrival probability distribution functions for all scheduling rules. This expression is not the same for all the scheduling rules, which led some in the literature to speculate that BASTA does not always hold. We see, at least in the cases covered here, that BASTA holds in its own special way. When one considers discrete-time queues with varied scheduling rules, the arrival-time probabilities will equal the time-average probabilities, but the time-averaging can be at slot boundaries (random observer epochs) or slot centers (outside observer) depending on the applied scheduling rule. Only for EAS and LA-AF rules, the prearrival probabilities equal the random observer probabilities, a result that parallels the continuous time case.

Note that with exception of the random observer LAS-DA model; all other fourteen expressions have one of the two birth-death forms. Moreover, the mean number of customers in the system is obtained from the expressions that contain . Applying Little’s law, we obtain as we shall see in the next subsection.

An important observation here is that no two stationary distribution functions for any pair of scheduling rules give identical results for the three observation epochs. Note that one can also use other epochs to evaluate time average distribution functions like potential prearrival, potential postarrival, potential predeparture, and potential postdeparture epochs. There is no equivalent for these epochs in the continuous time case, as all these epochs lead to averaging continuously over time.

6. Waiting Times

Now, using the prearrival stationary distribution functions and Little’s law, we give the system performance measures and show that their proofs are discrete counterparts of the continuous-time case. Now, let be a random variable that represents the time in the queue and let be the cumulative distribution function of the time in the queue. Then, we have the flowing preliminary result.

Lemma 22. For any of the five scheduling rules,

Proof. Note that for any of the EAS, LAS-IA, or LA-DF rules, the customer delay in the queue is 0 if upon arrival to an empty system, the customer starts service immediately. Therefore, . Then, the lemma follows from the summary results in Subsection 5.2. Now, assume LAS-DA or LA-AF rule. For these systems, , where is the probability of departure from state 1. This is because in these systems, an arrival that finds one customer with one unit of service does not wait and goes immediately into service. For the LAS-DA, this happens after its one unit delayed access. In this case,This completes the proof.
In the following theorem, we give an elementary direct proof for the waiting time distribution.

Theorem 23. Let be the probability mass function of the time in queue. Then,

Moreover, the cumulative distribution function of the time in the queue is given bywhere .

Proof. We assume any of EAS, LAS-IA, or LA-DF rules. For , we haveNote that in the third line, of the departures occur in time units and the last departure occurs at time . Now, simplify to getwhere we use the fact that and .
Now, we assume LAS-DA or LA-AF rules. For these systems, for a customer to be delayed units, there has to be service units and one departure at time . Note that because the first service position does not cause any delay, an arrival must see units of work in the system for a unit delay. Additionally, when , work in the system (i.e., the remaining service of the customer in service) . Therefore,Simplify to obtainThe second part follows by letting and simplifying.
Performance measures are obtained using Theorem 23 and Little’s law.

Theorem 24. The mean waiting time and the number of customers in the queue and in the system are given by

Proof. The mean waiting time in the queue is obtained asNow, is obtained using where is the mean service time. Moreover, and are now obtained using Little’s law.

Remark 25. For the EAS and LAS-DA systems, obtained here is associated with the outside observer distribution. For the LAS-IA, L is associated with the random observer distribution.
Hunter [2] recognizes that the three schedule rules EAS and LAS-DA and LAS-DA have the same waiting time distribution. He gives the waiting time distribution function utilizing generating function techniques. Desert and Daduna [6] obtain waiting time results for EAS, LA-DF, and LA-AF and show that the distribution function is the same for the three scheduling rules using generating function methods. We extend those results to all five scheduling rules and provide a direct unified proof for all cases and for both the density and cumulative distribution functions.

7. Applications Using Global Balance

In this section, we consider three examples of Markovian models, namely, a multiserver, finite source, and batch-arrival single server models that do not fit the birth-death equations, but their stationary distribution functions can still be computed efficiently by recursive methods. It is well known that the multiserver and finite source continuous-time models can be considered as special cases of the continuous birth-death equations. By contrast, the corresponding discrete-time models do not fit the birth-death equations. Here, we use global balance equations to obtain the stationary distribution functions using recursive methods.

7.1. Finite Buffer Multiserver Model

Consider a finite buffer multiserver model denoted by , where indicates Bernoulli arrivals with parameter , geometric service times with parameter , servers, and a finite buffer , where represents the number of servers and the waiting space. The loss model is a special case with . The state is the number of customers in the system in steady state. Transitions occur because of arrivals to the system and/or service completions. We assume that in any time slot, departures occur before arrivals. This is consistent with the LAS-IA and LA-DF systems. For , the transition probabilities are given as follows. The probability of arrival that takes the system from state to is given bythe probability that the system moves from state to is given byand 0, otherwise. Here, . We point out that when time is slotted as in communication networks, these transition probabilities do not allow a job to enter and leave state 0, i.e., an empty queue. When that is permitted, then slightly modified transition probabilities can be derived. For details, see Robertazzi ([34], Chapter 6). Now, the global balance equations are given by

Now, we solve the global balance equations in (89) recursively starting with and working backward. Note that there is no known closed form expression for this multiserver model.

Theorem 26. Let . Then, for ,where are obtained recursively such thatwhere .

Proof. The proof is by induction. From the global balance equations (89)so thatAssume for and show that . Now, for , write the global balance (89) aswhich can be written asNoting that , and normalizing, we complete the proof.
Note thatThe theorem leads to the following Algorithm 1.
This recursive procedure is effective for small . When is large, this method can lead to overflow problems. There are several methods in the literature to deal with stability and overflow issues. Gao et al. [34] analyzed a multiserver model with geometric service times and general interarrival times using a generating functions approach.

(1)Let .
(2)For
(3)For
(4)For , set
7.2. Finite Source Discrete-Time Model;

Consider a discrete-time model with identical machines. Individual machine failures follow a Bernoulli process with parameter ; that is, an up machine fails with probability at any given time instant. Failed machines join a queue for repair if one is in service; otherwise, a failed machine joins the service immediately. Service times are geometric with parameter . Repaired machines join up machines immediately upon repair. This queueing system is also known as the finite population model. The state of the system is the number of down machines in steady state taking values in the state space . For , the transition probabilities are given byand 0 otherwise. Note that simplifies to

This form of transition probabilities indicate that in state 0, no failed machine can be repaired in the same slot. This again is consistent with the models where departures precede arrivals in a time slot. This is the case for LAS-IA and LA-DF models. Moreover, the global balance equations are given by

Now, we solve the global balance equations in (99) recursively starting with .

Theorem 27. The stationary distribution is given bywhere are obtained recursively such that , and

Proof. The proof is by induction. From the global balance equations (99), we haveso thatAssume for and show that . Now, rewrite the global balance (99) aswhich givesso thatwhich proves the theorem.
This theorem leads to the following Algorithm 2 to calculate stationary probabilities.

(1)Let .
(2)For , use (101) to compute recursively.
(3)For , set .
7.3. Discrete-Time Batch Arrival Model;

Let be the number of arrivals at any given time instant. Arrivals at different time instants are ., and , , and 0 otherwise; and . Service times are . They are independent of arrival times. Let the service time be geometric with parameter . For , the transition probabilities are given byand 0 otherwise. These transition probabilities are consistent with the LAS-IA and LA-DF scheduling rules. Moreover, the global balance equations are given by

Now, we solve the global balance equations in (108) recursively.

Theorem 28. The stationary distribution is given bywhere are obtained recursively such that , , and for

Proof. The proof is by induction. From the global balance equations (108), we haveso thatFor , rewrite the global balance (108) asand let for . Then,This completes the proof of the theorem.
Note that we did not use the actual transition probabilities in the theorem. This will be done in the following corollary. We shall need the stationary distribution function of the EAS scheduling rule to use in the analysis of waiting time distribution as follows. The one-step probability transitions for the EAS rule are given byThe remaining transition probabilities are unchanged from the previous case. The following corollary gives the details of the solution procedure using the system parameters.

Corollary 29. The stationary distribution is given bywhere are obtained recursively such that ,and for This theorem and its corollary lead to the following Algorithm 3 to calculate the stationary probabilities.
Other stopping rules can be used in step 3.

(1)Choose a value for , and let and
(2)Compute for LAS-IA and LA-DF, or for EAS.
(3)For , compute using (118).
(4)If ; stop; otherwise increment and repeat steps 2 and 3.
(5)For , set .
7.3.1. Waiting Time Distribution Function

In the following theorem, we give an elementary direct proof for the waiting time distribution. Let be the probability that a randomly selected customer in an arriving batch is in position , . Then, see Cox [35], p. 61.,

See also Burke [36] who uses this result to obtain a waiting time distribution function for batch arrival continuous time queues. Since waiting times are independent of the scheduling rule, we select the EAS rule. For the EAS rule, it can be shown, using Theorem 30, that for all .

Theorem 30. Let be the probability mass function of the time in queue. Then,

Proof. We assume EAS rule and note that the first few steps of proof are similar to the same steps in the proof of Theorem 23. For , we haveNote that in the last step, of the departures occur in time units and the last departure occurs at time . Simplify to obtain the desired result.
The direct nontransform approach in Theorem 30 is similar to the approach used by Chaudhry et al. [37] to compute the waiting time distribution in a batch arrival multiserver system. This approach is later utilized in Chaudhry et al. [38].

7.4. Numerical Results

In this subsection, we give numerical results for the models discussed earlier. The three algorithms described in this section for the multiserver, the finite population and the batch arrivals models are programmed using the Python programming language. The programs were verified carefully to make sure the results are accurate including running the code for special cases with known results. The algorithms and the Python programs provide an easy-to-follow approach to obtain quick numerical results for the stationary distribution functions of the three models discussed in this section.

For the multiserver and finite population models, we use . Moreover, for the multiserver model, we use , , and ; and for the finite population model, we use and . For the batch arrival models, we use , , , , , and 0 otherwise. We iterate on until the stopping criterion is satisfied with . For the batch arrival LAS-IA and LA-DF cases, we iterated until . For the batch arrival EAS model, we needed . For all models, we report the probabilities . We also give and . In batch arrival cases, we, additionally, report . The results are given in Table 2.

In this section, we used a recursive approach to compute numerically the stationary probabilities for three models. One can use these probabilities to compute other performance measures.

8. Concluding remarks

In this article, we use a unified approach that combines direct sample path and stochastic techniques and avoids generating function methods. We start with a general birth-death process that covers all single-server, single-arrival Markovian queueing models covered in this article. We present in one unified space results for all the five most used scheduling rules in the literature, allowing readers to compare these models. We address BASTA issues and note that when considered within the context of a discrete-time process with an imbedded point (arrival) process, ASTA holds at a great level of generality. However, we observe, as others, that BASTA does not hold in the classical sense that prearrival probabilities are equal to the random observer probabilities. Nonetheless, we provide formulas for the prearrival probabilities for all five scheduling rules.

One interesting observation from our summary in Subsection 5.2 is that when considering stationary distributions at random observation epochs, outside observation epochs, and at prearrival epochs, we conclude that no two scheduling rules lead to identical results. Each of the five scheduling rules has merits of its own. One could consider scheduling rules with potential arrivals and departures occurring at the beginning of a time slot, but these do not make sense from the point of view of managing arrivals/departures in a slot, and they have not been considered in the literature to the best of our knowledge.

We also consider waiting time distribution functions. Our results match those of Hunter [2] for three of the scheduling rules covered by Hunter and extend those results to the other two, namely, the LA-DA and LA-AF rules. Specifically, all rules lead to the same waiting time distribution function. This is interesting and worth investigating for systems with general arrival processes and general service times. This also has implications for Little’s law and its applicability in discrete-time queues. Finally, we give three Markovian models where the results of two of them (the multiserver and the finite source models) do not fit the birth-death equations contrary to their continuous time counterparts.

The article should be accessible to researchers, engineers, and graduate students interested in learning the basic elements of discrete-time queues. The only requirement is a basic knowledge of probability and stochastic processes. This article should also be useful for people familiar with continuous-time systems and would like an accessible introduction to discrete time-queues, yet the article addresses significant issues in discrete-time queues.

Data Availability

No data were used to support the findings of this study.

Conflicts of Interest

The author declares that there are no conflicts of interest.