Jackson network

{{short description|Mathematical discipline}}{{more footnotes|date=June 2012}}In queueing theory, a discipline within the mathematical theory of probability, a Jackson network (sometimes Jacksonian network{{Cite journal | last1 = Walrand | first1 = J. | author-link1 = Jean Walrand| last2 = Varaiya | first2 = P. | title = Sojourn Times and the Overtaking Condition in Jacksonian Networks | journal = Advances in Applied Probability| volume = 12 | issue = 4 | pages = 1000–1018 | doi = 10.2307/1426753 | jstor = 1426753| year = 1980 }}) is a class of queueing network where the equilibrium distribution is particularly simple to compute as the network has a product-form solution. It was the first significant development in the theory of networks of queues, and generalising and applying the ideas of the theorem to search for similar product-form solutions in other networks has been the subject of much research,{{cite journal|title=Networks of Queues|author-link=F. P. Kelly|first=F. P.|last=Kelly|journal=Advances in Applied Probability|volume=8|date=June 1976|pages=416–432|jstor=1425912|issue=2|doi=10.2307/1425912}} including ideas used in the development of the Internet.{{cite journal|title=Comments on "Jobshop-Like Queueing Systems": The Background|first=James R.|last=Jackson|journal=Management Science|volume=50|date=December 2004|pages=1796–1802|jstor=30046150|issue=12|doi=10.1287/mnsc.1040.0268}} The networks were first identified by James R. Jackson{{cite journal|title=Jobshop-like Queueing Systems|first=James R.|last=Jackson|journal=Management Science|volume=10|date=Oct 1963|pages=131–142|doi=10.1287/mnsc.1040.0268|jstor=2627213|issue=1}} A version from January 1963 is available at http://www.dtic.mil/dtic/tr/fulltext/u2/296776.pdf {{Webarchive|url=https://web.archive.org/web/20180412210004/http://www.dtic.mil/dtic/tr/fulltext/u2/296776.pdf |date=2018-04-12 }}{{Cite journal | last1 = Jackson | first1 = J. R. | author-link = James R. Jackson| title = Networks of Waiting Lines | doi = 10.1287/opre.5.4.518 | journal = Operations Research | volume = 5 | issue = 4 | pages = 518–521 | year = 1957 | jstor = 167249}} and his paper was re-printed in the journal Management Science’s ‘Ten Most Influential Titles of Management Sciences First Fifty Years.’{{cite journal|title=Jobshop-Like Queueing Systems|first=James R.|last=Jackson|journal=Management Science|volume=50|date=December 2004|pages=1796–1802|jstor=30046149|issue=12|doi=10.1287/mnsc.1040.0268}}

Jackson was inspired by the work of Burke and Reich,{{cite journal|title=Waiting Times When Queues are in Tandem|journal=Annals of Mathematical Statistics|volume=28|date=September 1957|first=Edgar|last=Reich|doi=10.1214/aoms/1177706889|jstor=2237237|issue=3|pages=768|doi-access=free}} though Jean Walrand notes "product-form results … [are] a much less immediate result of the output theorem than Jackson himself appeared to believe in his fundamental paper".{{cite journal|title=A Probabilistic Look at Networks of Quasi-Reversible Queues|journal=IEEE Transactions on Information Theory|volume=29|date=November 1983|first=Jean|last=Walrand|doi=10.1109/TIT.1983.1056762|issue=6|pages=825}}

An earlier product-form solution was found by R. R. P. Jackson for tandem queues (a finite chain of queues where each customer must visit each queue in order) and cyclic networks (a loop of queues where each customer must visit each queue in order).{{cite journal|title=Book review: Queueing networks and product forms: a systems approach|first=R. R. P.|last=Jackson|doi=10.1093/imaman/6.4.382|year=1995|volume=6|pages=382–384|journal=IMA Journal of Management Mathematics|issue=4}}

A Jackson network consists of a number of nodes, where each node represents a queue in which the service rate can be both node-dependent (different nodes have different service rates) and state-dependent (service rates change depending on queue lengths). Jobs travel among the nodes following a fixed routing matrix. All jobs at each node belong to a single "class" and jobs follow the same service-time distribution and the same routing mechanism. Consequently, there is no notion of priority in serving the jobs: all jobs at each node are served on a first-come, first-served basis.

