1. Introduction
This queuing system with retrials and interruptions is motivated by the need to model real-life processes that involve dynamic and complex interactions between servers and customers. Its design captures behaviors such as customer retries, interruptions caused by negative arrivals, and server breakdown, making it a versatile tool for studying a wide range of systems.
The flexibility of this queuing system allows it to be applied across various fields. If we focus on manufacturing systems or call centers, in both contexts, tasks or customers may need to retry for processing after some delay. Negative arrivals, which cause breakdowns, can represent machine failures in production systems interrupting job processing, and technical issues in call centers or IT systems, temporarily halting operations.
The pioneering studies on retrial queues present the concept of classical retrial policy, wherein each of the blocked customers generates a stream of repeated attempts independent of the rest of the customers in the orbit. Such a type of retrial policy is investigated by [
1,
2]. If we consider a model with two orbits, we refer to [
3], where a retrial queue system with these characteristics is analyzed. Finally, if the focus is on
queuing systems with threshold-dependent inter-retrial time distributions, ref. [
4] presents a methodology based on stochastic analysis for such scenarios.
Queues with a server subject to breakdown occur in flexible manufacturing systems and computer communication networks, and they heavily affect the performance of the systems. A retrial queuing system with server down and repair is considered in [
5]. A general service time retrial queue with breakdown is analyzed in [
6,
7]. For systems with collisions, impatient customers, and unreliable servers, the asymptotic analysis presented in [
8] provides a solid foundation for understanding these phenomena in
systems. In the case of systems with controlled arrivals, essential interruptions, and emergency vacationing servers, the work in [
9] offers a detailed approach for these types of queue–inventory systems.
In papers from the end of the 1980s and early 1990s, new models introduced the concept of “negative” or “positive” customers. The notion of negative customers was introduced by Gelenbe in the paper [
10] with G-networks which can eliminate a positive or an ordinary customer if present. On the other hand, a geometric discrete-time queue with negative and positive customers appeared only a few decades after in the literature.
Harrison and Pitel [
11] initially studied the
queue incorporating both negative and positive customers. Their work was further expanded by the same authors [
12] to include the
queue, and Yang and Chae [
13] extended it to the
queue. The concept of negative customers was explored in retrial queues by Artalejo and Gómez-Corral [
14]. Chakka and Harrison [
15] examined a Markov modulated multi-server queue with negative customers. Li and Zhao [
16] analyzed a queuing model with negative customers under a Markovian arrival process (MAP). Additionally, Atencia and Moreno [
17] provided an analysis of the time-average queue length distribution for a
queue with negative and positive customers, under specific assumptions regarding the sequence of negative arrivals, positive arrivals, and service completions.
2. The Mathematical Model
Imagine a discrete-time single server retrial queue where the timeline is divided into equal intervals, known as slots. These intervals are denoted by . In this system, all queuing activities—such as arrivals, departures, retrials, and the start and end of repairs—are assumed to occur around the boundaries of these slots.
Specifically, at the time point m, departures and the end of repairs happen in the interval , while arrivals, the start of repairs, and retrials, in that sequence, take place in the interval .
If the server is busy and a customer enters the system, several scenarios may occur:
With probability , the customer leaves the service area and joins a group of unsatisfied customers called the orbit, following a First-Come-First-Served (FCFS) discipline.
With probability , the new customer replaces the customer currently being served, who is placed at the front of the orbit, and immediately begins their service.
With probability , the incoming customer becomes a negative customer. This negative customer not only removes the customer currently being served from the system but also causes a breakdown in the server, followed by a repair period that follows a general distribution with a generating function . The negative customer causing the breakdown, after removing the customer being served, disappears from the system.
If the server is free when a customer arrives, the customer begins its service with probability or becomes a negative customer with probability . In this case, negative customers have no effect on the system.
If the server is down, a customer arriving in the system joins the end of the orbit with probability or becomes a negative customer with probability , having no effect on the system’s operation.
Let us note that only the customer at the front of the orbit can access the server. The time between retrials is defined by an arbitrary distribution , with the generating function . Service times are independent and identically distributed, following a general distribution , represented by the generating function . We define for , which represents the probability that the service duration is at least k slots.
3. The Markov Chain
Just after the end of time slot
m (at time
), the system’s state is characterized by the process
In this model, the server’s status at time m is represented by , where 0 indicates the server is free, 1 means it is busy, and 2 signifies it is under repair. The number of customers in the retrial queue is denoted by . If and there are customers waiting (), represents the remaining time until the next retrial attempt. When , refers to the remaining service time for the current customer. Finally, if , indicates the time left until the server repair is completed. Let as define as the state in which .
Let us note note that
is the Markov chain of our queuing system, whose state space is
Now, the objective is to obtain the stationary distribution
of the Markov chain
.
The system of equilibrium equations (SEE) that describes the stationary distribution can be expressed as
where
and
is the Kronecker’s delta
The normalization condition is
To solve Equations (1)–(4), we define the following partial generating functions (PGFs):
and the additional partial generating function (APGFs):
Multiplying Equations (2)–(4) by
, summing over
k, and taking into account (
1), these equations are settled by
where
.
Multiplying (
5)–(
7) by
and summing over
i gives
Putting
in (
8), we have
and by inserting the above equation into (
9), we obtain
Setting
in the above equation
and substituting (
13) into (
12) and (
10) gives
Setting
in (
8),
in (
14) and
in (
15), we obtain:
and from this set of equations, we determine the generating functions
, and
:
where
Finally, substituting (
19)–(
21) into (
8), (
14) and (
15), we obtain the GFs:
By applying the normalization condition, expressed as
, we can obtain the unknown constant:
Since
, it results that the inequality
is a necessary condition for the stability of the system.
Let us note that the probability
that the system is empty regardless of the server’s state is
The aforementioned results are encapsulated in the following theorem:
Theorem 1. If (25) is fulfilled, the stationary distribution of the Markov chain has the following GF:whereandwith Corollary 1. The probability GF of the number of customers in the retrial group (i.e., of the variable N) is given by The probability GF of the number of customers in the system (i.e., of the variable L) is given by
Corollary 2. The average number of customers in the retrial group is The expected number of customers in the system iswhereand
4. Stochastic Decomposition
The stochastic decomposition principle has been widely examined for
queuing systems with server vacations; see, for example, the pioneering work by Fuhrmann and Cooper (1985) [
18].
The authors in [
19,
20] explore the stochastic decomposition in several discrete-time queuing systems. This concept has also been applied to discrete-time
retrial queues as studied by [
21,
22,
23].
The law of stochastic decomposition states that the system size distribution can be broken down into two random variables: one corresponds to the system size in the model without retrials, and the other corresponds to the system size given that the server is on vacation, i.e., when the system is empty.
It is worth noting that our system can be viewed as a vacation model, where the server starts a vacation when a service is completed and there are no arrivals without retries. The duration of a vacation depends on the arrival process and the time between retries. The server’s vacation ends when either an external arrival occurs or a retry takes place.
Our research focuses on a queuing model with recurring customers, described as a
system that incorporates generalized breaks. In this setup, breaks begin after a service period ends and continue until either a new customer arrives or a returning customer attempts to receive service again. The system demonstrates the stochastic decomposition property, akin to a standard queue with server vacation, and this property is expressed accordingly in our model. Thus, the generating function of the number of customers in the system can be expressed as follows:
with
In this scenario, the initial fraction corresponds to the generating function of the probability for the count of customers in a queuing system, which accounts for negative customers and server maintenance. The latter fraction pertains to the generating function of the probability for the number of customers in the queue’s orbit when the server is not active. This effectively demonstrates the stochastic decomposition characteristic of the model in question, indicating that the total customer count in our queuing system can be described as the sum of two independent random variables: one representing the customer total in an equivalent standard system with negative customers and repairs, and the other representing the count of customers in the orbit when the server is not active.
The above finding is encapsulated in the following theorem.
Theorem 2. The total number of customers in the system under consideration (L) can be described as the sum of two independent random variables. One variable represents the total number of customers in a system with negative customers and repairs (), while the other accounts for the number of returning customers when the server is idle (M). Thus, .
In the following theorem, we apply the concept of stochastic decomposition to provide the closeness between the steady-state distribution of a standard system with negative customers and repairs and the distribution in our queuing system.
Theorem 3. The following inequalities hold:where The proof of the previous theorem follows the methodology outlined in the paper [
24] and is therefore not included here.
In conclusion, it is worth noting that the distance between the random variables L and diminishes as nears 1.
5. Calculation of Steady-State Probabilities
In this section, we derive recursive formulas to calculate the steady-state distributions for the orbit size and the overall system size.
Theorem 4. The steady-state distribution of the orbit size can be determined using the following recursive formulae:where withand Proof. It is important to note that the generating function
, which represents the number of customers in the orbit, satisfies the following relation:
where
By applying the properties of generating functions and Newton’s binomial theorem, as detailed in [
25], Theorem 3, we obtain
The development in power series of the right-hand side of (
33) is given by
and comparing the coefficients of
on both sides of (
33) leads to
and as a consequence, the formulae (
31) and (
32) are readily obtained. □
Theorem 5. The steady-state distribution of the system size is given by the following recursive formulae: Proof. The generating function
of the number of customers in the system satisfies the following relation:
where
and its expression in power series are given in the proof of the previous theorem.
The development in power series of the right-hand side of (
36) is given by
by equating the coefficients of
on both sides of (
36), we obtain
then, taking into account the expression of the sequence
, we obtain Equations (
34) and (35). □
6. Relation with the Continuous-Time System
This part of the paper focuses on examining the connection between our discrete-time system and its continuous-time equivalent.
We analyze a continuous-time retrial queuing system, where customer arrivals follow a Poisson process with rate . If a customer arrives and the server is occupied, there are multiple possible actions: with probability , the customer exits the service area and joins a retrial queue, adhering to a First-Come-First-Served (FCFS) policy, which allows only the first customer in the queue to access the server. With probability , the new customer displaces the current customer being served, who then moves to the first position in the orbit, allowing the new customer to start its service immediately. With probability , the customer becomes a negative customer, removing the current customer from the system and causing a server breakdown. If the server is free, the arriving positive customer begins its service immediately. The arrival of a negative customer has no effect if the server is free. The times between retrials for any customer follow an arbitrary distribution , represented by the Laplace–Stieltjes transform . Customer service times are independent and identically distributed according to a common distribution , with the Laplace–Stieltjes transform . When the server experiences a breakdown, repairs begin immediately, with repair times following a general distribution , represented by the Laplace–Stieltjes transform .
Assuming time is divided into intervals of equal length
, the continuous-time system can be approximated by a discrete-time system, where
The parameter must be selected small enough so that a represents a probability.
Our goal is to demonstrate that becomes the probability generating function for the number of customers in the retrial system.
The following equalities can be easily derived using the principles of Lebesgue integration:
The demonstration of these relationships is not provided here, as the technique is detailed in Theorem 5 of [
25].
Based on the aforementioned results, we obtain
where
where
7. Busy Period
In this part, we will explore the busy period (BP) of an auxiliary system, which is distinct from the original system because the arrival probability is , where represents plus . In this alternative system, an incoming customer immediately goes to the server, potentially disrupting the service of any customer already being served. Similar to the original system, with probability , the interrupted customer is moved to the head of the orbit, and with probability , the arriving customer becomes a negative customer, expelling the current customer and causing a server breakdown, during which no new customers can enter the system.
In our study, a busy period is defined as the time span beginning with the arrival of a positive customer who finds the system empty and ending at the first point when the system is again empty with an operational server and no new external customers arrive. This busy period will be useful for analyzing customer delays in the original system. We denote by
, for
, the probability that the busy period lasts
k slots. Then, we have
where
is the probability that the period of time spent by the customer placed at the head of the orbit since the ending of a busy period until the beginning of its service lasts
m slots.
The generation function of the busy period
has the following form:
where
is the generating function of the probability distribution
.
The above expression can be written in the following way:
Now, we will derive the expression for the generating function
. Here,
represents the probability that the time a customer spends at the head of the orbit, from the end of a busy period until the start of their service, lasts exactly
k slots, where
. Therefore, we have
where
is the probability that until the slot
ℓ, no retrial has taken place.
The generating function
is given by
and its expected value is given by
Let us clarify Formula (
38). Consider the time slot in which a busy period concludes, referred to as slot 0. In this scenario, the customer at the front of the orbit will immediately start their service with probability
(note that no new customer arrives in slot 0 since the busy period just ended). Now, for
, the equation considers the case where the customer at the head of the orbit waits for
k slots, from the end of the busy period until the start of their service, if the following hold:
During the first k slots, no positive customers arrive, and a retrial occurs in slot k (with probability ).
Before slot ℓ, a new positive customer arrives, initiating a busy period of length . After this busy period ends, the customer at the head of the orbit will wait for slots until their service begins (with a combined probability of ).
Inserting the expression of
in (
37) yields
where
The expression (
41) shows that the generating function
satisfies the quadratic equation
where
.
Let us note that for any fix
is
and
The relations above demonstrate that for any
, Equation (
42) has two solutions,
and
, which satisfy the inequalities
. These solutions are expressed as follows:
At , we find that , indicating that at least one of the solutions, or , equals 1 when .
The condition
is satisfied if and only if
If the stability condition (
25) is met, the right-hand side of the above inequality becomes negative, resulting in
and
. Consequently, the generating function for the busy period is given by
.
The average duration of the busy period is
Let us now consider the generating function
of the busy period that starts with a customer for which there remain
m slots to finish its service, obtaining
Let us clarify the above formula. If, after the first slots, no customers have arrived (with probability ), and in slot m a positive customer does not arrive, then the busy period ends with probability . Alternatively, if a positive customer arrives, then with probability , a new busy period begins, characterized by the generating function .
If, after slots (where ), no customers arrive (with probability ), and a positive customer arrives in slot k (with probability ), this customer displaces the initial customer to the orbit, initiating a new busy period with generating function . Once this busy period ends, the displaced customer waits in the orbit until their service begins, which is characterized by the generating function . When this customer’s service starts, a new busy period begins with generating function .
Alternatively, if a negative customer arrives (with probability ), a repair period begins, characterized by the generating function . After the repair period ends, the busy period either concludes with probability , or, with probability , a positive customer arrives, initiating another busy period with generating function .
The generating function
that starts with the server down, and a remaining repair time of
m slots is given by
Let us observe that (
43) can be written in the following form:
where
8. Sojourn Times
8.1. Sojourn Time of a Customer in the Server
In this section, our goal is to determine the distribution of the time a customer spends in the server. As the service can be interrupted by the arrival of new customers, the total sojourn time consists of distinct intervals.
Let
denote the probability that a customer’s sojourn time in the server, subject to possible interruptions, lasts exactly
k slots. The distribution
follows these recursive formulas:
While the values of
for
can be determined numerically using the above expressions, it is more efficient to calculate the moments of the distribution by utilizing the corresponding generating function
, which is defined as follows:
that is
the expected time that a customer spends in the server is
8.2. Elapsed Time of a Customer in the System from the Beginning of Its Service Until Its Departure
In this subsection, we determine the distribution of the time a customer spends in the system from the start of their service until they depart.
Let
, for
, represent the probability that this period lasts exactly
k slots. We have the following:
The generating function
associated to the distribution
has the following expression:
Therefore,
and the corresponding mean time is given by
Let us observe that if , then as expected.
8.3. Sojourn Time of a Customer in the Orbit
The generating function for the stationary distribution of the time a customer spends in the orbit before beginning service is given by
Let us analyze the term :
If at the moment a customer arrives at the system, the server is found to be busy, with i slots remaining to finish its service, and there are k, , customers in the queue, then this happens with probability .
With probability , the arriving customer occupies the last position in the orbit, with customers ahead of it, and the customer currently in the server initiates a busy period with generating function .
Once this busy period ends, the customer at the head of the orbit will remain there for a period of time with generating function . After this time elapses, the customer at the head of the orbit enters the server, opening a new busy period with generating function .
When this busy period ends, the customer now at the head of the orbit will take a time, with generating function , before starting its service. After this time, the customer begins its service, initiating another busy period with generating function .
By repeating this process for each of the customers in the orbit ahead of the arriving customer and summing over i and j, we obtain the expression of the analyzed term.
Using the generating functions introduced in
Section 3 and the Formulae (
44) and (
45), the above formula becomes
The mean sojourn time that a customer spends in the orbit until the beginning of their service is given by
where
The total mean time that a customer spends in the orbit is given by
8.4. Sojourn Time of a Customer in the System
The generating function
of the stationary distribution of the sojourn time of a customer in the system is given by
and the mean sojourn time that a customer spends in the system is given by
9. Computed Outcomes
This section aims to expose the impact of various parameters on different performance metrics. For the analysis, we assume that both service and repair times last exactly two slots, and the retrial times follow a geometric distribution with the generating function with .
In
Figure 1, we plot the probability that the system is empty (assuming the server is not under repair) against the parameter
. We display three curves corresponding to
. As expected, the probability
increases with higher values of
and
.
Figure 2 explains the behavior of the probability that the system is empty regardless of the server’s state against the parameter
for various values of
. As expected, graphics 1 and 2 are very similar.
Figure 3 shows the mean number of retrial customers plotted against the parameter
for various values of
. As intuition suggests,
decreases as the values of
and
increase.
The graph in
Figure 4 shows the probability of the server being under repair as a function of
(the probability of a server breakdown). The analysis considers three different mean repair times: 2, 5, and 10 slots.
Observe that the three graphics are increasing functions of and of the mean repair time. As expected, a higher means more frequent breakdowns, leading to the server spending more time in the repair state. If we take into account the practical examples introduced in the first section, represents the probability of a system failure due to user overload or hardware issues, and reducing repair times (e.g., faster recovery procedures) significantly improves system availability. In production lines, where breakdowns disrupt operations, the graph suggests prioritizing shorter repair times (e.g., through better maintenance protocols) to minimize downtime.
The graphic in
Figure 5 depicts the probability of the server being under repair as a function of the mean repair time (
), for three values of
(
).
For all values, the probability that the server is in repair increases as (mean repair time) increases. This makes intuitive sense: longer repair times increase the likelihood that the server will be under repair at any given moment.
Both call centers and manufacturing systems exhibit similar dynamics:
The probability of being “under repair” increases with both higher breakdown probabilities () and longer repair times ().
Systems with frequent breakdowns (high ) benefit most from reducing , while systems with infrequent breakdowns may not see as significant of an improvement.
These insights can guide resource allocation decisions, such as whether to focus on improving reliability (reducing ) or reducing repair times ().
10. Conclusions and Research Results
This study delves into a discrete-time retrial queuing system, where an arriving customer faces a choice: to follow a Last-Come-First-Served (LCFS) rule, pushing the current customer to the head of the orbit, or to join the orbit based on a First-Come-First-Served (FCFS) principle. The retrial intervals are broadly defined, allowing only the foremost customer in the orbit to access the server. Should a negative customer appear, they not only remove the active customer but also induce a server breakdown.
The development of generating functions for the number of customers, both in the orbit as well as in the whole system together with their average values, has been facilitated by a thorough investigation. In addition, the research looks into the steady-state stochastic decomposition property, providing bounds on the difference in variances between the limiting distributions of the queuing system considered and a similar benchmark system. The implications of the recursive algorithm transformed in Theorems 4 and 5 in determining the steady-state probabilities of customers in orbit and those within the system have emerged as one of the major features of this research. Further, the relationship of the continuous-time models with discrete-time models has also been explored.
We utilize the busy period of a system that could be considered an auxiliary one to evaluate the customer waiting time. This work has led to a major advance in retrial queue theory: finding the generating function for the steady-state distribution of customer orbit and system sojourn times. In the end, we can see figures showing how different parameters affect various performance metrics.
It is to be emphasized that the generating function technique is versatile and can be modified to solve retrial queues with a bursty access pattern and any type of distribution function. However, the complexity increases with the generality of the system, and alternative methods or approximations may be requisite in real implementations. This additional component appears to be interesting for future studies, especially those addressing the relationship between random access components and general or retrial service time distributions. Another interesting research area would be to study the continuous counterpart.