Next Article in Journal
Fuzzy Portfolio Selection in the Risk Attitudes of Dimension Analysis under the Adjustable Security Proportions
Next Article in Special Issue
Large Deviations for Hawkes Processes with Randomized Baseline Intensity
Previous Article in Journal
Rank AGS Identification Scheme and Signature Scheme
Previous Article in Special Issue
An Adoptive Miner-Misuse Based Online Anomaly Detection Approach in the Power System: An Optimum Reinforcement Learning Method
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Novel Computational Procedure for the Waiting-Time Distribution (In the Queue) for Bulk-Service Finite-Buffer Queues with Poisson Input

by
Mohan Chaudhry
1,†,
Abhijit Datta Banik
2,*,†,
Sitaram Barik
2,† and
Veena Goswami
3,†
1
Department of Mathematics and Computer Science, Royal Military College of Canada, STN Forces, P.O. Box 17000, Kingston, ON K7K 7B4, Canada
2
School of Basic Sciences, Indian Institute of Technology Bhubaneswar, Permanent Campus Argul, Jatni, Khurda 752050, India
3
School of Computer Applications, Kalinga Institute of Industrial Technology, Bhubaneswar 751024, India
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work.
Mathematics 2023, 11(5), 1142; https://doi.org/10.3390/math11051142
Submission received: 8 January 2023 / Revised: 19 February 2023 / Accepted: 23 February 2023 / Published: 24 February 2023

Abstract

:
In this paper, we discuss the waiting-time distribution for a finite-space, single-server queueing system, in which customers arrive singly following a Poisson process and the server operates under ( a , b ) -bulk service rule. The queueing system has a finite-buffer capacity ‘N’ excluding the batch in service. The service-time distribution of batches follows a general distribution, which is independent of the arrival process. We first develop an alternative approach of obtaining the probability distribution for the queue length at a post-departure epoch of a batch and, subsequently, the probability distribution for the queue length at a random epoch using an embedded Markov chain, Markov renewal theory and the semi-Markov process. The waiting-time distribution (in the queue) of a random customer is derived using the functional relation between the probability generating function (pgf) for the queue-length distribution and the Laplace–Stieltjes transform (LST) of the queueing-time distribution for a random customer. Using LSTs, we discuss the derivation of the probability density function of a random customer’s waiting time and its numerical implementations.
MSC:
60K25; 68M20; 90B22

1. Introduction

Single-server queueing models have been extensively studied in the literature. However, many practical situations exist where customers need to be served in batches. Queueing models of this type are called general bulk-service (GBS) queues. Examples of bulk-service queues can be seen in the unloading and loading of cargoes at a sea port, in traffic-signal systems, and in a mass transportation system. The GBS rule is stated as follows. If n ( 0 n < a ) customers are waiting after the completion of a batch service, then the server has to wait until the number reaches a customers. However, the entire queue is served if the number of waiting customers in the queue is greater than or equal to a but less than or equal to b. The first b customers will be taken into service if the number present in the queue is greater than b. This rule has been widely investigated in the literature, e.g., Chaudhry and Templeton [1] and Dshalalow [2,3]. An excellent survey of various types of infinite-buffer queues with bulk arrival, bulk service and vacations can be found in Dshalalow [4]. In general, the analysis of queueing models of this type is difficult, since their probability generating functions involve unknown probabilities in the numerators. Neuts [5] discussed the bulk-service queue using the theory of the semi-Markov process and obtained queue-length distribution. Borthakur [6] studied the bulk-service queue and derived the stationary probability distribution for the queue length directly as the sum of a constant multiplied by geometric terms, where the common ratios are the root of the associated characteristic equation. Following this, Medhi [7] obtained the waiting-time density function for M / M ( a , b ) / 1 queue in terms of roots. Later, Easton and Chaudhry [8] extended these results and discussed the waiting-time distribution for the E k / M ( a , b ) / 1 queueing system. We can find an elaborate presentation of bulk-service queues in the books by Chaudhry and Templeton [1] and Medhi [9], where a complete list of references up to the early 1980s. One may note that it has been reported in the literature that the analysis of finite-buffer queueing models by solving simultaneous linear equations may pose some problems for some particular types of queueing models; see the remarks made by Powell [10], (pp. 64, 141). Chaudhry et al. [11] discussed the computational analysis of the M / G ( a , b ) / 1 and related non-bulk queues. Brière and Chaudhry [12] analyzed a batch-service queue with a random service batch size, i.e., M / G Y / 1 queue. They obtained the probability distribution for the queue length at different epochs by finding the roots of the associated characteristic equation. Waiting-time analysis in a finite-buffer M / G / 1 queueing model was first investigated by Finch [13] in his pioneering work in this area of research. However, no analytical results have been reported in the literature on queues to analyze the waiting-time distribution of a finite-buffer M / G / 1 -type bulk-service queue. A few results related to stationary queue-length distributions in a finite-buffer single-server queue using the roots’ method are addressed in the literature, e.g., see, Chaudhry et al. [14] and Chaudhry and Goswami [15]. Further, analysis of the finite-buffer bulk-service M / G Y / 1 queue was performed by Singh [16] and queue-length distributions were obtained. Later, Chaudhry and Gupta [17] performed the analytic analysis of the finite-buffer bulk-service M / G ( a , b ) / 1 / N queueing model and obtained the queue-length distributions at a post-departure and arbitrary epochs using the supplementary variable technique. However, no analytical results have been reported in the literature related to the analysis of the waiting-time distribution in a finite-buffer M / G / 1 -type bulk-service queue using roots.
We encounter finite-buffer bulk-service queueing systems in many real-world scenarios; see Gold and Tran-Gia [18] for applications related to manufacturing processes. In telecommunications networks, information units are stored in the system if a server is busy. If an arrival finds the buffer space full, then the arriving customer is blocked and considered to be lost. The main interest of the system designer is to provide sufficient buffer space so that the probability of blocking or loss is small. Thus, the blocking/loss probabilities are an important measure of concern for a system designer. In cloud computing, transmissions of user requests are of various types (e.g., data, voice, video, images). There are many applications which need bulk data to be transferred in the web which are accessed by a large number of clients at the same time. As per the service level agreement (SLA) all the requests received by the clients may be processed in bulk. The instances of the target web application running into virtual machines (VMs) act as service centers to process the requests in the queue. We figured out the process of client requests in a single web application with the following features: The inter-arrival times between two successive client requests may be identified by a Poisson process. When bulk requests are submitted in the queue, the requests are forwarded to the VM that is currently idle because of the lack of a sufficient number of requests. The requests are served in batches with a minimum of a and a maximum of b requests for this VM, where 1 a b N . The system under consideration contains multiple homogeneous VMs which render service in order of task request arrivals, i.e., first come, first served (FCFS). For a recent survey of the system model of bulk service on cloud, the readers are referred to Goswami et al. [19]. In recent years, considering batch-size-dependent service processes, the finite-buffer capacity M A P / G r ( a , b ) / 1 / N and infinite-buffer M A P / G r ( a , b ) / 1 queueing systems have been studied by Banerjee et al. [20], and Pradhan and Gupta [21], respectively.
This paper carries out the analytic analysis of the finite buffer M / G ( a , b ) / 1 / N queue using the method of the Markov renewal theory, the embedded Markov chain, the semi-Markov process and the roots. As stated earlier, the service to the queueing system is provided in batches of minimum size a and maximum size b ( 1 a b ) . We obtain the steady-state, queue-length distribution at post-departure and random epochs. As stated above, using the functional relationship, we derive the probability density function for a random customer’s waiting-time distribution (in the queue and in the system). Finally, to extend the work done by Chaudhry and Gupta [17] for the well-known model M / G ( a , b ) / 1 / N , which deals with the number in the queue, this paper first gives a simple procedure to get the probability generation function (pgf) of a number in the queue by using the method of the Markov renewal theory, the embedded Markov chain and the semi-Markov process. Using the derived pgf, we deal with the probability density function for the waiting-time distribution (in queue as well as in the system) of a random customer.

2. Brief Description of the M / G ( a , b ) / 1 / N Queueing Model and Its Queue-Length Distributions