Jackson networks where a finite population of jobs travel around a closed network also have a product-form solution described by the Gordon–Newell theorem.{{Cite journal | last1 = Gordon | first1 = W. J. | last2 = Newell | first2 = G. F. | author-link2 = Gordon F. Newell| doi = 10.1287/opre.15.2.254 | jstor = 168557| title = Closed Queuing Systems with Exponential Servers | journal = Operations Research| volume = 15 | issue = 2 | pages = 254 | year = 1967 }}

Necessary conditions for a Jackson network

A network of m interconnected queues is known as a Jackson network{{cite journal|last1=Goodman|first1=Jonathan B.|last2=Massey|first2=William A.|title=The Non-Ergodic Jackson Network|journal=Journal of Applied Probability|date=December 1984|volume=21|issue=4 |pages=860–869|doi=10.2307/3213702}} or Jacksonian network{{cite journal |last1=Walrand|first1=J.|last2=Varaiya|first2=P.|title=Sojourn Times and the Overtaking Condition in Jacksonian Networks|journal=Advances in Applied Probability|date=December 1980 |volume=12|issue=4|pages=1000–1018|doi=10.2307/1426753}} if it meets the following conditions:

  1. if the network is open, any external arrivals to node i form a Poisson process,
  2. All service times are exponentially distributed and the service discipline at all queues is first-come, first-served,
  3. a customer completing service at queue i will either move to some new queue j with probability P_{ij} or leave the system with probability 1-\sum_{j=1}^{m}P_{ij}, which, for an open network, is non-zero for some subset of the queues,
  4. the utilization of all of the queues is less than one.

Theorem

In an open Jackson network of m M/M/1 queues where the utilization \rho_i is less than 1 at every queue, the equilibrium state probability distribution exists and for state \scriptstyle{(k_1,k_2,\ldots,k_m)} is given by the product of the individual queue equilibrium distributions

:\pi (k_1,k_2,\ldots,k_m) = \prod_{i=1}^{m} \pi_i(k_i) = \prod_{i=1}^{m} [\rho_i^{k_i} (1-\rho_i)].

The result \pi (k_1,k_2,\ldots,k_m) = \prod_{i=1}^{m} \pi_i(k_i) also holds for M/M/c model stations with ci servers at the i^\text{th} station, with utilization requirement \rho_i < c_i.

Definition

In an open network, jobs arrive from outside following a Poisson process with rate \alpha>0. Each arrival is independently routed to node j with probability p_{0j}\ge0 and \sum_{j=1}^J p_{0j}=1. Upon service completion at node i, a job may go to another node j with probability p_{ij} or leave the network with probability p_{i0}=1-\sum_{j=1}^J p_{ij}.

Hence we have the overall arrival rate to node i, \lambda_i, including both external arrivals and internal transitions:

: \lambda_i =\alpha p_{0i} + \sum_{j=1}^J \lambda_j p_{ji}, i=1,\ldots,J. \qquad (1)

(Since the utilisation at each node is less than 1, and we are looking at the equilibrium distribution i.e. the long-run-average behaviour, the rate of jobs transitioning from j to i is bounded by a fraction of the arrival rate at j and we ignore the service rate \mu_j in the above.)

Define a=(\alpha p_{0i})_{i=1}^J, then we can solve \lambda=(I-P^T)^{-1}a.

All jobs leave each node also following Poisson process, and define \mu_i(x_i) as the service rate of node i when there are x_i jobs at node i.

Let X_i(t) denote the number of jobs at node i at time t, and \mathbf{X}=(X_i)_{i=1}^J. Then the equilibrium distribution of \mathbf{X}, \pi(\mathbf{x})=P(\mathbf{X}=\mathbf{x}) is determined by the following system of balance equations:

:

\begin{align}

