4. Stationary Distribution
The only information that is provided to the customers at the moment of their arrival consists in the total number of customers in the system. Using this information they may decide to join the network or balk, and they may do it according to a strategy potentially random. It follows that we may represent a strategy, say s, as an infinite vector, that is ,where , is the probability that an arriving customer will join the system after observing a total number of k customers in it. In particular, for , we denote by , the K-threshold strategy, with the property that .
Remark 1.
We say that a strategy s is a pure strategy whenever for all . A K-threshold strategy is a pure strategy. We say that a strategy s is a mixed x-threshold strategy, where with and , if for , , and for . This means that an arriving customer certainly joins if there are less than n customers in the system, joins with probability p if there are exactly n customers, and otherwise she balks. A mixed threshold strategy is a convex combination of two pure threshold strategies, indeed .
We say that a strategy is admissible if whenever , for a given , then for any . In this case the number of customers in the network can be at most K and the network is called semi-open. If the strategy s is positive, that is for all , the network is said open and we set . To simplify the exposition, in the following when we say strategy we implicitly mean admissible strategy, and we denote by , the maximum number of customers allowed in the network given the strategy s.
Under the assumption that everyone uses the common strategy
s, we denote by
the expected potential profit function for an arriving customer that observes
k users in the network, that is
where
R is the positive reward for entering the system and
is the expected cost for sojourn time.
is the positive cost for unit sojourn time at queue
i, also said cost rate, and
is the expected sojourn time that a joining customer will spend at queue
i, under the common strategy
s and having received the information
.
is the corresponding sojourn time and
denotes the total number of customers at her
arrival time. The profit for balking is assumed to be 0.
In
Section 5, we give an algorithm to compute
, and find the equilibrium strategy by maximizing it under the assumption that all customers use the same strategy.
Thanks to the assumptions of independence and exponential service times, we can describe the dynamics of the network only by keeping trace of the number of customers at each queue, that is the vector
. Indeed, the system can be described as a continuous time Markov chain with values in
. In particular, this kind of network can be seen as a generalized
Jackson network, whose special property consists in having a state-dependent arrival rate due to the joining strategy
s; according to the nomenclature in [
12], this network belongs to the class of Whittle networks. For a background on Jackson network, consult the Chapter 2 of [
13], and for more general Whittle networks the book [
12]. In our case the arrival rate is equal to
, where
is the total number of customers in the system, and
is the maximum arrival rate, the one achieved if no customers would decide to balk.
A nice property of Jackson and Whittle networks is that the stationary distribution, when it exists, has the so-called product form, that is the queues behave like they were almost independent.
We denote by
the solution of the normalized
traffic equations, satisfying the normalizing condition
and the following relation
We set with .
When the network is overtaking-free, and its graph is an out-tree, the solution of the traffic equations (
2) are readily written. Indeed, denoting by
the set of edges that belong to the unique path from node 1 to node
, then
and, for
,
, where
for
.
Let be a vector distributed as the stationary number of customers in the network, and let be the stationary distribution, so that , with denoting a general state.
It is known that in a Whittle network, with any topological structure, at most one transition by time may occur, and that the time between two transitions is exponentially distributed with state dependent rate. We define by
the operator that moves one customer from node
to node
, that is
, where
, for
, is the
-dimensional unit vector with the
i-th coordinate equal to 1 whereas
. The transition rate from
to
, whenever
, is
In an overtaking-free network, , however we keep the notation general as the stationary regime does hold for a more general topology.
Assuming that the stationary distribution exists, that occurs when the network is stable, it has the following form
In the sequel, we will not check the stability assumption as it always holds when
. In (
3),
, and the missing normalizing constant is
To check that (
3) indeed holds, one can verify that the global balance conditions are satisfied, see also Example 1.49 in [
12].
In the following, we are also going to deal with networks whose number of customers inside is kept constant, say
. In this case the network is called
closed, and in it, transitions from/to node
are not allowed, therefore the strategy employed by all customers is irrelevant. When the network is closed, the normalizing condition in (
2) is substituted with
. A closed network is always stable, and its stationary distribution has the following product form, compare with (
3),
Denoting by
a random vector distributed according to this stationary distribution, it has the same joint distribution as
independent Geometric random variables with corresponding parameters
conditioned to have a total sum equal to
K.
Jackson and Whittle networks enjoy the
MUSTA property (
Moving Unit Sees a Time Average) at Simple Network Transitions, see Example 4.38 in [
12], according to which, any customer moving, among the queues or from/to the outside sees, before joining the destination node, a stationary network having one less maximum number of customers.
To better formalize this property, we need to introduce the Palm probabilities. We consider the stationary network process
, whose trajectories belong to the space
of right-continuous functions with left limits with values in
, and for fixed
with
, we define the set
of
simple network transitions from
i to
j as
Assuming the common strategy
s, we denote by
the state of the network at time 0 just before a customer, making a
-transition, has joined her destination node, and we define
its distribution. This distribution takes the name of
Palm distribution, it has the special property to be conditioned to the occurrence of a
-transition that is a null event, and it was first introduced by Palm in [
14].
We give a heuristic proof of the MUSTA property in the following proposition, for a more formal proof see [
12, Theorem4.37 & Example4.38].
Proposition 1 (MUSTA property).
Fix , , and consider as in (5).
For a (semi-)open network employing the strategy s, and with denoting the shifted strategy, that is , then it follows that
where denotes the distribution of a similar network in which all customers employ the strategy .
If the stationary distribution refers to a closed network with a number of customers equal to K, in which the strategy s is irrelevant, the distribution refers to a closed network with number of customers.
Proof. To simplify notation, we set
and
, for
and
. To compute
, we do the following calculations,
where
. To get the result for a closed network with
K customers, it is enough to repeat the same reasoning above, after setting
, considering
and summing over
. □
When
, the
-transitions correspond to the Poisson arrivals. This is the most recurrent case, and the property takes the well known name of
PASTA (
Poisson Arrivals See Time Averages), see [
15]. We collect this fundamental result in the following corollary.
Corollary 1 (PASTA property).
In stationary regime, an arrival customer sees an open network in a state distributed according to the stationary distribution, that is
If the network is closed (semi-open) with K (maximum) number of customers, in (7) refers to the stationary distribution of a similar network with (maximum) number of customers.
Thanks to the PASTA property, , where . In applying this formula, it is important to interpret the random variable as the sojourn time that a new customer, joining the queue with probability (in an overtaking-free network ), is going to spend in queue along her path throw the network. The total number of customers in the network, in case and after the new one has joined, is then .
Another property of a Jackson network with state-dependent arrival rate consists in the fact that, under the partial information
, its stationary distribution coincides with the one of a similar closed network with
k circulating customers. We collect this well-known result in the following proposition, noticing that its proof is an immediate consequence of the product form (
3) and the definition of the conditional probability.
Proposition 2.
With being a random vector distributed as the stationary number of customers in a closed network with total customers, the following equality in distribution holds
Next proposition gives a known efficient algorithm to compute the expected number of customers,
, at each node
, see Section 2.5.5 in [
13] for a proof.
Proposition 3 (Mean value analysis).
The mean number of customers at node in a closed queueing network with customers, can be computed recursively according to the following algorithm
with .
Corollary 1 and Proposition 2 imply that an arriving customer that sees k customers in the system behaves in the same way as an arriving customer belonging to a closed network with customers. That is, before the arriving customer joins, the customers in the network are distributed as and just after joining they are distributed as .
Since the tagged customer is indistinguishable from all others, we can use the information about the distribution of the customers in the system to finally estimate her expected sojourn times at each queue.
Theorem 2.
In an overtaking-free network, assuming that the tagged customer only knows the total number of customers in the network at her arrival epoch, say k, independently of the common strategy s, her expected sojourn time at node is equal to
and it can be computed recursively by the formula and, for ,
Proof. At the arrival epoch of the tagged customer, by the PASTA property (
7), she encounters in the network a stationary number of users. Once she gets the information that the total number of users in the network is equal to
k, the distribution of the customers in the network reduces to the one of a stationary closed network with
k customers, according to Proposition 2.
After that moment, and assuming that she decides to join, by the overtaking-free condition, the future arrivals will not interfere with her future sojourn times she will spend at each queue along her random path throw the network. Therefore, we are allowed to change the future arrivals, so that we may assume that the network evolves as a closed network with customers in it. The tagged customer is then indistinguishable with respect to any other customer of this new closed network.
Looking now at the tagged customer as a typical customer in a closed network with
customers, an application of the MUSTA property (
6) implies that at any transition she will meet a network whose customers are distributed as a closed network with
k customers inside. This allows to compute her expected sojourn time. Indeed, in a stationary closed network with
k customers, these customers are distributed according to the distribution given in (
4).
The tagged customer visits the node
with probability
, and it spends there a sojourn time equal to
. We get that
, with
B an independent Bernoulli random variable with parameter
and
independent exponentially distributed random variables with parameter
. By taking the expectation, (
10) readily follows. Then using this formula and (
9), we get (
11). □
Remark 2. A short observation about the use of the overtaking-free property in the proof of Theorem 2 is due, as it is subtle. Since the MUSTA property (6) holds for any Jackson and Whittle network, one would be tempted to believe that the overtaking-free condition is not required, and that also in a general network in which overtaking is allowed, one could easily compute the distribution or the expectation of the waiting times at each queue. The observation that should be made is that, in this case, the tagged customer would not be any more an indistinguishable customer belonging to her network. Indeed, at the moment of her entrance, she had an information more with respect to the others, that is, she knew that in the network there were exactly k customers circulating. However, she is not even belonging to a closed network because, due to the permitted overtaking, the number of customers ahead of her may change by some later arrival. Therefore, we are not allowed to apply the MUSTA property in the way we have done in the proof of the theorem.
Remark 3.
The result in Theorem 2 extends the one in [9], limited to tandem queues, to the more general class of overtaking-free Jackson networks with rate dependent arrivals. In [9], the strategy to compute the expected sojourn time in each queue, consists in using the Little’s law, that allows to get the value of for any . Then, by using the relation,
(Equation (4) in [9]), one can finally get the result given in (10). However, we point out that the Little’s law is very robust, meaning that it works in almost any queueing context, practically regardless of any distributional condition. This may misleadingly lead to believe that a similar result holds for more general tandem networks, or even for overtaking-free networks. However, this is not the case, see next Remark 4. Indeed, in order to make computable the expression in (12), one still needs that . This equality only holds for very specific models, such as the Jackson and Whittle networks that are very restrictive in terms of the distributions of their structural random variables. As a byproduct of the special properties of these networks, one also gets that .
Remark 4.
To be convinced that Theorem 2 makes strong use of the assumption of exponentially distributed service times, we recall here some counter examples. In particular, a single queue may always be seen as a tandem network with a single node, and consequently also as an overtaking-free network. In the literature, the single queue has been extensively studied, and in particular [16] has shown an example of M/G/1 queue that does not admit optimal equilibrium strategies. Moreover, the M/G/1 queue has been analyzed in full generality in [17], where it is shown that, depending on the service distribution, the equilibrium is not necessarily unique, and either the avoid the crowd
phenomenon or the follow the crowd
phenomenon may occur.