In this single-server queueing model, the arrival process of the customers is assumed to be a Poisson process with an average rate, λ . The queued customers are served in batches of minimum size, ‘a’, with a maximum threshold size, ‘b’; however, if there are fewer than ‘a’ customers, the server must wait until the queue accumulates ‘a’ customers. The number N ’ denotes the buffer capacity of the queueing system, excluding the size of a batch with the server, and it is assumed that 1 a b N . The service times of batches are independent identically distributed random variables (i.i.d.r.vs.) denoted by the notation S, where S has the probability density function (pdf) b ( t ) , cumulative distribution function (DF) B ( t ) , Laplace–Stieltjes transform (LST) B * ( s ) and mean service time E ( S ) = b 1 = B * ( 1 ) ( 0 ) , where G * ( 1 ) ( 0 ) is the derivative of G * ( s ) evaluated at s = 0 . The mean service rate is μ = 1 / b 1 or E ( S ) = 1 / μ . The traffic intensity can be obtained as ρ = λ b 1 / b = λ / ( μ b ) . Let us define the conditional probability k j ( j 0 ) , which denotes the probability that j customers arrive in the queueing system during a service time of a batch. Then,
k j = 0 e λ v ( λ v ) j j ! d B ( v ) .
The probability generating function (pgf) of { k j } 0 is denoted by K ( z ) . It can be easily seen that K ( z ) = B * ( λ λ z ) ; see Keilson and Servi [22] for a detailed derivation. Similarly, we denote the conditional probability k ^ j ( j 0 ) , which represents the probability that j customers arrive in the queueing system during a stationary elapsed service time of a batch. This leads to:
k ^ j = μ 0 e λ v ( λ v ) j j ! ( 1 B ( v ) ) d v .
Similar to the above result, if we define the pgf of { k ^ j } 0 by K ^ ( z ) , then it can be seen that K ^ ( z ) = μ 1 B * ( λ λ z ) λ λ z . The probability distribution for the queue length at a random epoch can be obtained through relations among post-departure and random epoch probabilities using the embedded Markov chain, the Markov renewal theory and the semi-Markov processes. For this, consider the queue at the batch service completion epochs. Let the successive batch service completion epochs be marked in the time-axis as t 0 , t 1 , t 2 , The time epoch just after a service completion may be denoted by t n + . The state of the system at t n + is defined as { N q ( t n + ) , n 0 } , where N q ( t n + ) is the number of customers ( 0 N q ( t n + ) N ) in the queue after the n-th departure epoch of a batch. Thus, { N q ( t n + ) , n 0 } becomes a Markov chain. This irreducible and aperiodic Markov chain becomes ergodic under any ρ > = < 1 . In this discrete-time Markov chain, N q ( t n + 1 + ) is dependent on the random variable N q ( t n + ) and another random variable A n + 1 , which is independent of N q ( t n + ) . This gives:
N q ( t n + 1 + ) = min N q ( t n + ) b + + A n + 1 , N ,
where x + = max { 0 , x } and A n + 1 is the random number of arrivals during the ( n + 1 ) th batch service time. When n , P ( A n + 1 = j ) = k j ( j 0 ) . The various elements of the transition probability matrix (TPM) of this Markov chain are given by:
P i j = P { N q ( t n + 1 + ) = j | N q ( t n + ) = i } = k j , 0 i b , 0 j N 1 , k N c , 0 i b , j = N , k j ( i b ) , j i b , b + 1 i N , 0 j N 1 , k N ( i b ) c , j i b , b + 1 i N , j = N , 0 , o t h e r w i s e ,
where k j c = i = j k i ( j 0 ) . Thus, the limiting probabilities are defined as:
p + ( j ) = lim n P { N q ( t n + ) = j } , 0 j N .
Now p + ( j ) ( 0 j N ) can be obtained by solving the system of equations P + = P + P , where P + = [ p + ( 0 ) , p + ( 1 ) , p + ( 2 ) , , p + ( a 1 ) , p + ( a ) , , p + ( N 1 ) , p + ( N ) ] , P is a ( N + 1 ) × ( N + 1 ) matrix whose elements are P i j , and after simplification of P + = P + P , we get:
p + ( j ) = i = 0 b p + ( i ) k j + r = 1 min { j , N b } p + ( b + r ) k j r , 0 j N 1 ,
p + ( N ) = i = 0 b p + ( i ) k N c + r = 1 N b p + ( b + r ) k N r c .
Here, it may be noted that we can find the pgf of { p + ( n ) } 0 N using (2) and (3). Multiplying (2) by z j and summing over j from 0 to N 1 and adding (3) after multiplying with z N , we get after simplification the following expression:
p + * ( z ) = r = 0 b p + ( r ) K ( z ) i = N + 1 k i z i + 1 z b j = b + 1 N p + ( j ) z j K ( z ) i = N + 1 k i z i ,
where p + * ( z ) = n = 0 N p + ( n ) z n . Simplification of (4) by replacing j = b + 1 N p + ( j ) z j = p + * ( z ) r = 0 b p + ( r ) z r in the right-hand side, we obtain:
p + * ( z ) = r = 0 b 1 ( z b z r ) p + ( r ) K ( z ) z b K ( z ) + r = 0 b 1 ( z r z b ) p + ( r ) i = N + 1 k i z i p + * ( z ) i = N + 1 k i z i z b K ( z ) .
One can see that the numerator for the second term of Equation (5) has at least ( N + b ) degree in z. Since p + ( n ) ( 0 n N ) is the coefficient of z n in the right-hand side of p + * ( z ) in Equation (5), then one may evaluate p + ( n ) using the following pgf:
p + * ( z ) = r = 0 b 1 ( z b z r ) p + ( r ) K ( z ) z b K ( z ) ,
which is identical with the pgf of post-departure epoch probabilities in an infinite-buffer M / G ( a , b ) / 1 / queueing model with the traffic intensity ρ < 1 . The pgf of the infinite-buffer queueing model was mentioned earlier in the literature, e.g., see Equation (2.1) in [11] and also see Problem 11 in [1], (pp. 226–227) where one may note that K ( z ) = B * ( λ λ z ) .
At this point, we intend to calculate the post-departure epoch probabilities in terms of the roots of the associated characteristic equation. Since rational LSTs (see Botta et al. [23]) cover a large number of distributions, we take K ( z ) = B * ( λ λ z ) = B * ( s ) , where s = λ λ z as a rational function in ‘s’. If the LST of the service-time distribution has a non-rational LST, then the LST can be approximated by rational functions using the Padé approximation technique.
In view of this, we consider those service-time distributions that have rational LST of the form B * ( s ) = P ( s ) / Q ( s ) , where the degree of the polynomial Q ( s ) is m and that of the polynomial P ( s ) is y ( m ) . Further, we make this assumption, as has been done by Botta et al. [23], since this assumption covers a large number of practical cases. Substituting B * ( λ λ z ) = P ( λ λ z ) Q ( λ λ z ) f ( z ) g ( z ) in Equation (6), one can obtain the corresponding expression as given below,
p + * ( z ) = r = 0 b 1 ( z b z r ) p + ( r ) f ( z ) z b g ( z ) f ( z ) .
Since K ( z ) = f ( z ) g ( z ) , p + * ( z ) in Equation (7) becomes a rational function with the denominator ( z b g ( z ) f ( z ) ) which is a polynomial of degree ( b + m ) . This polynomial ( z b g ( z ) f ( z ) ) has ( b + m ) zeros in the whole complex plane. This leads to the following characteristic equation (CE):
z b g ( z ) f ( z ) = 0 ,
which has ( b + m ) roots, namely, γ 1 = 1 , γ i ( i = 2 , 3 , , b + m ) .
Remark 1.
We could have avoided the derivation of pgf p + * ( z ) , but since it gives a simpler procedure than what is available in the literature, we have included it here for completeness sake. This pgf is also used in deriving the waiting-time distribution. When software packages such as MAPLE and MATHEMATICA could not find (see Neuts [24], Kendall [25] and Kleinrock [26]) a large number of roots (they do now); Chaudhry responded to this (see Chaudhry [27,28]). In this connection, see also Chaudhry et al. [29]. Here is just one example. It can be solved in many ways, but we are giving just one method using the package MAPLE:
> r e s t a r t : w i t h ( R o o t F i n d i n g ) :
> f : = ( x 1 ) · ( x 2 ) · ( x 3 ) 4 · ( x 7 ) 3
                  f : = ( x 1 ) ( x 2 ) ( x 3 ) 4 ( x 7 ) 3
> f s o l v e ( f , x , c o m p l e x )
                                               1 . , 2 . , 3 . , 3 . , 3 . , 3 . , 7 . , 7 . , 7 .
The CE (8) has b + m roots. As the queueing model under consideration has a finite buffer, the following three cases arise depending on ρ :
  • Case 1 ( ρ < 1 ) : Using Rouché’s theorem, it can be shown that Equation (8) has b roots inside and on the unit circle | z | = 1 and the remaining m roots: γ i ( i = b + 1 , b + 2 , , b + m ) are in the region | z | > 1 .
  • Case 2 ( ρ = 1 ) : As in Case 1, among the remaining m roots, one root (say, γ b + 1 ) is equal to one, and the other roots: γ i ( i = b + 2 , b + 3 , , b + m ) stay in the region | z | > 1 .
  • Case 3 ( ρ > 1 ) : As above, among the remaining m roots, one root (say, γ b + 1 ) is inside the interval ( 0 , 1 ) , and the other roots: γ i ( i = b + 2 , b + 3 , , b + m ) are in the region | z | > 1 .
One may observe that as ρ ( > 0 ) increases, from the remaining m roots of the CE (8), one positive real root gets closer to the origin from right to left. The above three cases have been discussed below.
  • We first discuss the case when ρ < 1 . For this case, when the traffic intensity of the queueing model under consideration is less than one, i.e., ρ < 1 , one can use Equation (6) to find the post-departure epoch probabilities as described below. The unknown probabilities { p + ( r ) } r = 0 b 1 on the right-hand side of the pgf in Equation (7) can be obtained by using the roots of Equation (8), i.e., γ 1 = 1 and γ 2 , γ 3 , , γ b . This leads to:
    r = 0 b 1 ( γ i b γ i r ) p + ( r ) f ( γ i ) = 0 , i = 2 , 3 , , b ,
    and:
    p + * ( 1 ) = d d z [ r = 0 b 1 ( z b z r ) p + ( r ) f ( z ) ] z = 1 d d z [ z b g ( z ) f ( z ) ] z = 1 = 1 .
    Therefore, for ρ < 1 , using the partial fraction p + * ( z ) can be written as follows:
    p + * ( z ) = D r = 0 b 1 ( z b z r ) p + ( r ) f ( z ) z b g ( z ) f ( z ) = D i = b + 1 b + m l ^ i z γ i ,
    where D is the normalizing constant and l ^ i ’s are the constant coefficients of the partial fraction. Now, extracting the coefficients of z n from the right-hand side of (11), one can obtain the post-departure epoch probabilities as:
    p + ( n ) = D i = b + 1 b + m l ^ i γ i n + 1 , n = 0 , 1 , 2 , , N ,
    where:
    l ^ i = r = 0 b 1 ( γ i b γ i r ) p + ( r ) f ( γ i ) d d z [ z b g ( z ) f ( z ) ] z = γ i , i = b + 1 , b + 2 , , b + m .
    One can obtain the unknown D in Equation (12) using the normalization condition as stated before and is given by:
    D = i = b + 1 b + m l ^ i γ i 1 γ i ( N + 1 ) 1 γ i 1 1 , when ρ < 1 .
  • For ρ = 1 , we assume γ b + 1 = 1 , and in this case, Equations (11) and (12) are valid. The only exception is that l ^ b + 1 may be obtained as follows:
    l ^ b + 1 = d 2 d z 2 [ r = 0 b 1 ( z b z r ) p + ( r ) f ( z ) ] z = 1 d 2 d z 2 [ z b g ( z ) f ( z ) ] z = 1 1 ,
    and:
    D = l ^ b + 1 ( N + 1 ) i = b + 2 b + m l ^ i γ i 1 γ i ( N + 1 ) 1 γ i 1 1 , w h e n ρ = 1 .
    It is also important to note that the normalization condition (10) does not work when the traffic intensity ρ = 1 as z = 1 is a repeated root of multiplicity two for the characteristic Equation (8). Thus, when ρ = 1 , one may use Equations (16)–(18), which express the probabilities { p + ( j ) } j = b N in terms of the probabilities { p + ( r ) } r = 0 b 1 and then one may use the normalization condition as p + * ( 1 ) = j = 0 N p + ( j ) = 1 . Alternatively, one can use the following normalization condition for ρ = 1 :
    p + * ( 1 ) = d 2 d z 2 [ r = 0 b 1 ( z b z r ) p + ( r ) f ( z ) ] z = 1 d 2 d z 2 [ z b g ( z ) f ( z ) ] z = 1 = 1 .
  • Lastly, we discuss the case when ρ > 1 . As p + * ( z ) is convergent/analytic inside | z | < γ b + 1 , the first b roots of the characteristic Equation (8) inside the region | z | < γ b + 1 should be the zeros of the numerator polynomial on the right-hand side of Equation (7). The unknown probabilities { p + ( r ) } r = 0 b 1 on the right-hand side of the pgf in Equation (7) can be obtained by the set of linear Equations (9). This set of homogeneous linear equations is not sufficient to give non-trivial solution for the unknown probabilities { p + ( r ) } r = 0 b 1 and thus one must use normalization condition along with the above system of simultaneous Equations (9) in the following way. Thus, when ρ > 1 , one should use Equations (2) and (3) by expressing the probabilities { p + ( j ) } j = b N in terms of the probabilities { p + ( r ) } r = 0 b 1 as follows:
    p + ( b ) = p + ( 0 ) k 0 i = 0 b 1 p + ( i ) ,
    p + ( b + j ) = p + ( j ) i = 0 b p + ( i ) k j r = 1 j 1 p + ( b + r ) k j r k 0 , j = 1 , 2 , , N b 1 ,
    p + ( N ) = i = 0 b p + ( i ) k N c + r = 1 N b 1 p + ( b + r ) k N r c 1 k b c ,
    and then one may use the normalization condition as follows:
    j = 0 N p + ( j ) = 1 ,
    where the probabilities { p + ( j ) } j = b N must be expressed in terms of the unknown probabilities { p + ( r ) } r = 0 b 1 using the above Equations (16)–(18). The solution of the above system of linear Equations (9) and (19) gives the unknown probabilities { p + ( r ) } r = 0 b 1 and from the above expressions (16)–(18) one can get the probabilities { p + ( j ) } j = b N in terms of the known probabilities { p + ( r ) } r = 0 b 1 . It may be noted that the above procedure of finding post-departure epoch probabilities works when ρ < = > 1 . One may remark here that the above proposed recursive scheme (16)–(18) may sometimes be unstable, mainly when we are dealing with a very high buffer capacity ( N ) and due to the negative sign involved in the right-hand side of the recursive Equations (16) and (17).
    One may note here that it is possible to find post-departure epoch probabilities in closed form similar to the cases ρ < = 1 after getting the unknown probabilities { p + ( r ) } r = 0 b 1 by using the above procedure. For this, we multiply both sides of Equation (7) by the factor ( z γ b + 1 ) and obtain the following equation:
    p + * ( z ) ( z γ b + 1 ) = r = 0 b 1 ( z b z r ) p + ( r ) f ( z ) ( z γ b + 1 ) z b g ( z ) f ( z ) .
    Now, the left/right hand side of Equation (20) is convergent/analytic inside and on the unit circle | z | = 1 . Thus, one may write Equation (20) in the following way:
    p + * ( z ) ( z γ b + 1 ) = r = 0 b 1 ( z b z r ) p + ( r ) f ( z ) ( z γ b + 1 ) z b g ( z ) f ( z ) = q 0 + q 1 z + i = b + 2 b + m l i z γ i ,
    where q 0 , q 1 , and l i ’s are the constant coefficients of the partial fraction. Equating the coefficient of the like powers of z in both sides of Equation (21) after a little algebraic calculation, we obtain:
    p + ( 0 ) = i = b + 2 b + m l i γ i + q 0 γ b + 1 ,
    p + ( 1 ) = i = b + 2 b + m l i γ i 2 + q 1 γ b + 1 ,
    p + ( n ) = i = b + 2 b + m l i γ i n + 1 p + ( n 1 ) γ b + 1 , n = 2 , 3 , , N 1 ,
    where:
    l i = r = 0 b 1 ( γ i b γ i r ) p + ( r ) f ( γ i ) ( γ i γ b + 1 ) d d z [ z b g ( z ) f ( z ) ] z = γ i , i = b + 2 , b + 3 , , b + m .
    Let the coefficient of z 0 and z from the Taylors’ series expansion of the right hand side of Equation (20) be c 0 and c 1 . Now, q 0 = c 0 i = b + 2 b + m l i γ i and q 1 = c 1 i = b + 2 b + m l i γ i 2 . The last probability p + ( N ) can be found using the normalization condition (19) and is given by: p + ( N ) = 1 j = 0 N 1 p + ( j ) .