& \pi(\mathbf{x}) \sum_{i=1}^J [\alpha p_{0i} +\mu_i (x_i) (1-p_{ii})] \\ = {} & \sum_{i=1}^J[\pi(\mathbf{x}-\mathbf{e}_i) \alpha p_{0i}+\pi(\mathbf{x}+\mathbf{e}_i)\mu_i(x_i+1)p_{i0}]+\sum_{i=1}^J\sum_{j\ne i}\pi(\mathbf{x}+\mathbf{e}_i-\mathbf{e}_j)\mu_i(x_i+1)p_{ij}.\qquad (2)

\end{align}

where \mathbf{e}_i denote the i^\text{th} unit vector.

= Theorem =

Suppose a vector of independent random variables (Y_1,\ldots,Y_J) with each Y_i having a probability mass function as

: P(Y_i=n)=p(Y_i=0)\cdot \frac{\lambda_i^n}{M_i(n)}, \quad (3)

where M_i(n)=\prod_{j=1}^n \mu_i(j) . If \sum_{n=1}^\infty \frac{\lambda_i^n}{M_i(n)} < \infty i.e. P(Y_i=0)=\left(1+\sum_{n=1}^\infty \frac{\lambda_i^n}{M_i(n)}\right)^{-1} is well defined, then the equilibrium distribution of the open Jackson network has the following product form:

: \pi(\mathbf{x})=\prod _{i=1}^J P(Y_i=x_i).

for all \mathbf{x}\in \mathcal{Z}_{+}^J .⟩

{{hidden begin

|toggle = left

|title = Proof

|titlestyle= font-size:12pt

}}

It suffices to verify equation (2) is satisfied. By the product form and formula (3), we have:

: \pi(\mathbf{x}) =\pi (\mathbf{x}+\mathbf{e}_i)\mu_i(x_i+1)/ \lambda_i

= \pi( \mathbf{x}+ \mathbf{e}_i- \mathbf{e}_j) \mu_i (x_i+1) \lambda_j /[\lambda_i \mu_j (x_j)]

Substituting these into the right side of (2) we get:

: \sum_{i=1}^J [\alpha p_{0i}+\mu_i(x_i)(1-p_{ii})]=\sum_{i=1}^J[\frac{\alpha p_{0i}}{\lambda_i}\mu_i(x_i)+\lambda_i p_{i0}]+\sum_{i=1}^J\sum_{j\ne i}\frac{\lambda_i}{\lambda_j}p_{ij}\mu_j(x_j). \qquad (4)

Then use (1), we have:

: \sum_{i=1}^J\sum_{j\ne i}\frac{\lambda_i}{\lambda_j}p_{ij}\mu_j(x_j) = \sum_{j=1}^J [\sum_{i \ne j}\frac{\lambda_i}{\lambda_j}p_{ij}]\mu_j(x_j)=\sum_{j=1}^J[1-p_{jj}-\frac{\alpha p_{0j}}{\lambda_j}]\mu_j(x_j).

Substituting the above into (4), we have:

: \sum_{i=1}^J \alpha p_{0i}=\sum_{i=1}^J \lambda_i p_{i0}

This can be verified by \sum_{i=1}^J \alpha p_{0i}= \sum_{i=1}^J\lambda_i-\sum _{i=1}^J\sum_{j=1}^J\lambda_j p_{ji}=\sum_{i=1}^J\lambda_i-\sum_{j=1}^J\lambda_j(1-p_{j0})=\sum_{i=1}^J\lambda_ip_{i0} . Hence both side of (2) are equal.⟨

{{hidden end}}

This theorem extends the one shown above by allowing state-dependent service rate of each node. It relates the distribution of \mathbf{X} by a vector of independent variable \mathbf{Y} .

= Example =

File:Open jackson network (final).png

Suppose we have a three-node Jackson network shown in the graph, the coefficients are:

:\alpha=5, \quad

p_{01}=p_{02}=0.5, \quad p_{03}=0,\quad

:

P=\begin{bmatrix}

0 & 0.5 & 0.5\\

0 & 0 & 0 \\

0 & 0 & 0\end{bmatrix},

\quad

\mu=\begin{bmatrix}

\mu_1(x_1)\\

\mu_2(x_2)\\

\mu_3(x_3)\end{bmatrix}

=\begin{bmatrix}

15\\

12\\

10\end{bmatrix}

\text{ for all }x_i>0

