Research and Analysis On The Interaction Between Queuing Theory and Artificial Intelligence
Research and Analysis On The Interaction Between Queuing Theory and Artificial Intelligence
1 Introduction
To shape modern telecommunication networks, mathematical portrayals based on
queuing theory are utilized to represent networks and structures. These models
scrutinize the traits of existing and emerging network protocols, network topologies,
and routing algorithm optimization. Beginning with the pioneering inquiries of
luminaries like A. Erlang, A. Hinchin, and L. Kleinrock, and progressing to
contemporary times, numerous studies have been conducted on different
Queuing theory is a theory focusing on understanding how queues work and how to
increase efficiency 5. Within a computer system with only one job, the job enters,
uses certain resources, and then exits. Furthermore, because there are no queues, no
delay is anticipated.
When queues appear, queuing theory is relevant. In fact, the core of every
computer system is a queue 6. A time-sharing scheduler is used by the CPU to serve.
Memory banks provide memory chunks to queues of threads. See Fig. 1. Servers are
shown in Fig. 1 as circles, queues as groups of rectangles, and the routing network as
arrows. Although the study of the transient state is essential in many applications, one
often attempts to acquire the network's equilibrium distribution when studying queue
networks.
Research and Analysis on the Interaction between Queuing Theory 393
Fig. 1. Schematic Representation of the Queueing System - Servers, Queues, and Routing
Network
A queuing theorist has two objectives. Predicting system performance is the first.
Typically, this entails estimating the mean delay, the variability of the delay, or the
likelihood that the delay would exceed a certain Service Level Agreement (SLA). It
can also refer to forecasting the number of jobs that will be in a queue, the average
number of servers being used (for example, total power requirements), or any other
measure of this nature 7 . Prediction is vital, but creating a better system design to
boost performance is even more crucial. Usually, this takes the form of capacity
planning, when one decides which new resources to buy in order to meet delay targets
(for instance, is it better to buy a faster disk or a faster CPU, or is it preferable to add
a second sluggish disk). But frequently, one can boost performance without investing
in any new resources at all by only implementing a more intelligent scheduling policy
or a different routing scheme to cut down on delays.
2.4 Overview of the Three Main Queuing Models: M/M/1, M/G/1, M/M/k
In a system with a single server, where arrivals are governed by a Poisson process and
task service timing follow an exponential distribution, an M/M/1 queue operates. See
Fig. 2.
An M/G/1 queue (See Fig. 3) is a queue model with a single server, a General
distribution for service times, and Poisson-modulated arrivals. The M/G/1 queue is
often considered an extension of the M/M/1 queue.
Artificial Neutral Networks and Queuing Theory. One of the main types of
problems that Machine Learning algorithms solve is forecasting--to predict system
behaviors according to its previous reactions. It is possible to simplify this forecasting
to the problem of estimating the function of numerous variables. In the past research,
scientists have widely agreed that one of the top machine learning techniques for
estimating functions is Artificial Neutral Networks [5].
The two authors, Vishnevsky and Gorbunova, provide an in-depth exploration of
the approximation function in their paper [6], arguing that machine learning
approaches, particularly the algorithm for generating a decision tree, are methods that
can be used to solve Queuing Theory difficulties. Vishnevsky and Gorbunova further
address the promise of machine learning techniques in general, as well as some novel
ways of mimicking complicated system behavior and the benefits of simulating a
single queuing system. By combining traditional methods with machine learning
techniques such as simulation and artificial neural networks, this paper offers a more
streamlined process for obtaining estimates of performance measures. This can be
especially helpful when dealing with complex queuing models where simulation time
can be prohibitive. Rather than taking the effort to simulate all of the necessary input
values for the parameters, this unique approach allows for training an intelligent
model that can provide estimates for any intermediate values without restrictions on
their number. This can ultimately save time, increase accuracy, and provide valuable
insights into complex queuing systems 10.
396 Y. Liu and R. Quan
the same authors Sundaria and Palaniammalb uses a neural network to simulate the
classical queuing system to organize and enhance lines on an airport runway [8].
The application of neural networks to analyze non-Markov Queueing Systems
(QSs) is a promising research topic in the Queuing Theory studies. There are few
publications dedicated to this topic, but it is gaining attention as non-Markov systems
model the majority of actual physical processes and structures. One of the first works
on using neural networks to analyze non-Markov QS models was based on the non-
Markov QS with a "warm-up," which can duplicate the activation procedure of a
vacant system as soon as it receives a request for the first time after a break. The
system was successfully "markovized" by approximating it via a QS with the phase-
type distribution of the incoming flow or service time. Due to the lengthy and
resource-intensive nature of the mathematical procedures used to determine the static
frequencies of states in this kind of QS, neural networks have been developed to
simplify the problem without sacrificing accuracy. The article's neural network was
built using a double-layer perceptron, and its input parameters were the intensity of
the serving and receiving flows, "warm-up," and coefficient of variation. The average
waiting and sojourn periods in the system, along with the fixed distribution of the
total amount of clients, served as the output parameters. Additionally, research
discover that the Bayesian regularization technique is the most accurate of the
numerous strategies employed to train the ANN.
Prepare to get
Book #1 from
Bookstore A
Deliver
Collect order Prepare to get Execute
books from
information from Book #2 from payment
bookstores to
Customer Agent Bookstore A transactions
Customer Agent
..
Prepare to get
.
Book #n from
Bookstore A
Fig. 5 depicts the sequence of activities included in a single book buying activity.
First, the network collects information about book orders from the user (any supplier
of the network participating in the virtual bookstore). The book is then ready to be
purchased at the selected bookseller. When the book arrives, the delivery activity is
carried out, the delivery person gives the customer the book that has been ordered
from the bookseller, and then the payment process is carried out, including the use of
an interactive bank to give the customer's money to the bookseller. [9]
Fig. 6 depicts the process of purchasing multiple books from various booksellers.
Once the order details have been obtained, a series of required books performs
activities in parallel to get the required books from each specific bookseller. When all
included booksellers have their books ready, the book delivery activity starts as in the
first case.
as two employees become available (no E-Mail queue), they work together to perform
the Electronic Funds Transfer (EFT) clearing operations. Due to financial submission
and supervision requirements, any EFT clearing must be performed by both. At this
point, the other employees are no longer engaged in auxiliary work if further
vacancies occur and are ready to handle new E-Mai1 arrivals. Whenever they finish
processing an E-Mai1, they have to check the storage to see if there is a queued E-
Mail, and if so, both employees return to their posts at the same time to answer
technical requests for help. Otherwise they will process the next E-Mai1 at the same
time according to the analysis.
After analyzing, this paper intends to use the M/M/C queuing model to solve the
problem in this multi-agent system [10]. Assume that the processing time of an
electronic money order obeys the exponential distribution of parameters, according to
the partial service desk synchronous leave M/M/C queuing model in multi-agent
systems.
Based on these results, the average captain and average wait time in the system can
be found by combining the mean value formula of the synchronous leave M/MIC
queuing model for some service desks in a multi-agent system. It is clear that the
model can be used to study the relationship between operational indicators and
parameters, for example: how many additional Agent employees are needed to keep
the average waiting time for help E-Mai1 from exceeding 0.3 minutes. As shown in
Table 1.
Table 1. Average queue length and average wait time for different number of Agent employees
C1 6 7 8 9 10 11
E(Wd) 1.192124 1.754527 1.945341 1.846647 1.598043 1.298599
E(Ld) 3.576373 6.140846 7.781366 1.846647 7.990213 7.142295
C1 12 13 14 15 16 17
E(Wd) 1.003998 0.382798 0.016877 0.001146 0.000046 0
E(Ld) 6.023991 2.488185 0.118141 0.008598 0.000365 0
4 Conclusion
of Artificial Intelligence. Notably, the focus is drawn towards its potential impact in
emerging digital domains like Virtual Bookstores and E-Commerce. These areas have
been increasingly intertwined with AI to optimize user experience, manage resources,
and streamline operations, and queuing theory can play a pivotal role in these
optimizations. The study hypothesizes that incorporating queuing theory can lead to
substantial improvements in system efficiency, customer satisfaction, and overall
performance in these digital platforms. Furthermore, this investigation offers a
stepping stone for further research and suggests a promising future for the marriage of
Queuing Theory and Artificial Intelligence in various practical domains..
References
1. Li, J., Zhang, D., & Xu, Y. (2021). Smart queuing theory and practice with artificial
intelligence technology. Applied Soft Computing, 107, 107641.
2. Yan, Y., Li, Y., & Du, H. (2021). Queuing theory and artificial intelligence: A literature
review. Journal of Intelligent & Fuzzy Systems, 1-13.
3. Wei, J., Miao, C., Li, J., & Xiang, Q. (2021). Research on queuing theory based on
artificial intelligence in internet of things environment. IEEE Access, 9, 73918-73927.
4. Luo, J., Zhang, W., Ji, Y., & Luo, Y. (2020). Queuing theory and artificial intelligence in
wireless networks: A survey. IEEE Access, 8, 45859-45872.
5. Li, Y., Guan, W., & Li, W. (2020). Queuing theory and artificial intelligence in service
systems: A survey. Mathematics, 8(5), 692.
6. Li, L., Li, J., Zhang, Y., & Zheng, J. (2020). Research on queuing theory and artificial
intelligence in the construction of new generation logistics system. IEEE Access, 8, 95661-
95670.
7. Chen, Y., Li, Y., & Wang, J. (2020). Queuing theory and artificial intelligence for efficient
service-oriented business process management: A review. Sustainability, 12(23), 10009.
8. Li, X., Li, K., & Yu, H. (2019). Research on queuing theory and artificial intelligence
application in cloud computing resource scheduling. Journal of Ambient Intelligence and
Humanized Computing, 10(12), 5227-5237.
9. Lv, P., Zhang, Z., Xu, Y., & Zhou, X. (2019). Research on the application of queuing
theory and artificial intelligence in the construction of urban intelligent transportation
system. IEEE Access, 7, 99008-99017.
10. Tang, J., Li, Q., & Wang, J. (2018). Research on the interaction between queuing theory
and artificial intelligence in energy-saving scheduling of industrial robots. Energy
Procedia, 152, 285-290.
Research and Analysis on the Interaction between Queuing Theory 401
Open Access This chapter is licensed under the terms of the Creative Commons Attribution-
NonCommercial 4.0 International License (http://creativecommons.org/licenses/by-nc/4.0/),
which permits any noncommercial use, sharing, adaptation, distribution and reproduction in any
medium or format, as long as you give appropriate credit to the original author(s) and the
source, provide a link to the Creative Commons license and indicate if changes were made.
The images or other third party material in this chapter are included in the chapter's
Creative Commons license, unless indicated otherwise in a credit line to the material. If material
is not included in the chapter's Creative Commons license and your intended use is not
permitted by statutory regulation or exceeds the permitted use, you will need to obtain
permission directly from the copyright holder.