Thus, one can obtain post-departure epoch probabilities successfully for all possible values of offered load or traffic intensity ρ for this queueing model under consideration.
Remark 2.
It may be remarked here that all the probabilities p + ( i ) ( 0 i N ) can also be computed by solving the system of linear equations p + P = p + see [17], (p. 98) using the GTH algorithm or the R G -factorization technique (extensions of the matrix-analytic methods, see Neuts [30] and Li [31]), where p + = [ p + ( 0 ) , p + ( 1 ) , , p + ( N ) ] and P is the transition probability matrix of the Markov chain at the embedded post-departure epochs of a batch. In that case, the computational complexities of the GTH algorithm and the R G -factorization technique can be computed as O ( ( N + 1 ) 4 ) , (see [32]) and O ( N 3 ) (see Li et al. [33]), respectively. On the other hand, in the case of the roots’ method, which is adopted in this paper, the main goal is to calculate the m + b roots of the associated characteristic Equation (8) with the probability generating function given by Equation (7). Without a loss of generality, we assume that the degree of the characteristic Equation (8) is m + b . It should be mentioned here that we can numerically locate the roots of a polynomial using Newton’s method. The root extraction using Newton’s method and multiplication of two numbers has equal complexity, see [34]. That is, if we want to calculate roots of the characteristic equation up to d 1 digits accuracy, then the computational complexity of per root extraction will be at most O ( d 1 2 ) . The next part is to evaluate b unknowns by solving b simultaneous linear equations. There are several methods used to solve simultaneous equations, e.g., Cramer’s rule, Gaussian elimination, LU decomposition, etc. One of the most efficient methods to determine the b unknowns is LU decomposition with complexity O ( b 3 ) . The last part is a partial fraction decomposition which has computational complexity at most O ( m 2 ) (see Xin [35]), where m is the degree of the denominator polynomial of the corresponding rational function. From our computational experience, we have seen that when the buffer capacity N becomes large and since b N , both the GTH algorithm and the R G -factorization technique take much longer to compute the post-departure epoch probabilities { p + ( r ) } r = 0 N than the roots’ method used in this paper. Further, the roots’ method also gives explicit closed-form analytic results. In Section 5, we have presented a comparison of computation time for above discussed three methods.
Lemma 1.
The expression for the probability that the server is busy ( ρ ) is given by:
ρ = E ( S ) T = 1 μ T ,
where T is mean inter-departure time of service batches. An expression for T may be obtained as follows:
T = E ( S ) + i = 0 a 1 p + ( i ) · a i λ .
Proof. 
The server’s state can be either busy or idle at any instant. As T is the mean inter-departure time of service batches, 1 / T corresponds to the departure rate. Since T is the mean inter-departure time, it can be derived by considering two cases, (1) when the server is busy and (2) when the server is idle. Thus:
T = E ( S ) 1 i = 0 a 1 p + ( i ) + i = 0 a 1 p + ( i ) · a i λ + E ( S ) ,
which after simplification gives (26). The probability that the server is busy is given by Equation (25), which is the proportion of time the server is busy divided by the mean inter-departure time. □

Probability Distribution for Queue Length at a Random Epoch