Then by the theorem, we can calculate:

: \lambda=(I-P^T)^{-1}a=\begin{bmatrix}

1 & 0 & 0\\

-0.5 & 1 & 0 \\

-0.5 & 0 & 1\end{bmatrix}^{-1}\begin{bmatrix}

0.5\times5\\

0.5\times5\\

0

\end{bmatrix}=\begin{bmatrix}

1&0&0\\

0.5&1&0\\

0.5&0&1\end{bmatrix}\begin{bmatrix}

2.5\\

2.5\\

0\end{bmatrix}=\begin{bmatrix}

2.5\\

3.75\\

1.25\end{bmatrix}

According to the definition of \mathbf{Y} , we have:

: P(Y_1=0)=\left(\sum_{n=0}^\infty \left(\frac{2.5}{15}\right)^n\right)^{-1}=\frac{5}{6}

: P(Y_2=0)=\left(\sum_{n=0}^\infty \left(\frac{3.75}{12}\right)^n\right)^{-1}=\frac{11}{16}

: P(Y_3=0)=\left(\sum_{n=0}^\infty \left(\frac{1.25}{10}\right)^n\right)^{-1}=\frac{7}{8}

Hence the probability that there is one job at each node is:

: \pi(1,1,1)=\frac{5}{6}\cdot\frac{2.5}{15}\cdot\frac{11}{16}\cdot\frac{3.75}{12}\cdot\frac{7}{8}\cdot\frac{1.25}{10}\approx 0.00326

Since the service rate here does not depend on state, the Y_is simply follow a geometric distribution.

Generalized Jackson network

A generalized Jackson network allows renewal arrival processes that need not be Poisson processes, and independent, identically distributed non-exponential service times. In general, this network does not have a product-form stationary distribution, so approximations are sought.{{cite book|title=Fundamentals of Queueing Networks: Performance, Asymptotics, and Optimization|first1=Hong|last1=Chen|first2=David D.|last2=Yao|publisher=Springer|year=2001|isbn=0-387-95166-0}}

=Brownian approximation=

Under some mild conditions the queue-length process{{clarify|date=January 2013}} Q(t) of an open generalized Jackson network can be approximated by a reflected Brownian motion defined as \operatorname{RBM}_{Q(0)}(\theta,\Gamma;R)., where \theta is the drift of the process, \Gamma is the covariance matrix, and R is the reflection matrix. This is a two-order approximation obtained by relation between general Jackson network with homogeneous fluid network and reflected Brownian motion.

The parameters of the reflected Brownian process is specified as follows:

: \theta= \alpha -(I-P^T)\mu

: \Gamma=(\Gamma_{k\ell}) \text{ with } \Gamma_{k\ell}=\sum_{j=1}^J (\lambda_j \wedge \mu_j)[p_{jk}(\delta_{k\ell}-p_{j\ell})+c_j^2(p_{jk}-\delta_{jk})(p_{j\ell}-\delta_{j\ell})]+\alpha_k c_{0,k}^2 \delta_{k\ell}

: R=I-P^T

where the symbols are defined as:

class="wikitable"

|+Definitions of symbols in the approximation formula

! symbol !! Meaning

\alpha=(\alpha_j)_{j=1}^J a J-vector specifying the arrival rates to each node.
\mu=(\mu)_{j=1}^J a J-vector specifying the service rates of each node.
P routing matrix.
\lambda_j effective arrival of j^\text{th} node.
c_j variation of service time at j^\text{th} node.
c_{0,j} variation of inter-arrival time at j^\text{th} node.
\delta_{ij} coefficients to specify correlation between nodes.{{hidden begin

|toggle = left}}

They are defined in this way: Let A(t) be the arrival process of the system, then A(t)-\alpha t {}\approx \hat{A}(t) in distribution, where \hat{A}(t) is a driftless Brownian process with covariate matrix \Gamma^0=(\Gamma^0_{ij}), with \Gamma^0_{ij}=\alpha_i c_{0,i}^2 \delta_{ij}, for any i,j\in \{1,\dots,J\}

{{hidden end}}

See also

References

{{Reflist}}

{{Queueing theory}}

Category:Queueing theory