Riga Technical University
WHERE is the TELE-TRAFFIC here?
PROBLEM Nr1
WHERE is the TELE-TRAFFIC here?
PROBLEM Nr2
Digital Communication Flow in
Parcel Service
WHERE is the TELE-TRAFFIC here?
PROBLEM Nr3
Course (RAE-555) Life-Span
Week 1
2024.01.29
Course (RAE-555) Life-Span
Week 1
Week 2
2024.01.29
2024.02.05
WHERE is the TELE-TRAFFIC in this MODEL?
PROBLEM Nr4
WHAT is the TRAFFIC?
a)
b)
PROBLEM Nr5
HOW
TELE-TRAFFIC THEORY
is HELPFUL for US ?
THEORY
BUSINESS-ORIENTED LEARNING MODEL
BUSINESS-ORIENTED LEARNING MODEL
2024.01.29
2024.05.31
WHAT is the TRAFFIC?
a)
b)
What are the TRAFFIC METRICS?
WHERE is the TRAFFIC?
a)
b)
PROBLEM Nr6
What are the TRAFFIC METRICS?
WHERE is the TRAFFIC?
a)
b)
PROBLEM Nr7
OPERATIONAL
MODEL instantiated as APPLICATION
METRICS & UNITS
OPERATIONAL
MODEL instantiated as APPLICATION
METRICS & UNITS
It's TIME to EXERCISE
PROBLEM Nr8
WEEK 1
Observe & Think
Develop &
Deploy
Run & Relax
& UNITS
Dynamic Model
Static Model
What is the queue size?
What is the router load?
How long will stay the yellow packet in the queue?
How long will be processed the green packet?
(Jobs, Tasks, Customers, Cars, Data packets, Bytes, etc. )
Math Model
Conceptual Model
https://www.amazon.com/Fundamentals-Queueing-Theory-Probability-Statistics/dp/111894352X/ref=sr_1_6?s=books&ie=UTF8&qid=1510840499&sr=1-6&keywords=fundamentals+of+queueing
WHERE is the ARRIVAL here?
PROBLEM Nr 2.1
TRAFFIC as a PROCESS over TIME
https://www.amazon.com/Fundamentals-Queueing-Theory-Probability-Statistics/dp/111894352X/ref=sr_1_6?s=books&ie=UTF8&qid=1510840499&sr=1-6&keywords=fundamentals+of+queueing
TRAFFIC as a PROCESS over TIME
PROBLEM Nr9
Teletraffic Theory (Spring 2024)
The output is based on unique and individual experience
Output ( TODO )
Analysis of a Single Node Service system
(paying attention to the following characteristics)
Client
Server
Client
Server
PROBLEM Nr10
PROBLEM Nr11
In-Class problem
PROBLEM Nr12
Teletraffic Theory (Spring 2024)
The output is based on the given problem
Output ( TODO )
Analysis of a Single Node Service system
(paying attention to the following characteristics)
POSTPONED
Teletraffic Theory (Spring 2024)
The output is based on unique and individual variants
Output
Analysis of a Single Node Service system
Teletraffic Theory (Spring 2024)
The output can be complemented by unique and individual variants
Output
Theoretical Model of a Single Node Service system
TO DO that, proceed to
Building Conceptual Understanding of
DTMC
(Discrete-Time Markov Chains)
DTMC
CTMC
https://www.wiley-vch.de/de/fachgebiete/mathematik-und-statistik/mathematik-16ma/diskrete-mathematik-16ma9/markov-chains-978-1-119-38755-8
Theoretical Model of a Single Node Service system
1. Record your voice in AUDIO format, explaining the terms used in the Equation system.
2. Use screen recording to point to the terms you are discussing.
3. Publish your record in the Slack HOMEWORK CHANNEL.
APPROACHING
https://towardsdatascience.com/sql-joins-a-brief-example-9d015868b56a
https://www.google.com/search?q=andrey+andreyevich+markov&rlz=1C5CHFA_enLV889LV889&sxsrf=APq-WBsyI88xAvtsq7nGDiBEw2fcxhf7gg:1646897947719&tbm=isch&source=iu&ictx=1&vet=1&fir=1mWzaoYlCdvr8M%252Cv3SWMCoFghWAVM%252C%252Fm%252F0kz0%253BfJgqZDzcP0pUaM%252Co_AQCFk0WdmyFM%252C_%253BmBXNaksaj7WQ0M%252C12KOCiPVrIPXPM%252C_%253BmTj0m0tPFcUyKM%252C80KAu9zJ0rx8jM%252C_%253B18svUHl8YhDi9M%252CSgL9fpTCX3B9zM%252C_%253BVplz4lXluhbLiM%252CC613xlUTf5RX7M%252C_%253BElZthqyswocQ-M%252COGOZlLA1jJicWM%252C_%253BWIPpos0yzSuwOM%252C8POXzH7gnQ6F0M%252C_%253BVeyJaCGraCGUDM%252C8POXzH7gnQ6F0M%252C_&usg=AI4_-kR2sk7mcGr3QPtmSzFvW1MvfgN3fA&sa=X&ved=2ahUKEwjp5p35hLv2AhUhR_EDHTAhBhoQ_B16BAgpEAE#imgrc=5hEhbQsA4C8tUM
DTMC
(Discrete-Time Markov Chains)
CTMC
(Continuous-Time Markov Chains)
BOOKS
SLIDES
VIDEOS
STACKEXCHANGE
DTMC
CTMC
DTMC
Aperiodic irreducible DTMCs are ergodic since each
has at least one state i with
DTMC
DTMC
https://medium.com/big-self-society/jim-kwiks-fast-method-will-help-you-learn-faster-5d3d669dc3b5
Where is the Key of Problem Solving?
quantitative-model-checking
DTMC
(Discrete-Time Markov Chains)
CTMC
(Continuous-Time Markov Chains)
quantitative-model-checking
CTMC
(Continuous-Time Markov Chains)
Quantitative Model Checking
CTMC
https://www.coursera.org/learn/quantitative-model-checking/lecture/DWlJz/definition-of-a-ctmc
quantitative-model-checking
Demonstrate progress in the course:
https://www.coursera.org/learn/quantitative-model-checking/lecture/DWlJz/definition-of-a-ctmc
quantitative-model-checking
to PN
From
Submit Matlab/Octave
code and plots related to BarberShop problem
Get and Install the Snoopy tool
from Cottbus Uni
PN
(Petri Nets)
0
1
0
1
MarkovChain
Petri Net
Control Element
State
State
Place
Place
Transition
Transition
State Index
Number of
Tokens
Using Snoopy
Transforming MC models
(e.g. BarberShop)
into simple but stochastic Petri Nets
to
From
Tokens are on the Students' Court
The token is on the Instructor's Court
Output
Participate in DELHI UNI Lecture:
Mod-05 Lec-08 Stochastic Petri Nets
Using Snoopy Tool and STPN Model,
Verify an Algebraic Model for the System M/M/1
through Load and Waiting Time metrics
Output
Emotional Cycles
Week 1
Week 2
...
Week13
.END
CLASS NOTES
to
From
BW = 10 Mbps
BW = 100 Mbps
BW = 100 Mbps
queue size?
Volume = {1..10} // Integer [Byte/Packet/Message]
Priority = {Low, High} // Integer
Origin = {1, 2} // Integer
Destination = {1 .. 6} // Integer
iat = { 12 .. } // Double [1/min]
lambda = { 5 .. } // Double [1/hr]
minQueueLength = {0...N}; // Integer
Server
Client 2
Client 1
Controller
Synchronous
Asynchronous
Asynchronous
Engineering Question: What is a value of
https://medium.com/literacy-discourse/what-does-imrad-reveal-about-science-7de7741ba987
https://medium.com/literacy-discourse/what-does-imrad-reveal-about-science-7de7741ba987
“Results are where the findings and the outcomes go.”
AND
VERIFIED BY
MODEL
CHECKER
MODEL
CHECKER
CLASS NOTES
https://www.prismmodelchecker.org/
using
PRISM MODEL CHECKER
AND
VERIFIED BY
MODEL
CHECKER
https://youtu.be/H6vSIM754X4
https://youtu.be/H6vSIM754X4
PRACTICE
The token is on the Students' Court
The token is on the Students' Court
The token is on the Students' Court
The token is on the Students' Court
https://www.prismmodelchecker.org/
Initiate Your Research
Do research like masters do!
Volume = {1..10} // Integer [Byte]
Priority = {1 .. 3} // Integer
Origin = {1.. 2} // Integer
Destination = {1 .. 6} // Integer
iat = { 12 .. } // Double [1/min]
lambda = { 5 .. } // Double [1/hr]
Integer minQueueLength = {0...N}; N_max = 1000
Server
Client 2
Client 1
Controller
Synchronous
Asynchronous
Asynchronous
https://arxiv.org/pdf/1105.1347.pdf
http://www0.cs.ucl.ac.uk/staff/m.handley/slides/nnfn-tcp.pdf
The token is on the Instructor's Court
Experiments with TCP flow finding an approximating function representing a waiting time for varying amount of data;
e.g. 1KB ... 100MB transferred from Server Instance to Client using 100 Mbps link on local PC machine.
Repeat the experiment, utilizing UDP protocol with up to 8 simultaneous flows.
Prepare video report providing relevant experiment objectives, describing experiment, and presenting code, diagrams, and outcome discussion.
Volume = {1..10} // Integer [Byte]
Priority = {1 .. 3} // Integer
Origin = {1.. 2} // Integer
Destination = {1 .. 6} // Integer
iat = { 12 .. } // Double [1/min]
lambda = { 5 .. } // Double [1/hr]
Integer minQueueLength = {0...N}; N_max = 1000
Server
Client 2
Client 1
Controller
Synchronous
Asynchronous
Asynchronous
Volume = {1..10} // int [Byte]
Priority = {1 .. 3} // int
Origin = {1.. 6} // int
Destination = {1 .. 6} // int
iat = { 12 .. } // Double [1/min]
lambda = { 5 .. } // Double [1/hr]
BW = 1 bps
BW = 100 bps
BW = 100 bps
int minQueueLength = 0;
BW = 10 Mbps
BW = 100 Mbps
BW = 100 Mbps
queue size?
queue size?
Reflection on another Research
F.A.S.T.
with
F.A.S.T.
Jim Kwik
with
PRISM MODEL CHECKER
with
Rabbit-MQ
PRACTICE
PRACTICE PARADIGM
What is Rabbit-MQ ?
https://www.rabbitmq.com/
One broker to queue them all
What is Rabbit-MQ ?
https://www.rabbitmq.com/
One broker to queue them all
RabbitMQ is a reliable and mature messaging and streaming broker, which is easy to deploy on cloud environments, on-premises, and on your local machine. It is currently used by millions worldwide.
Simplest BROKER
WORK QUEUES
Competing Consumers pattern
WORK QUEUES
Publish/Subscribe pattern
ROUTING
Receiving messages selectively
TOPICS
Receiving messages based on a pattern (topics)
RPC
Request/Reply pattern
RPC
Request/Reply pattern
with Rabbit-MQ
PRACTICE
RABBIT MQ
EXAM TIME
EXAM TIME
EXAM TIME
"What did you learn in RAE 555?"
The course staff would love to hear about what you learned this semester.
What were some highlights?
It would be best to publish your story and all personal materials produced during the course on a static WEB site on
VERCEL or NETLIFY.
End of EXAM TIME
FINISH