We develop relation between a distribution and the probability that the number of customers in the queue at the embedded Markov points (post-departure epochs) using the argument of the Markov renewal theory and the semi-Markov process. In terms of notations, the random or arbitrary epoch probabilities are defined as follows:
p 0 ( n ) = lim t P { N q ( t ) = n , ξ ( t ) = 0 } , 0 n a 1 ,
p 1 ( j ) = lim t P { N q ( t ) = j , ξ ( t ) = 1 } , 0 j N ,
where N q ( t ) is the number of customers in the queue at time t and ξ ( t ) is the server’s state at time t. If at time epoch t the server is busy, then ξ ( t ) = 1 , and if at time epoch t the server is idle with i ( ( 0 i < a ) customers waiting for service, then ξ ( t ) = 0 . Therefore, p 1 ( n ) ( 0 n N ) denotes the probability of n customers in the queue (excluding the size of a batch in service) when the server is busy and p 0 ( n ) ( 0 n a 1 ) denotes the probability of n customers in the queue when the server is idle, where ‘1’ stands for busy state of the server; and ‘0’ stands for idle state of the server.
Theorem 1.
The random-epoch (or arbitrary-epoch) probabilities { p 0 ( n ) ( 0 n a 1 ) and   p 1 ( j ) ( 0 j N ) } and post-departure-epoch probabilities { p + ( n ) ( 0 n N ) } are related by:
p 0 ( n ) = p 0 ( n 1 ) + 1 λ T p + ( n ) , 0 n a 1 ,
p 1 ( j ) = 1 μ T i = 0 b p + ( i ) k ^ j + r = 1 min { j , N b } p + ( b + r ) k ^ j r , 0 j N 1 ,
p 1 ( N ) = 1 μ T i = 0 b p + ( i ) k ^ N c + r = 1 N b p + ( b + r ) k ^ N r c ,
where p 0 ( 1 ) = 0 and k ^ j c = i = j k ^ i ( j 0 ) .
Proof. 
Using rate-in, rate-out, we can consider the state { N q ( t ) = n , ξ ( t ) = 0 } in the limiting case of t . This can change by arrivals or service completions. Thus, we have:
λ p 0 ( n ) = λ p 0 ( n 1 ) + 1 T p + ( n ) , 0 n a 1 .
The left-hand side of Equation (33) is the rate of leaving out of the state { n , 0 } by an arrival, while the first term of the right-hand side is the entering rate to the state { n , 0 } after an arrival and the second term is the entering rate to the state { n , 0 } after a departure. After a little simplification of (33), we get (30). Using rate-in, rate-out, we now consider the state { N q ( t ) = n , ξ ( t ) = 1 } in the limiting case when t . This can change by service completions. As k ^ j is the probability of number of customers that arrive following an embedded Markov point until stationary elapsed service time, then we have the following result:
μ lim t P { N q ( t ) = j , ξ ( t ) = 1 } = μ p 1 ( j ) = 1 T i = 0 b p + ( i ) k ^ j + 1 T r = 1 j p + ( b + r ) k ^ j r ,                            0 j N 1 .
On the left-hand side of (34), we are leaving the state { j , 1 } and on the right-hand side of (34), we are entering into the corresponding state { j , 1 } . After simplifying (34), we obtain (31). An exactly similar argument as used in Equation (31) derives Equation (32). □
One may note that the results derived in Equations (30) and (31) are actually the same as those presented by Chaudhry and Gupta [17]; see Appendix A for this derivation. The rate-in and rate-out principle used to derive Equations (30) and (31) are much simpler than the supplementary variable method used in [17]. Moreover, one can check the correctness of the numerical results obtained by both the methods. Hereafter, let us define the pgf of { p 1 ( j ) } 0 N by P q b ( z ) = j = 0 N p 1 ( j ) z j , which is the pgf of the random epoch probabilities { p 1 ( j ) } 0 N when the server is busy. Using (31) and (32), one can check that P q b ( 1 ) = j = 0 N p 1 ( j ) = 1 μ T , which is equal to ρ as derived in Lemma 2. One can check the fact that P q b ( 1 ) = 1 i = 0 a 1 p 0 ( i ) using Equations (30) and (25) in the following way:
1 i = 0 a 1 p 0 ( i ) = 1 μ T ,
which is, in fact, true as 1 μ T represents ρ which denotes the probability that the server is busy, i.e.:
n = 0 N p 1 ( n ) = 1 i = 0 a 1 p 0 ( i ) = ρ .
Moreover, it is interesting to note from Equation (35) that:
1 / T = [ μ ( 1 i = 0 a 1 p 0 ( i ) ) ] = 1 μ + i = 0 a 1 p + ( i ) . a i λ 1 .
Finally, one may note that using the fact that Poisson arrivals see time average (PASTA), the pre-arrival epoch probabilities are equal to the random epoch probabilities { p 0 ( n ) ( 0 n a 1 ) a n d p 1 ( j ) ( 0 j N ) } . Therefore, the probability of loss or blocking of a random arrival customer is given by P l o s s = p 1 ( N ) .

3. Waiting-Time (In Queue) Distribution for a Random Customer

Let us denote V q ( n ) as the waiting time in the queue of a random customer who belongs to those customers served in the n-th batch. Further, let W q ( t ) = lim n P ( V q ( n ) t ) and in the limiting case as n , we denote V q ( n ) by V q . Let us define W q * ( s ) = 0 e s t d W q ( t ) with ( s ) 0 . Now, following Chaudhry and Templeton [36], one can observe that during the busy or idle state of the server, the total probability of arrivals during the waiting time (in queue) of a random customer is equal to the total probability of possible number of customers waiting in the queue. Thus, considering the random nature of arrivals and busy/idle state of the server, we obtain:
i = 0 a 1 p 0 ( i ) z i + P q b ( z ) = W q * ( λ λ z ) ,
where λ ( = λ ( 1 P l o s s ) ) which is the customer’s actual arrival rate due to finite-buffer capacity. We note that differentiating (37) with respect to z and setting z = 1 , we obtain Little’s law as follows:
L q = i = 0 a 1 i p 0 ( i ) + n = 0 N n p 1 ( n ) = λ E ( V q ) .
From Equation (37) using s = λ λ z , after a little algebraic manipulation, we obtain:
W q * ( s ) = i = 0 a 1 p 0 ( i ) 1 s λ i + j = 0 N p 1 ( j ) 1 s λ j .
Now, using Padé approximation of the right-hand side of Equation (39), one may approximate W q * ( s ) by the rational function P ^ ( s ) Q ^ ( s ) . We assume the degree of the numerator P ^ ( s ) as r 0 and that of the denominator Q ^ ( s ) as r d ( > r 0 ) . One can check the correctness of Padé approximation using the fact that P ^ ( 0 ) Q ^ ( 0 ) = n = 0 N p 1 ( n ) + i = 0 a 1 p 0 ( i ) = 1 and d d s { P ^ ( s ) Q ^ ( s ) } | s = 0 = i = 0 a 1 i p 0 ( i ) + n = 0 N n p 1 ( n ) λ = L q λ . Further, one can improve the Padé approximation using those two criteria. Since W q * ( s ) is convergent or analytic in ( s ) 0 , the r d zeros of the denominator Q ^ ( s ) may be assumed as s 1 , s 2 , , s r d with ( s i ) < 0 . Using partial fractions, the right-hand side of Equation (39) may be written in the following form:
W q * ( s ) P ^ ( s ) Q ^ ( s ) = j = 1 r d k j s s j .
Now, Equation (40) leads to the following equation:
w q ( t ) = j = 1 r d k j e s j t , t > 0 , with ( s j ) < 0 ,
where k j = P ^ ( s j ) d d s [ Q ^ ( s ) ] s = s j ,
where j = 1 , 2 , , r d .
Remark 3.
Here, we demonstrate how to practically approximate W q * ( s ) by the rational function using the Padé approximation through a numerical example. For this purpose, we consider P H -type service-time distribution with the representation ( β , T ) , where β = ( 0.2 , 0.8 ) and T = 2 0 0 4 , so that μ = 3.333333 . The other parameters are taken as a = 2 , b = 5 , λ = 10 with ρ = λ b · μ = 0.6 . After computing p 0 ( i ) ’s and p 1 ( j ) ’s, the effective arrival rate of customers can be obtained as λ = λ ( 1 P l o s s ) = 8.928835 . From Equation (39), we get:
W q * ( s ) = 0.217096 + 0.234453 ( 1 0.111997 s ) + 0.108621 ( 1 0.111997 s ) 2               + 0.090139 ( 1 0.111997 s ) 3 + 0.075175 ( 1 0.111997 s ) 4 + 0.062991 ( 1 0.111997 s ) 5               + 0.045634 ( 1 0.111997 s ) 6 + 0.031130 ( 1 0.111997 s ) 7 + 0.018954 ( 1 0.111997 s ) 8               + 0.008689 ( 1 0.111997 s ) 9 + 0.107117 ( 1 0.111997 s ) 10
We have used the ‘pade’ command in MAPLE 2015 and approximated W q * ( s ) as P ^ ( s ) Q ^ ( s ) where:
P ^ ( s ) = 1 + 0.928374 s + 0.498682 s 2 + 0.147040 s 3 + 0.127709 s 4 Q ^ ( s ) = 1 + 0.443441 s + 0.991992 s 2 + 0.140031 s 3 + 0.125392 s 4 + 0.572475 s 5 .
Moreover, the correctness of the approximation can be checked by using the criteria given after the Equation (39):
P ^ ( 0 ) Q ^ ( 0 ) = 1.000000 , and d d s P ^ ( s ) Q ^ ( s ) | s = 0 = 0.350604 = L q λ .
All of the roots of Q ^ ( s ) have real parts less than zero, which makes W q * ( s ) convergent in ( s ) > 0 . Then we proceed further after writing P ^ ( s ) Q ^ ( s ) in terms of partial fractions.
Remark 4.
One may note here that inversion of the LST presented in Equation (39) may be done using several other methods of inverting the LSTs (or transforms) reported in the literature (see the excellent reviews on the numerical transform inversion by Abate and Whitt [37] and Abate et al. [38]). Abate and Whitt [37] use the Fourier-series method to invert the generating functions and the LSTs numerically. The Fourier-series method involves numerically integrating a standard inversion integral employing the trapezoidal rule. The greatest difficulty in this case is approximately calculating the infinite series obtained from the inversion integral. However, the method described above is free of such an approximation of numerical integration.
Moments: Moments of order k ( 1 ) for V q can be obtained using (41) as follows:
E [ V q k ] = 0 t k · w q ( t ) d t = 0 t k · j = 1 r d k j e s j t d t , w h e r e ( s j ) < 0 , k 1 ,
where ( s j ) < 0 . Alternatively, one can get the k-th moment of the queueing-time distribution by differentiating (39) k times with respect to s and then setting s = 0 in the following way:
E [ V q k ] = ( 1 ) k d k d s k { W q * ( s ) } s = 0 = ( 1 ) k [ d k d s k { i = 0 a 1 p 0 ( i ) 1 s λ i +                   j = 0 N p 1 ( j ) 1 s λ j } ] s = 0 , k 1 ,
which may work as a check on correctness of the moments obtained via (42).
Sojourn-time distribution: Sojourn-time distribution of a random customer is its queueing time, plus its batch service time. Therefore, the LST of sojourn time of random customer W * ( s ) is given by:
W * ( s ) = W q * ( s ) × B * ( s ) .
Using (41), we can invert W * ( s ) . It gives the pdf w ( t ) of the sojourn time distribution of a random customer and is given by:
w ( t ) = 0 t j = 1 r d k j e s j u · b ( t u ) d u , t 0 ,
where ( s j ) < 0 . Now, using the probability density function w ( t ) , one can get a moment of order k for the random variable V (sojourn time in the system for a random customer) as E [ V k ] = 0 t k w ( t ) d t which may be described as follows:
E [ V k ] = 0 t k 0 t j = 1 r d k j e s j u · b ( t u ) d u d t , where ( s j ) < 0 , k 1 .
The cumulative distribution function (CDF) of the queueing and sojourn times may be obtained by the following results:
W q ( t ) = 0 t w q ( u ) d u = 0 t j = 1 r d k j e s j u d t , t > 0 , where ( s j ) < 0 ,
W ( t ) = 0 t 0 v j = 1 r d k j e s j u · b ( v u ) d u d v , t 0 , where ( s j ) < 0 .

4. Applications of the Queueing Model in the Performance Evaluation of Blockchain Systems

In a blockchain system, client transactions must wait for servers (e.g., miner, validator or orderer) to provide service (e.g., mining, validating or ordering) and finally get confirmed/served. One can find a detailed literature survey and a description of the performance evaluation of blockchain systems by Fan et al. [39]. Different consensus processes of blockchain systems can be modelled as different types of queueing systems. In a queueing system, the most important part is the quantitative evaluation of its performance measures, such as what is the expected number of transactions in the system, what is the transaction throughput of the system, and what is the average waiting time in the queue or in the system (i.e., sojourn time). In the blockchain called Bitcoin [40], the ledger is maintained and updated by the mining process. In the mining process, a bunch of nodes, called miners, compete to solve challenging puzzle-like problems, which consume much computation power. Transactions issued by users are grouped into a container called a block. The mining competition winner who first finds the algorithmic puzzle answer specialized for the block has the right to add the new block to the blockchain and gets incentives accordingly. Kawase and Kasahara [41] first built a modified M / G B / 1 queue (see Chaudhry and templeton [36] for the performance analysis of the M / G B / 1 queueing model) with batch service to model the Bitcoin mining process. Li et al. [42] introduced a new blockchain queueing model by decomposing the mining process into two exponential service stages: block generation and blockchain-building processes. The sum of both stages’ times is regarded as the transaction confirmation time, which a general service-time distribution may represent. The distribution of the key performance indicators, such as the the transaction waiting time, may be defined by the random amount of time a transaction has to wait before it gets confirmation; see Geissler et al. [43] for details. Geyer et al. [44] modelled the solo ordering process of Hyperledger Fabric as an M / M B / 1 queueing system. To solve this model, the authors borrowed the results from the waiting time analysis of a general bulk service queueing model M / M ( a , b ) / 1 (see Medhi [7]). They considered the batch size range as either a = b = B or a = 1 and b = B . Following the above discussions, we propose the queue length and waiting time analysis of a more general bulk-service M / G ( a , b ) / 1 / N queue to analyse the performance of a blockchain queueing system which includes the possibility that the buffer capacity N . See the following Figure 1.

5. Numerical Results

In this section, the validity of the results obtained in the previous sections has been tested through numerical experiments. Several numerical experiments have been carried out for different model parameters in this connection. Out of them, a few numerical examples are presented in this section. The experiments have been carried out using MAPLE 2015 for Windows 10 (64-bit) OS environment. The results have been presented in this paper up to six decimal places due to a lack of space. However, upon specific requests, the authors can provide high-precision numerical calculations exhibited through MAPLE coding.
Example 1.
Here we will examine the case of traffic intensity (ρ) greater than 1. We construct a P H type distribution as the service-time distribution with the representation ( β 3 , T 3 ) to serve that purpose, where β 3 = ( 0.2 , 0.4 , 0.1 , 0.3 ) , T 3 = 3 1 0 1 1 5 1 0 0 2 4 2 1 0 1 4 with μ = 1.619870 . The other parameters are chosen as λ = 20 , N = 20 , a = 3 , b = 10 and ρ = 1.234667 . Proceeding in a similar fashion mentioned in the above sections, we get the denominator of Equation (7) as:
80000 z 14 384000 z 13 + 689800 z 12 549610 z 11 + 163885 z 10 + 8000 z 3 29140 z 2 + 35364 z 14299 .
In this case, Equation (8) has eleven roots inside and on the unit disk and three roots outside the unit disk; γ 1 = 1.00000 , γ 2 = 0.745122 , , γ 3 = 0.615642 0.425348 i , γ 4 = 0.615642 + 0.425348 i , γ 5 = 0.267744 0.709653 i , γ 6 = 0.267744 + 0.709653 i , γ 7 = 0.190352 0.754816 i , γ 8 = 0.190352 + 0.754816 i , γ 9 = 0.620330 0.531710 i , γ 10 = 0.620330 + 0.531710 i , γ 11 = 0.967206 , γ 12 = 1.168465 , γ 13 = 1.223421 and γ 14 = 1.331440 . The values of p + ( n ) and p 1 ( n ) are given in Table 1, from which the loss probability of a random arrival customer can be obtained as P l o s s = p 1 ( 20 ) = 0.313256 .
Using the procedure discussed in the paper the CDF of queueing-time distribution W q ( t ) for the model is obtained as follows:
W q ( t ) = 0.999999 3.32859 e 2.99754 t + 2.32864 e 2.07443 t cos ( 2.46909 t )               1.31795 e 2.07443 t sin ( 2.46909 t ) , t > 0 .
Moreover, using the method discussed in the paper the CDF of sojourn-time distribution W ( t ) for the model is obtained as follows:
W ( t ) = 0.999999 + 0.150422 e 6.66337 t + 0.0602525 e 4.47452 t               0.0268614 e 3.36865 t 4.26332 e 1.49347 t + 2.33519 e 2.99754 t               + 0.744376 e 2.07443 t cos ( 2.46909 t ) + 1.36014 e 2.07443 t sin ( 2.46909 * t ) , t 0 .
Example 2.
Let us take the service time as Pareto power tail distribution (see Ramsay [45], and Roughan et al. [46]) having the distribution function B ( t ) = 1 ( 1 + t ) α 1 , where α = 1.5 , so that μ = 0.5 . To find the Laplace–Stieltjes transformation of the service-time distribution using Padé approximation in the following way:
B * ( λ λ z ) = lim N n = 0 N z n 0 ( λ t ) n n ! e λ t b ( t ) d t = lim N n = 0 N z n c n , | z | 1 ,
where lim N n = 0 N c n = 1 , and B * ( λ λ z ) has a probabilistic interpretation. Now the Padé approximation is applied to the function B * ( λ λ z ) . After using the Padé approximation of the function, we get a function B * ( s ) by replacing λ λ z = s . For more details, see Avram et al. [47]. Using the above procedure B * ( s ) can be obtained as follows:
B * ( s ) 0.00681 + 0.00608 s + 0.00088 s 2 0.00681 + 0.01969 s + 0.00552 s 2 + 0.00059 s 3 .
Moreover, let us take other parameters as a = 4 , b = 11 and λ = 9 so that ρ = λ b · μ = 1.636364 . Using the method described in the preceding sections, we obtained the CDF of the queueing time and sojourn time of a random customer in the M / P a r e t o ( 4 , 11 ) / 1 / 20 queue. Now we take the characteristic Equation (8) as follows:
0.42684 z 14 1.72726 z 13 + 2.35122 z 12 1.05762 z 11 + 0.07113 z 2 0.19698 z + 0.13265 = 0
In this case, Equation (8) has twelve roots inside and on the unit disk and two roots outside the unit disk; γ 1 = 0.99999 , , γ 2 = 0.76442 0.21674 i , γ 3 = 0.76442 + 0.21674 i , γ 4 = 0.54018 0.58975 i , γ 5 = 0.54018 + 0.58975 i , γ 6 = 0.15091 0.79690 i , γ 7 = 0.15091 + 0.79690 i , γ 8 = 0.30129 0.77441 i , γ 9 = 0.30129 + 0.77441 i , γ 10 = 0.698677 0.50934 i , γ 11 = 0.698677 + 0.50934 i , γ 12 = 0.95335 , γ 13 = 1.50214 0.34752 i and γ 14 = 1.50214 + 0.34752 i . The values of p + ( n ) and p 1 ( n ) are given in the Table 2, from which the loss probability of a random arrival customer can be obtained as P l o s s = p 1 ( 20 ) = 0.48373 . Using the procedure discussed in the paper the CDF of queueing-time distribution W q ( t ) is obtained as follows:
W q ( t ) = 0.999987 0.999986 e 0.534383 t c o s ( 0.375759 t )               2.25306 e 0.534383 t s i n ( 0.375759 t ) , t > 0 .
Moreover, using the method discussed in the paper the CDF of the sojourn-time distribution W ( t ) is obtained as follows:
W ( t ) = 0.99998 0.01082 e 4.51669 t c o s ( 3.12265 t ) + 0.01657 e 4.51669 t s i n ( 3.12265 t )               2.54227 e 0.38563 t + 1.55311 e 0.53438 t c o s ( 0.37576 t )               0.66818 e 0.534383 t s i n ( 0.375759 t ) , t 0 .
Example 3.
We consider matrix-exponential (ME) service time with the representation b ( x ) = α e x T S , where α = ( 4 π 2 + 1 , 0 , 0 ) , T = 0 1 0 0 0 1 4 π 2 1 4 π 2 3 3 , and S = ( 0 , 0 , 1 ) t with μ = 0.952917 . One may note that we have picked the service-time distribution from the paper of Akar [48] where he uses the state space method to analyse waiting-time distribution of M E / M E / 1 . The other parameters are taken as λ = 17.152511 , N = 20 , a = 4 , b = 11 so that ρ = 1.636364 . The characteristic Equation (8) is obtained as follows:
5046.416 z 14 16021.87 z 13 + 17633.11 z 12 6698.132 z 11 + 40.47841 = 0 ,
which gives one roots γ 1 = 1.000000 , eleven roots inside the unit disk, and two roots out side the unit circle. We write those roots as γ 2 = 0.544626 0.145851 i , γ 3 = 0.544626 + 0.145851 i , γ 4 = 0.404969 0.405222 i , γ 5 = 0.404969 + 0.405222 i , γ 6 = 0.151554 0.573269 i , γ 7 = 0.151554 + 0.573269 i , γ 8 = 0.170621 0.606064 i , γ 9 = 0.170621 + 0.606064 i , γ 10 = 0.515050 0.475234 i , γ 11 = 0.515050 + 0.475234 i , γ 12 = 0.903618 , γ 13 = 1.051120 0.371486 i , γ 14 = 1.051120 + 0.371486 i . The value of p + ( n ) and p 1 ( n ) are given in Table 3, from which the loss probability of a random arrival customer can be obtained as P l o s s = p 1 ( 20 ) = 0.425405 .
Using the procedure discussed in the paper the CDF of queueing-time distribution W q ( t ) is obtained as follows:
W q ( t ) = 0.999999 0.9999994 e 1.185375 t c o s ( 0.8279833 t )               2.372224 e 1.185375 t s i n ( 0.8279833 t ) , t > 0 .
Moreover, using the method discussed in the paper the CDF of the sojourn-time distribution W ( t ) is obtained as follows:
W ( t ) = 0.999992 0.127843 e 0.440013 t c o s ( 0.30778 t ) 3.03358 e 0.440013 t s i n ( 0.30778 t )                0.00186616 e t c o s ( 6.28318 t ) + 0.000838452 e t s i n ( 6.28318 t ) 0.870283 e t , t 0 .
We have conducted an experiment to compare the results between Examples 2 and 3. We have plotted a graph depicting N versus P l o s s , see Figure 2. However, here, we have considered a very high arrival rate ( λ = 17.15251 ) for the matrix-exponential service-time distribution and λ = 9 for Pareto service-time distribution. In addition, ρ is the same for both the cases and greater then one. Here, we increase the value of N and as a result the loss probability slowly decreases in matrix-exponential case, but in the case of the Pareto service-time distribution the loss probability is higher than that of the matrix-exponential, service-time distribution.
In Figure 3, we have plotted a graph of N versus mean sojourn time, when the distribution follows matrix-exponential, as well as the Pareto service-time distribution. Moreover, here we consider the same traffic intensity ( ρ = 1.636364 ) for both the service-time distributions. One can observe from Figure 3 that the mean sojourn time for the Pareto service-time distribution is higher than that of the matrix-exponential, service-time distribution and both of them rise linearly upward.
Example 4.
Let us take the service time distribution as P H -type having the representation ( β 1 , T 1 ) , where β 1 = ( 0.25 , 0.75 ) and T 1 = 1 0 0 2 , so that μ = 1.6 . Moreover, let us take other parameters as a = b = 5 , λ = 6 with ρ = λ b · μ = 0.75 . Using the method described in the preceding sections, we obtained the CDF of the sojourn time of a random customer for the M / P H 2 / 1 / 20 queue. To present a numerical comparison, we have used the CDF values of the sojourn time obtained in Example 4 of Yu and Tang [49]. In our example, if we take buffer space high (say, N = 300 ), our model behaves almost as an infinite-buffer, single-server queue, as the traffic intensity ( ρ = 0.75 ) is less than one. From Table 4 and Figure 4, it can be observed that while the buffer size (N) is large, the values of the sojourn time CDF almost match the results of the infinite-buffer queue as obtained in [49]. Substituting k = 1 into Equation (46), we get the value of the expectation of the sojourn time in the system for a random customer, E [ V ] = 1.626046 when N = 20 . If we take N = 300 , the expectation can be obtained as E [ V ] = 2.153832 . We also calculated E [ V ] = 2.153820 using the sojourn time CDF obtained from [49]. The denominator ( 28.0 z 5 45.0 z 6 + 18.0 z 7 6.25 + 5.25 z ) of Equation (7) when equated to zero gives one root equal to 1, four roots inside the unit disk and two roots outside the unit circle. γ 6 = 1.080640 , γ 7 = 1.265100 . Using these γ i ’s, p + * ( z ) can be expressed by applying the partial-fraction method, as follows:
p + * ( z ) = D l ^ 6 z γ 6 + l ^ 7 z γ 7 ,
where D = 1.000000 , l ^ 6 = 0.066828 , l ^ 7 = 0.045404 .
For Table 4, a mathematical expression of W ( t ) for N = 300 is as follows:
W ( t ) = ( 0.058873 e 0.78404 t sin ( 3.74003 t ) 0.0000129996 e 1.79961 t 0.973426 e 1.51618 t                + 0.194208 e 0.78404 t cos ( 3.74003 t ) 0.423864 e 0.356990 t + 0.999999 e 2 t                + 0.203411 0.000312514 e t ) e 2 t , t 0 .
Almost similar expressions have been obtained for all other cases, and hence, those are sometimes not presented in the paper.
Table 4. Comparison among the CDF of sojourn times from Example 4 with the parameters λ = 6 , μ = 1.6 , a = 5 , b = 5 , N = 20 / 300 and ρ = 0.75 .
Table 4. Comparison among the CDF of sojourn times from Example 4 with the parameters λ = 6 , μ = 1.6 , a = 5 , b = 5 , N = 20 / 300 and ρ = 0.75 .
W ( t ) from W ( t ) from W ( t ) from
tPresent Paper with N = 20 Present Paper with N = 300 Yu and Tang [49] with N
20.6899650.6180040.610358
40.9752350.8589180.856842
60.9967310.9465730.945808
80.9996260.9797060.979418
100.9999570.9922890.992180
120.9999940.9970700.997029
140.9999990.9988870.998871
160.9999990.9995770.999571
Figure 4. Comparison among the CDF of the sojourn times for different values of N from Example 4 of Yu and Tang [49].
Figure 4. Comparison among the CDF of the sojourn times for different values of N from Example 4 of Yu and Tang [49].
Mathematics 11 01142 g004
Example 5.
In this example, we consider phase-type ( P H ) service-time distribution with the representation ( β 2 , T 2 ) , where β 2 = ( 0.1 , 0.6 , 0.3 ) , T 2 = 2 2 0 3 5 0 0 0 4 with μ = 1 . The other parameters are taken as λ = 10 , N = 20 , a = 3 , b = 10 , and ρ = 1 . We have from the denominator of (7) as 250 z 13 1025 z 12 + 1380 z 11 609 z 10 + 60 z 2 160 z + 104 , when equated to zero gives two roots equal to 1, nine roots inside the unit disk, and two roots outside the unit circle. γ 12 = 1.395684 , γ 13 = 1.636619 . Using these γ i ’s, p + * ( z ) can be expressed by applying the partial-fraction method, as follows:
p + * ( z ) = D l ^ 11 z 1 + l ^ 12 z γ 12 + l ^ 13 z γ 13 ,
where the values of D , l ^ 11 , l ^ 12 , and l ^ 13 can be obtained from Equation (14) and partial fraction method as:
D = 0.386247 , l ^ 11 = 0.131752 , l ^ 12 = 0.048451 , l ^ 13 = 0.035298 .
The obtained results are given in Table 5. From the table, the loss probability of a random arrival customer can be observed as P l o s s = p 1 ( 20 ) = 0.221596 . The CDF of queueing-time distribution W q ( t ) for the model is obtained using the approach discussed in the paper as follows:
W q ( t ) = 0.999998 1.92626 e 2.12386 t cos ( 0.744301 t ) 7.89988 e 2.12386 t sin ( 0.744301 t )               + 0.926266 e 1.1913 t cos ( 2.05986 t ) + 1.26064 e 1.1913 t sin ( 2.05986 t ) , t > 0 .
Moreover, using similar methodology conferred in the paper, the CDF of sojourn-time distribution W ( t ) for the model is obtained as follows:
W ( t ) = [ 5.0501 e 1.87614 t sin ( 0.744301 t ) + 0.861564 e 2.8087 t sin ( 2.05986 t )                + 1.68092 e 1.87614 t cos ( 0.744301 t ) 0.183397 e 2.8087 t cos ( 2.05986 t )                0.0876947 e 2.37228 t 1.44189 e 3.37228 t                + 0.999999 e 4 t 0.967939 ] e 4 t , t 0 .
Putting k = 1 and 2 in Equation (42), we obtain the following:
E [ V q ] = 1.315271 , E [ V q 2 ] = 2.318872 , and
V a r ( V q ) = 0.588934 .
Similarly, a moment of order n can be obtained for the sojourn time in the system for a random customer by substituting k = 1 and k = 2 in Equation (46):
E [ V ] = 2.315271 , E [ V 2 ] = 7.874414 , and
V a r ( V ) = 2.513934 .
We have plotted loss probability ( P l o s s ) and mean sojourn time ( E [ V ] ) against the buffer size N by varying it from 10 to 45 in Figure 5, from which it is apparent that as the system capacity rises, P l o s s decreases and the mean sojourn time increases linearly apparently.
Example 6.
Medhi [7] deals with the waiting-time distribution for the M / M ( a , b ) / 1 queueing model under steady-state. In this example, we have analysed this model and compared it with the results of [7]. Here, the service time is assumed to be exponentially distributed with a mean of 1 μ and B * ( s ) = μ μ + s . Let us take the parameters as a = 3 , b = 6 , N = 200 , λ = 6.7 , and μ = 1.7 with ρ = λ b μ = 0.656863 . Following a similar procedure, as described in the examples mentioned earlier, we have obtained the following results and compared our results with that of [7] in Table 6. Moreover, we have calculated the CDF of the waiting time in the queue and compared it with the results of [7]. Using the procedure discussed in the paper, W q ( t ) is obtained as follows:
W q ( t ) = 0.999999 0.0177191 e 5.20699 t 0.125600 e 5.10225 t cos ( 10.5612 t )                0.257258 e 5.10225 t sin ( 10.5612 t ) 0.856680 e 0.905312 t                + 0.0000107034 e 0.335552 t , t > 0 .
Using [7], W q ( t ) is obtained as follows:
W q ( t ) = 1.000000 0.856711 e 0.90531 t 0.434749 e 6.7 t + 0.360203 e 7.60531 t 1.45641 e 6.7 t t               + 1.28304 t e 7.60531 t , t > 0 .
The results have been exhibited in Table 7 and Figure 6.
Example 7.
In reference [49], the sojourn-time distribution for the M / M [ a ] / 1 queueing model under steady-state was numerically illustrated with the parameters a = b = 4 , λ = 3.0 , and μ = 1.0 , and ρ = 0.75 . Reference [49] (p. 1511), obtained the expression for W ( t ) as follows:
W ( t ) = 1.0 + 0.237540 e 3 t + 0.339631 t e 3 t + 0.162036 t 2 e 3 t 1.237543 e 0.377695 t , t 0 .
Using the procedure discussed in this paper W ( t ) is obtained as follows:
W ( t ) = 0.999999 + ( 0.141648 e 0.23297 t sin ( 7.12046 t ) + 0.183803 e 6.82028 t                + 0.0214328 e 0.23297 t cos ( 7.12046 t ) 1.20519 e 0.622305 t                + 0.0000105754 e 0.767445 t 0.0000332082 ) e t , t 0 .
Using Medhi [7], W ( t ) is obtained as follows:
W ( t ) = 0.999999 0.0420232 e 3.37770 t t 2 0.882464 e 3.37770 t t 1.20518 e 0.3777 t                0.621137 e 3.37770 0.204900 e t + 0.562490 e 3.0 t t 2                + 1.31248 e 3.0 t t + 1.03123 e 3.0 t , t 0 .
In this example, we have analysed this model and compared it with [7]’s results. Here, the service time is assumed to be exponentially distributed with a mean of 1 μ = 1.0 and B * ( s ) = 1.0 1.0 + s . Following a similar procedure, as described in the aforementioned examples, we have obtained the following results taking N = 300 and compared our results with that of [49] in Table 8. Also, we have compared them with the results of [7]. The results have been exhibited in Table 8. Further, it can be seen that E ( V ) = 3.147639 exactly matches with that of [7] while E ( V ) = 3.147645 is given in [49].

Computation Time Comparison

Finally, the computation time for determining the queue-length distribution at a post-departure epoch of a batch in an M / P H ( 3 , 10 ) / 1 / N queueing system using the roots’ method, the GTH algorithm and the R G -factorization technique (extensions of the matrix-analytic method) have been compared. The computation time for these three techniques (which are already discussed in the previous remark) has been presented graphically in Figure 7. We used MAPLE 2015 in a PC with Intel(R) Core i7 processor @3.40 GHz with 8 GB RAM and the Windows 10 environment for this experiment. The P H representation is taken the same as used for Example 1. The mean arrival rate ( λ ) is taken as λ = 20 . The buffer capacity ( N ) varies from 11 to 25, and for each case, the computation time (in seconds) has been noted down for computing the stationary queue-length distribution at a post-departure epoch of a batch. The computation times against each buffer capacity are presented in Figure 7. Moreover, from Figure 7, it may be observed that the computation time using the roots’ method is lower than that of the R G -factorization technique. Further, from Figure 7, one can also see that the computation time for the roots’ method and G T H algorithm are almost the same in the given range of the buffer capacity. One may observe that the computation time using the roots’ method and G T H algorithm is almost parallel to the x-axis in the given range of N, see Figure 7.

6. Conclusions

In this paper, the finite-buffer, bulk-service queue has been analysed, and the steady-state probability distributions at random- and post-departure epochs have been obtained. For this purpose, the roots of the characteristic equation are used. After that, the functional relation between the pgf of the queue-length distribution and the LST of the queueing-time distribution have been used to obtain the queueing time distribution when the server is busy. Moreover, we obtain the probability density functions of the sojourn time and the queueing-time distributions. The analysis of the stationary probabilities for the batch arrivals and batch service queues have problems in dealing with waiting-time distributions. Instead of the Poisson arrival process, one may consider a non-renewal (batch) arrival process ( M A P or B M A P arrival processes) to the same bulk-service queue studied in this paper, and in such a case, the stationary distributions may be achieved using a solution procedure similar to the present article. The analysis of stationary probability vectors for the corresponding batch size dependent bulk-service service queues, such as B M A P / M S P n ( a , b ) / 1 / N ( ) and B M A P / G n ( a , b ) / 1 / N ( ) are interesting problems and may attract researchers’ attention in the near future.

Author Contributions

M.C.: Conceptualization, writing, review & Editing; A.D.B.: Methodology, software, writing—original draft, validation; S.B.: Investigation, data curation & visualization; V.G.: Supervision & project administration. All authors have read and agreed to the published version of the manuscript.

Funding

The first author received partial support from CDARP, Canada. The second author acknowledges the partial financial support from the Department of Science and Technology, New Delhi, India, under the research grant MTR/2021/000287.

Data Availability Statement

Any supporting data related to this research may be available upon request to the corresponding or any author of this article.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A

Remark A1.
It may be remarked here that the results derived in Equations (30) and (31) are actually the same as the corresponding expressions for these probabilities derived in Equations (2.18) and (2.19) presented by Chaudhry and Gupta [17], respectively. This fact can be verified as follows: Solving n linear equations given by (30) with n unknowns p 0 ( n ) ( 0 n a 1 ) , we obtain:
p 0 ( n ) = 1 λ T i = 0 n p + ( i ) = i = 0 n p + ( i ) ρ b + i = 0 a 1 ( a i ) p + ( i ) ,
where λ T = ρ b + i = 0 a 1 ( a i ) p + ( i ) using Equation (26). Equation (A1) is exactly the same as Equation (2.18) in [17]. Next, consider the following pgf as described before:
K ^ ( z ) i = 0 k ^ i z i = μ 1 B * ( λ λ z ) λ λ z = μ λ 1 i = 0 k i z i ( 1 + z + z 2 + ) ,
where K ( z ) = B * ( λ λ z ) i = 0 k i z i . Now, comparing the coefficients of the like powers of z in both sides of Equation (A2), we obtain:
k ^ n = μ λ ( 1 i = 0 n k i ) , n 0 .
Substituting k ^ n from Equation (A3) on the right-hand side of Equation (31), using Equation (2) and after simplification, we get:
p 1 ( n ) = i = n + 1 min { b + n , N } p + ( i ) ρ b + i = 0 a 1 ( a i ) p + ( i ) , 0 n N 1 ,
which is exactly the same expression as given by Equation (2.19) in [17].

References

  1. Chaudhry, M.L.; Templeton, J.G.C. First Course in Bulk Queues; John Wiley & Sons Inc.: Hoboken, NJ, USA, 1983. [Google Scholar]
  2. Dshalalow, J.H. On modulated random measures. Int. J. Stoch. Anal. 1991, 4, 305–312. [Google Scholar] [CrossRef]
  3. Dshalalow, J.H. A single-server queue with random accumulation level. Int. J. Stoch. Anal. 1991, 4, 203–210. [Google Scholar] [CrossRef]
  4. Dshalalow, J.H. Frontiers in Queueing: Models and Applications in Science and Engineering; CRC Press: Boca Raton, FL, USA, 1997; Volume 7. [Google Scholar]
  5. Neuts, M.F. A general class of bulk queues with Poisson input. Ann. Math. Stat. 1967, 38, 759–770. [Google Scholar] [CrossRef]
  6. Borthakur, A. A Poisson queue with a general bulk service rule. J. Assam. Sci. Soc. 1971, 14, 162–167. [Google Scholar]
  7. Medhi, J. Waiting time distribution in a Poisson queue with a general bulk service rule. Manag. Sci. 1975, 21, 777–782. [Google Scholar] [CrossRef]
  8. Easton, G.; Chaudhry, M. The queueing system Ek/M(a,b)/1 and its numerical analysis. Comput. Oper. Res. 1982, 9, 197–205. [Google Scholar] [CrossRef]
  9. Medhi, J. Recent Developments in Bulk Queueing Models; Wiley Eastern Limited: Bridgewater, NJ, USA, 1984. [Google Scholar]
  10. Powell, W.B. Stochastic Delays in Transportation Terminals: New Results in the Theory and Application of Bulk Queues. Ph.D. Thesis, Massachusetts Institute of Technology, Cambridge, MA, USA, 1981. [Google Scholar]
  11. Chaudhry, M.L.; Madill, B.; Briere, G. Computational analysis of steady-state probabilities of M/G(a,b)/1 and related nonbulk queues. Queueing Syst. 1987, 2, 93–114. [Google Scholar] [CrossRef]
  12. Briere, G.; Chaudhry, M. Computational analysis of single-server bulk-service queues, M/GY/1. Adv. Appl. Probab. 1989, 21, 207–225. [Google Scholar]
  13. Finch, P. The effect of the size of the waiting room on a simple queue. J. R. Stat. Soc. Ser. B (Methodol.) 1958, 20, 182–186. [Google Scholar] [CrossRef]
  14. Chaudhry, M.L.; Gupta, U.C.; Agarwal, M. On exact computational analysis of distributions of numbers in systems for M/G/1/N+1 and GI/M/1/N+1 queues using roots. Comput. Oper. Res. 1991, 18, 679–694. [Google Scholar] [CrossRef]
  15. Chaudhry, M.; Goswami, V. The Queue Geo/G/1/N+1 Revisited. Methodol. Comput. Appl. Probab. 2019, 21, 155–168. [Google Scholar] [CrossRef]
  16. Singh, V. Finite waiting space bulk service system. J. Eng. Math. 1971, 5, 241–248. [Google Scholar] [CrossRef]
  17. Chaudhry, M.L.; Gupta, U.C. Modelling and analysis of M/G(a,b)/1/N queue—A simple alternative approach. Queueing Syst. 1999, 31, 95–100. [Google Scholar] [CrossRef]
  18. Gold, H.; Tran-Gia, P. Performance analysis of a batch service queue arising out of manufacturing system modelling. Queueing Syst. 1993, 14, 413–426. [Google Scholar] [CrossRef]
  19. Goswami, V.; Patra, S.S.; Mund, G.B. Performance analysis of cloud computing centers for bulk services. Int. J. Cloud Appl. Comput. (IJCAC) 2012, 2, 53–65. [Google Scholar] [CrossRef] [Green Version]
  20. Banerjee, A.; Gupta, U.C.; Chakravarthy, S.R. Analysis of a finite-buffer bulk-service queue under Markovian arrival process with batch-size-dependent service. Comput. Oper. Res. 2015, 60, 138–149. [Google Scholar] [CrossRef]
  21. Pradhan, S.; Gupta, U.C. Analysis of an infinite-buffer batch-size-dependent service queue with Markovian arrival process. Ann. Oper. Res. 2019, 277, 161–196. [Google Scholar] [CrossRef]
  22. Keilson, J.; Servi, L. A distributional form of Little’s law. Oper. Res. Lett. 1988, 7, 223–227. [Google Scholar] [CrossRef] [Green Version]
  23. Botta, R.F.; Harris, C.M.; Marchal, W.G. Characterizations of generalized hyperexponential distribution functions. Stoch. Model. 1987, 3, 115–148. [Google Scholar] [CrossRef]
  24. Neuts, M.F. Matrix-Geometric Solutions in Stochastic Models: An Algorithmic Approach; Courier Corporation: Chelmsford, MA, USA, 1981. [Google Scholar]
  25. Kendall, D.G. Some recent work and further problems in the theory of queues. Theory Probab. Its Appl. 1964, 9, 1–13. [Google Scholar] [CrossRef]
  26. Kleinrock, L. Queueing Systems, Volume 1: Theory; John Wiley & Sons. Inc.: New York, NY, USA, 1975; p. 417. [Google Scholar]
  27. Chaudhry, M. QROOT Software Package; A & A Publications: Kingston, ON, Canada, 1992. [Google Scholar]
  28. Chaudhry, M.L. Numerical issues in computing steady-state queueing-time distributions of single-server bulk-service queues: M/Gb/1 and M/Gd/1. ORSA J. Comput. 1992, 4, 300–310. [Google Scholar] [CrossRef]
  29. Chaudhry, M.L.; Harris, C.M.; Marchal, W.G. Robustness of root finding in single-server queueing models. ORSA J. Comput. 1990, 2, 273–286. [Google Scholar] [CrossRef]
  30. Neuts, M.F. Structured Stochastic Matrices of M/G/1 Type and Their Applications; CRC Press: Boca Raton, FL, USA, 2021. [Google Scholar]
  31. Li, Q.L. Constructive Computation in Stochastic Models with Applications: The RG-Factorizations; Springer Science & Business Media: Berlin/Heidelberg, Germany, 2011. [Google Scholar]
  32. Gelenbe, E.; Lent, R. Computer and Information Sciences III; Springer: Berlin/Heidelberg, Germany, 2013. [Google Scholar]
  33. Li, Q.L.; Lian, Z.; Liu, L. An RG-factorization approach for a BMAP/M/1 generalized processor-sharing queue. Stoch. Model. 2005, 21, 507–530. [Google Scholar] [CrossRef]
  34. Borwein, J.M.; Borwein, P.B. Pi and the AGM: A Study in the Analytic Number Theory and Computational Complexity; Wiley-Interscience: Hoboken, NJ, USA, 1987. [Google Scholar]
  35. Xin, G. A fast algorithm for partial fraction decompositions. arXiv 2004, arXiv:math/0408189. [Google Scholar]
  36. Chaudhry, M.; Templeton, J. The queuing system M/GB/l and its ramifications. Eur. J. Oper. Res. 1981, 6, 56–60. [Google Scholar] [CrossRef]
  37. Abate, J.; Whitt, W. Numerical inversion of probability generating functions. Oper. Res. Lett. 1992, 12, 245–251. [Google Scholar] [CrossRef]
  38. Abate, J.; Choudhury, G.L.; Whitt, W. An introduction to numerical transform inversion and its application to probability models. In Computational Probability; Springer: Berlin/Heidelberg, Germany, 2000; pp. 257–323. [Google Scholar]
  39. Fan, C.; Ghaemi, S.; Khazaei, H.; Musilek, P. Performance evaluation of blockchain systems: A systematic survey. IEEE Access 2020, 8, 126927–126950. [Google Scholar] [CrossRef]
  40. Nakamoto, S.; Bitcoin, A. A Peer-to-Peer Electronic Cash System. 2008. Available online: https://bitcoin.org/bitcoin.pdf (accessed on 17 March 2022).
  41. Kawase, Y.; Kasahara, S. Transaction-confirmation time for bitcoin: A queueing analytical approach to blockchain mechanism. In Proceedings of the Queueing Theory and Network Applications: 12th International Conference, QTNA 2017, Qinhuangdao, China, 21–23 August 2017; Springer: Berlin/Heidelberg, Germany, 2017; pp. 75–88. [Google Scholar]
  42. Li, Q.L.; Ma, J.Y.; Chang, Y.X. Blockchain queue theory. In Proceedings of the Computational Data and Social Networks: 7th International Conference, CSoNet 2018, Shanghai, China, 18–20 December 2018; Springer: Berlin/Heidelberg, Germany, 2018; pp. 25–40. [Google Scholar]
  43. Geissler, S.; Prantl, T.; Lange, S.; Wamser, F.; Hossfeld, T. Discrete-time analysis of the blockchain distributed ledger technology. In Proceedings of the 2019 31st International Teletraffic Congress (ITC 31), Budapest, Hungary, 27–29 August 2019; pp. 130–137. [Google Scholar]
  44. Geyer, F.; Kinkelin, H.; Leppelsack, H.; Liebald, S.; Scholz, D.; Carle, G.; Schupke, D. Performance perspective on private distributed ledger technologies for industrial networks. In Proceedings of the 2019 International Conference on Networked Systems (NetSys), Munich, Germany, 18 March 2019; pp. 1–8. [Google Scholar]
  45. Ramsay, C.M. Exact waiting time and queue size distributions for equilibrium M/G/1 queues with Pareto service. Queueing Syst. 2007, 57, 147–155. [Google Scholar] [CrossRef]
  46. Roughan, M.; Veitch, D.; Rumsewicz, M. Computing queue-length distributions for power-law queues. In Proceedings of the IEEE INFOCOM’98, the Conference on Computer Communications, Seventeenth Annual Joint Conference of the IEEE Computer and Communications Societies, Gateway to the 21st Century (Cat. No. 98), San Francisco, CA, USA, 29 March–2 April 1998; Volume 1, pp. 356–363. [Google Scholar]
  47. Avram, F.; Banik, A.D.; Horváth, A. Ruin probabilities by Padé’s method: Simple moments based mixed exponential approximations (Renyi, De Vylder, Cramér–Lundberg), and high precision approximations with both light and heavy tails. Eur. Actuar. J. 2019, 9, 273–299. [Google Scholar] [CrossRef]
  48. Akar, N. Solving the ME/ME/1 queue with state–space methods and the matrix sign function. Perform. Eval. 2006, 63, 131–145. [Google Scholar] [CrossRef] [Green Version]
  49. Yu, M.; Tang, Y. Analysis of the sojourn time distribution for M/GL/1 queue with bulk-service of exactly size L. Methodol. Comput. Appl. Probab. 2018, 20, 1503–1514. [Google Scholar] [CrossRef]
Figure 1. M / G ( a , b ) / 1 / N blockchain queueing model.
Figure 1. M / G ( a , b ) / 1 / N blockchain queueing model.
Mathematics 11 01142 g001
Figure 2. Effect of N on loss probabilities.
Figure 2. Effect of N on loss probabilities.
Mathematics 11 01142 g002
Figure 3. Effect of N on mean sojourn time.
Figure 3. Effect of N on mean sojourn time.
Mathematics 11 01142 g003
Figure 5. Buffer size (N) versus mean sojourn time ( E [ V ] ) and N versus loss probability ( P l o s s ).
Figure 5. Buffer size (N) versus mean sojourn time ( E [ V ] ) and N versus loss probability ( P l o s s ).
Mathematics 11 01142 g005
Figure 6. Comparison of CDF of queueing time obtained from this paper against that of Medhi [7].
Figure 6. Comparison of CDF of queueing time obtained from this paper against that of Medhi [7].
Mathematics 11 01142 g006
Figure 7. Computation time for different techniques with varying number of servers.
Figure 7. Computation time for different techniques with varying number of servers.
Mathematics 11 01142 g007
Table 1. Computation of post-departure epoch probabilities and random epoch probabilities (when the server is busy) for Example 1 with the parameters λ = 20 , μ = 1.619870 , a = 3 , b = 10 , N = 20 and ρ = 1.234667 .
Table 1. Computation of post-departure epoch probabilities and random epoch probabilities (when the server is busy) for Example 1 with the parameters λ = 20 , μ = 1.619870 , a = 3 , b = 10 , N = 20 and ρ = 1.234667 .
n p + ( n ) p 1 ( n ) n p + ( n ) p 1 ( n )
00.0284180.023753110.0340510.051154
10.0279920.024237120.0351430.048347
20.0278930.024816130.0362860.045447
30.0280480.025475140.0374800.042453
40.0284020.026200150.0387230.039359
50.0289140.026983160.0400140.036162
60.0295540.027819170.0413550.032858
70.0302990.028702180.0427430.029443
80.0311320.029630190.0441840.025912
90.0320410.030600200.3243180.313256
100.0330160.053875---
p0(0) = 0.002270, p0(1) = 0.004507, p0(2) = 0.006736.
Table 2. Computation of post-departure epoch probabilities and arbitrary epoch probabilities (when the server is busy) for Example 1 with the parameters λ = 9 , μ = 0.5 , a = 4 , b = 11 , N = 20 and ρ = 1.636364 .
Table 2. Computation of post-departure epoch probabilities and arbitrary epoch probabilities (when the server is busy) for Example 1 with the parameters λ = 9 , μ = 0.5 , a = 4 , b = 11 , N = 20 and ρ = 1.636364 .
n p + ( n ) p 1 ( n ) n p + ( n ) p 1 ( n )
00.0399950.015206110.0272090.037136
10.0331060.014958120.0285670.035579
20.0281700.015058130.0299950.033943
30.0249850.015412140.0314900.032226
40.0231990.015950150.0330520.030424
50.0224510.016617160.0346840.028533
60.0224350.017378170.0363920.026549
70.0229170.018210180.0381800.024467
80.0237280.019100190.0400520.022283
90.0247570.040034200.4086970.483735
100.0259310.038620---
p0(0) = 0.002180, p0(1) = 0.003985, p0(2) = 0.005521, p0(3) = 0.006884.
Table 3. Computation of post-departure epoch probabilities and arbitrary epoch probabilities (when the server is busy) for Example 3 with the parameters λ = 17.1525 , μ = 0.95291 , a = 4 , b = 11 , N = 20 and ρ = 1.636364 .
Table 3. Computation of post-departure epoch probabilities and arbitrary epoch probabilities (when the server is busy) for Example 3 with the parameters λ = 17.1525 , μ = 0.95291 , a = 4 , b = 11 , N = 20 and ρ = 1.636364 .
n p + ( n ) p 1 ( n ) n p + ( n ) p 1 ( n )
00.0011590.010570110.0295120.044812
10.0032430.012151120.0317570.043051
20.0059720.013721130.0342980.041149
30.0090640.015284140.0372530.039083
40.0122640.016862150.0407150.036826
50.0153750.018491160.0447610.034344
60.0182680.020220170.0494440.031603
70.0208850.022100180.0548010.028564
80.0232350.024187190.0608620.025189
90.0253830.047969200.4543080.425405
100.0274320.046448---
p0(0) = 0.000064, p0(1) = 0.000244, p0(2) = 0.000575, p0(3) = 0.001077.
Table 5. Computation of post-departure epoch probabilities and random epoch probabilities (when the server is busy) for Example 5 with the parameters λ = 10 , μ = 1 , a = 3 , b = 10 , N = 20 and ρ = 1 .
Table 5. Computation of post-departure epoch probabilities and random epoch probabilities (when the server is busy) for Example 5 with the parameters λ = 10 , μ = 1 , a = 3 , b = 10 , N = 20 and ρ = 1 .
n p + ( n ) p 1 ( n ) n p + ( n ) p 1 ( n )
00.0291500.045410110.0505090.044813
10.0361920.046814120.0506210.039850
20.0408960.047768130.0506990.034880
30.0440570.048419140.0507550.029904
40.0461940.048866150.0507940.024925
50.0476480.049174160.0508210.019943
60.0486410.049388170.0508410.014959
70.0493240.049537180.0508550.009973
80.0497960.049640190.0508640.004987
90.0501230.049713200.0508710.221596
100.0503500.049764---
p0(0) = 0.002858, p0(1) = 0.006406, p0(2) = 0.010415.
Table 6. Performance measures of different quantities with that of [7].
Table 6. Performance measures of different quantities with that of [7].
QuantitiesExpressionResults Obtained fromResults Obtained from
the Present PaperMedhi [7]
Expected waiting time E ( V q ) 0.9740870.974087
in the queue
Second order moment of V q E ( V q 2 ) 2.0935992.105153
Expected sojourn time E ( V ) 1.5623221.562322
in the system
Table 7. Comparison between numerical results for CDF of queueing time of a random customer from Example 1 with the parameters λ = 6.7 , μ = 1.7 , a = 3 , b = 6 , N = 200 and ρ = 0.656863 .
Table 7. Comparison between numerical results for CDF of queueing time of a random customer from Example 1 with the parameters λ = 6.7 , μ = 1.7 , a = 3 , b = 6 , N = 200 and ρ = 0.656863 .
W q ( t ) from W q ( t ) from
tthe Present PaperMedhi [7]
20.8598840.859882
40.9770850.977084
60.9962520.996252
80.9993870.999387
100.9999000.999900
120.9999840.999984
140.9999970.999997
Table 8. Comparison among the CDF of sojourn times from Example 7 with the parameters λ = 3 , μ = 1.0 , a = b = 4 , N = 300 and ρ = 0.75 .
Table 8. Comparison among the CDF of sojourn times from Example 7 with the parameters λ = 3 , μ = 1.0 , a = b = 4 , N = 300 and ρ = 0.75 .
W ( t ) from W ( t ) from W ( t ) from
tPresent Paper with N = 300 Medhi [7]Yu and Tang [49]
20.4455370.4159380.418568
40.7336050.7302940.726828
60.8749320.8745030.871656
80.9412810.9412080.939701
100.9724110.9724010.971670
120.9870370.9870360.986690
140.9939100.9939100.993746
160.9971390.9971390.997062
180.9986560.9986560.998620
200.9993680.9993680.999351
E ( V ) = 3.147639 E ( V ) = 3.147639 E ( V ) = 3.147645
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Chaudhry, M.; Datta Banik, A.; Barik, S.; Goswami, V. A Novel Computational Procedure for the Waiting-Time Distribution (In the Queue) for Bulk-Service Finite-Buffer Queues with Poisson Input. Mathematics 2023, 11, 1142. https://doi.org/10.3390/math11051142

AMA Style

Chaudhry M, Datta Banik A, Barik S, Goswami V. A Novel Computational Procedure for the Waiting-Time Distribution (In the Queue) for Bulk-Service Finite-Buffer Queues with Poisson Input. Mathematics. 2023; 11(5):1142. https://doi.org/10.3390/math11051142

Chicago/Turabian Style

Chaudhry, Mohan, Abhijit Datta Banik, Sitaram Barik, and Veena Goswami. 2023. "A Novel Computational Procedure for the Waiting-Time Distribution (In the Queue) for Bulk-Service Finite-Buffer Queues with Poisson Input" Mathematics 11, no. 5: 1142. https://doi.org/10.3390/math11051142

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop