SlideShare a Scribd company logo
A Two-Sided Matching Model for Data
Stream Processing in the Cloud-Fog
Continuum
Narges Mehran, Dragi Kimovski, Radu Prodan
University of Klagenfurt, Klagenfurt, Austria
Introduction & motivation
CODA model
Example on CODA
Evaluation setups and results
Conclusion & future work
Introduction
• Latency-sensitive and bandwidth-intensive data stream processing services,
➢amongst the dominating traffic generators in today's world
• Processing such data streams in nearly real-time
• Requiring vast amounts of compute, storage and network resources in proximity of
data sources
Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021. 3
…
CDC 1 CDC 2 CDC n
…
…
Big Data analysis
and memory
optimized
Compute optimized
GPU instances …
Cloud-Fog continuum
Micro DC 1 Micro DC n
• Micro or femto data centre
directly connected to base
station,
• Cisco router1,
• Cluster of:
✓ VMs running on workstations,
✓ Raspberry Pi,
✓ Nvidia Jetson Nano,
✓ Nano Pi.
https://lead-conduct.de/
4
1 https://developer.cisco.com/site/iox/
Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021.
Motivation
• To manage:
➢heterogeneous Cloud-Fog continuum
➢resources allocation and application
deployment
➢strict latency and bandwidth requirements
5
Cloud-fOg Data stream
application mAtching
• Cloud-fOg to Data stream application mAtching (CODA):
• addresses the problem of deploying data stream processing applications on
heterogeneous resources,
• CODA approaches this problem using matching theory principles,
➢ application microservices:
✓ require lower completion time,
➢ computing resources:
✓ require lower traffic.
6
Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021.
Application model
set of interconnected
microservices
Source and sink
microservices
Application edges
for data element
flowing among
microservices
Data source and sink
mi
mu
Dataui
Upstream
microservice of mi
7
Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021.
Resource model
rj
8
Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021.
Resource and
channel models
rq
rj
9
Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021.
m1
m3
m2
m4
r4 r2 r3
r1 r3 r2
r1 r2
r4 r1 r3
m5
r1 r4 r2 r3
r1
r3
r2
r4
m2 m3 m1 m5
m2 m3 m5 m4
m3 m1 m5 m4
m2 m5 m4
Ranking
10
m1
m3
m2
m4
r4 r2 r3
r1 r3 r2
r1 r2
r3
m5
r4 r2 r3
r1
r3
r2
r4
m2 m3 m1 m5
m2 m3 m5 m4
m3 m1
m2 m5
Matching
Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021.
Ranking methods
• We propose two ranking methods:
➢ microservice-side ranking that considers the microservice time;
➢ resource-side ranking that considers the residual bandwidth.
11
Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021.
• Element processing time:
𝑡 𝑚𝑖, 𝑑𝑎𝑡𝑎𝑢𝑖 𝑥 , 𝑟
𝑗 =
𝐶𝑃𝑈(𝑚𝑖, 𝑑𝑎𝑡𝑎𝑢𝑖[𝑥])
𝐶𝑃𝑈𝑗
+
𝑑𝑎𝑡𝑎𝑢𝑖[𝑥]
𝐵𝑊𝑞𝑗
+ 𝐿𝐴𝑇𝑞𝑗
• Microservice time:
𝑇 𝑚𝑖, 𝑑𝑎𝑡𝑎𝑢𝑖 , 𝑟
𝑗 = ෍
𝑥=1
𝑠𝑖𝑧𝑒𝑢𝑖
𝑡 𝑚𝑖, 𝑑𝑎𝑡𝑎𝑢𝑖 𝑥 , 𝑟
𝑗
Microservice-side ranking
computation time transmission time and channel latency
Number of data elements
12
Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021.
• Residual bandwidth:
𝑅𝑒𝑠𝑑𝐵𝑊
𝑗 𝑚𝑖, 𝑑𝑎𝑡𝑎𝑢𝑖 , 𝑟
𝑗 = 𝐵𝑊𝑞𝑗 − ෍
𝑥=1
𝑠𝑖𝑧𝑒𝑢𝑖
𝜆𝑢𝑖 . 𝑑𝑎𝑡𝑎𝑢𝑖[𝑥]
Resource-side ranking
ingress data rate & data stream
Bandwidth between resources rq and rj
13
Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021.
Problem definition
• Resource allocation problem → as a matching game
14
Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021.
Problem definition
• Resource allocation problem → as a matching game
15
Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021.
m1
m3
m2
m4
r4 r2 r3
r1 r3 r2
r1 r2
r4 r1 r3
m5
r1 r4 r2 r3
r1
r3
r2
r4
m2 m3 m1 m5
m2 m3 m5 m4
m3 m1 m5 m4
m2 m5 m4
An example on CODA Algorithm
16
Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021.
m1
m3
m2
m4
r4 r2 r3
r1 r3 r2
r1 r2
r4 r1 r3
m5
r1 r4 r2 r3
r1
r3
r2
r4
m2 m3 m1 m5
m2 m3 m5 m4
m3 m1 m5 m4
m2 m5 m4
17
Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021.
An example on CODA Algorithm
m1
m3
m2
m4
r4 r2 r3
r1 r3 r2
r1 r2
r4 r1 r3
m5
r1 r4 r2 r3
r1
r3
r2
r4
m2 m3 m1 m5
m2 m3 m5 m4
m3 m1 m5 m4
m2 m5 m4
18
Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021.
An example on CODA Algorithm
m1
m3
m2
m4
r4 r2 r3
r1 r3 r2
r1 r2
r4 r1 r3
m5
r1 r4 r2 r3
r1
r3
r2
r4
m2 m3 m1 m5
m2 m3 m5 m4
m3 m1 m5 m4
m2 m5 m4
19
Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021.
An example on CODA Algorithm
m1
m3
m2
m4
r4 r2 r3
r1 r3 r2
r1 r2
r4 r1 r3
m5
r1 r4 r2 r3
r1
r3
r2
r4
m2 m3 m1 m5
m2 m3 m5 m4
m3 m1 m5 m4
m2 m5 m4
20
Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021.
An example on CODA Algorithm
m1
m3
m2
m4
r4 r2 r3
r1 r3 r2
r1 r2
r4 r1 r3
m5
r1 r4 r2 r3
r1
r3
r2
r4
m2 m3 m1 m5
m2 m3 m5 m4
m3 m1 m5 m4
m2 m5 m4
21
Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021.
An example on CODA Algorithm
m1
m3
m2
m4
r4 r2 r3
r1 r3 r2
r1 r2
r4 r1 r3
m5
r1 r4 r2 r3
r1
r3
r2
r4
m2 m3 m1 m5
m2 m3 m5 m4
m3 m1 m5 m4
m2 m5 m4
22
Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021.
An example on CODA Algorithm
m1
m3
m2
m4
r4 r2 r3
r1 r3 r2
r1 r2
r4 r1 r3
m5
r1 r4 r2 r3
r1
r3
r2
r4
m2 m3 m1 m5
m2 m3 m5 m4
m3 m1 m5 m4
m2 m5 m4
23
Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021.
An example on CODA Algorithm
m1
m3
m2
m4
r4 r2 r3
r1 r3 r2
r1 r2
r3
m5
r4 r2 r3
r1
r3
r2
r4
m2 m3 m1 m5
m2 m3 m5 m4
m3 m1
m2 m5
24
Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021.
An example on CODA Algorithm
m1
m3
m2
m4
r4 r2 r3
r1 r3 r2
r1 r2
r3
m5
r4 r2 r3
r1
r3
r2
r4
m2 m3 m1 m5
m2 m3 m5 m4
m3 m1
m2 m5
25
Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021.
An example on CODA Algorithm
Traffic sign classification in
video stream applications
Traffic sign classification in video stream applications
1) Encoding: encodes the raw video stream with
ffmpeg software suite with the H.264 codec.
2) Framing: divides the videos into frames by utilizing
OpenCV library.
3) Analysis: is an ML model to train a neural network
from 50,000 video frames of 43 traffic signs.
26
Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021.
1. iFogSim simulator
2. C3 Testbed:
➢m5a.xlarge AWS general purpose
instance
➢One twelve-core AMD Ryzen
Threadripper 2920X processor at
3.5GHz and 32GB of RAM
➢RPi and NVIDIA Jetson Nano as the one-
hop devices connected to data source
Experimental setups
Performance metrics
• Stream processing time: completion time of the msnk microservice;
μ(A)⊆R:
28
msrc m3
m2
m4 msnk 𝐶 𝐴, 𝑅 = 𝐶(𝑚𝑠𝑛𝑘, 𝑅)
• Stream processing time: completion time of the msnk microservice;
μ(A)⊆R:
• Total streaming traffic: total traffic aggregates the traffic across all
network channels:
29
msrc m3
m2
m4 msnk 𝐶 𝐴, 𝑅 = 𝐶(𝑚𝑠𝑛𝑘, 𝑅)
r1
r3
r2
r4
Performance metrics
• Stream processing time: completion time of the msnk microservice;
μ(A)⊆R:
• Total streaming traffic: total traffic aggregates the traffic across all
network channels:
30
msrc m3
m2
m4 msnk 𝐶 𝐴, 𝑅 = 𝐶(𝑚𝑠𝑛𝑘, 𝑅)
r1
r3
r2
r4
Performance metrics
Related work comparisons
• Three state-of-the-art approaches:
➢ Heterogeneous Earliest Finish Time–only Cloud (HEFT-oC)
➢ Response Time Rate with Region Patterns (RTR-RP)
➢ CloudPath
31
Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021.
Simulation scenarios
• First scenario:
➢CPU load of {10000, 20000, 30000, 40000} MI,
➢Data size of dataui[x] = 10MB.
• Second scenario:
➢Data size of {0.1, 1, 5, 10} MB,
➢CPU load = 15000 MI.
32
Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021.
Simulation
results
Real-testbed scenarios
• First scenario:
➢ encoding bitrate ∈ {200,1500,3000,6500,20000} kbps,
➢ dataui[x]=2560kB.
• Second scenario:
➢ dataui[x] ∈ {35,300,420,1350,2560} kB,
➢ bitrate= 20000kbps.
34
Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021.
Real-testbed
results
Real-testbed scenarios
• First scenario:
➢ encoding bitrate ∈ {200,1500,3000,6500,20000} kbps,
➢ dataui[x]=2560kB.
• Second scenario:
➢ dataui[x] ∈ {35,300,420,1350,2560} kB,
➢ bitrate= 20000kbps.
36
Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021.
Conclusion and future work
• Proposed CODA for running
stream processing applications on
Cloud-Fog resources,
• considered stream processing
time and the streaming traffic as
our main goals,
• achieved 11-45% lower stream
processing times and 1.3-20%
lower streaming traffic.
37
Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021.
Conclusion and future work
• Future works:
➢ Investigating the scheduling
algorithm based on matching theory,
➢ Inspecting the dynamicity of
applications and resources.
• Proposed CODA for running
stream processing applications on
Cloud-Fog resources,
• considered stream processing
time and the streaming traffic as
our main goals,
• achieved 11-45% lower stream
processing times and 1.3-20%
lower streaming traffic.
38
Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021.
References
1. B. Confais, B. Parrein and A. Lebre, "Data Location Management Protocol for Object Stores in a Fog Computing Infrastructure," in IEEE
Transactions on Network and Service Management, vol. 16, no. 4, pp. 1624-1637, Dec. 2019.
2. Seyed Hossein Mortazavi, Mohammad Salehe, Carolina Simoes Gomes, Caleb Phillips, and Eyal de Lara. Cloudpath: A multi-tier cloud
computing framework. In Proceedings of the Second ACM/IEEE Symposium on Edge Computing, pages 1–13, 2017.
3. Alexandre da Silva Veith, Marcos Dias de Assuncao, and Laurent Lefevre. Latency-aware placement of data stream analytics on edge
computing. In International Conference on Service-Oriented Computing, pages 215–229. Springer, 2018.
4. David Gale and Lloyd S Shapley. College admissions and the stability of marriage. The American Mathematical Monthly, 69(1):9–15,
1962.
5. Marcos Dias de Assuncao, Alexandre da Silva Veith, and Rajkumar Buyya. Distributed data stream processing and edge computing: A
survey on resource elasticity and future directions. Journal of Network and Computer Applications, 103:1–17, 2018.
6. S Segvic, K Brkic, Z Kalafatic, V Stanisavljevic, M Sevrovic, Damir Budimir, and I Dadic. A computer vision assisted geoinformation
inventory for traffic infrastructure. In 13th International IEEE Conference on Intelligent Transportation Systems, pages 66–73. IEEE, 2010.
7. Ali Reza Zamani, Mengsong Zou, Javier Diaz-Montes, Ioan Petri, Omer Farooq Rana, Ashiq Anjum, and Manish Parashar. Deadline
constrained video analysis via in-transit computational environments. IEEE Transactions on Services Computing, 2017.
8. Dragi Kimovski, Roland Matha, Josef Hammer, Narges Mehran, Hermann Hellwagner, and Radu Prodan. Cloud, fog or edge: Where to
compute? IEEE Internet Computing, 2021.
9. Mahsa Ehsanpour, Siavash Bayat, and Ali Mohammad Afshin Hemmatyar. An efficient and social-aware distributed in-network caching
scheme in named data networks using matching theory. Computer Networks, 158:175–183, 2019.
39
Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021.
Thanks for your attention ☺
A Two-Sided Matching Model for Data
Stream Processing in the Cloud-Fog
Continuum
Narges Mehran, Dragi Kimovski, Radu Prodan
Klagenfurt University, Klagenfurt, Austria
Email: Narges.Mehran@aau.at
Code: https://github.com/SiNa88/CODA

More Related Content

What's hot

Datech2014 - Session 4 - Construction of Text Digitization System for Nôm His...
Datech2014 - Session 4 - Construction of Text Digitization System for Nôm His...Datech2014 - Session 4 - Construction of Text Digitization System for Nôm His...
Datech2014 - Session 4 - Construction of Text Digitization System for Nôm His...
IMPACT Centre of Competence
 
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
ijceronline
 
cloud schedualing
cloud schedualingcloud schedualing
cloud schedualing
twomarkopolo
 
Cache performance analysis of virtualized router on virtual content centric n...
Cache performance analysis of virtualized router on virtual content centric n...Cache performance analysis of virtualized router on virtual content centric n...
Cache performance analysis of virtualized router on virtual content centric n...
ijngnjournal
 
Neuro-Fuzzy System Based Dynamic Resource Allocation in Collaborative Cloud C...
Neuro-Fuzzy System Based Dynamic Resource Allocation in Collaborative Cloud C...Neuro-Fuzzy System Based Dynamic Resource Allocation in Collaborative Cloud C...
Neuro-Fuzzy System Based Dynamic Resource Allocation in Collaborative Cloud C...
neirew J
 
NEURO-FUZZY SYSTEM BASED DYNAMIC RESOURCE ALLOCATION IN COLLABORATIVE CLOUD C...
NEURO-FUZZY SYSTEM BASED DYNAMIC RESOURCE ALLOCATION IN COLLABORATIVE CLOUD C...NEURO-FUZZY SYSTEM BASED DYNAMIC RESOURCE ALLOCATION IN COLLABORATIVE CLOUD C...
NEURO-FUZZY SYSTEM BASED DYNAMIC RESOURCE ALLOCATION IN COLLABORATIVE CLOUD C...
ijccsa
 

What's hot (6)

Datech2014 - Session 4 - Construction of Text Digitization System for Nôm His...
Datech2014 - Session 4 - Construction of Text Digitization System for Nôm His...Datech2014 - Session 4 - Construction of Text Digitization System for Nôm His...
Datech2014 - Session 4 - Construction of Text Digitization System for Nôm His...
 
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
 
cloud schedualing
cloud schedualingcloud schedualing
cloud schedualing
 
Cache performance analysis of virtualized router on virtual content centric n...
Cache performance analysis of virtualized router on virtual content centric n...Cache performance analysis of virtualized router on virtual content centric n...
Cache performance analysis of virtualized router on virtual content centric n...
 
Neuro-Fuzzy System Based Dynamic Resource Allocation in Collaborative Cloud C...
Neuro-Fuzzy System Based Dynamic Resource Allocation in Collaborative Cloud C...Neuro-Fuzzy System Based Dynamic Resource Allocation in Collaborative Cloud C...
Neuro-Fuzzy System Based Dynamic Resource Allocation in Collaborative Cloud C...
 
NEURO-FUZZY SYSTEM BASED DYNAMIC RESOURCE ALLOCATION IN COLLABORATIVE CLOUD C...
NEURO-FUZZY SYSTEM BASED DYNAMIC RESOURCE ALLOCATION IN COLLABORATIVE CLOUD C...NEURO-FUZZY SYSTEM BASED DYNAMIC RESOURCE ALLOCATION IN COLLABORATIVE CLOUD C...
NEURO-FUZZY SYSTEM BASED DYNAMIC RESOURCE ALLOCATION IN COLLABORATIVE CLOUD C...
 

Similar to CODA-ccgrid21

Cloud ppt
Cloud pptCloud ppt
Cloud ppt
silpa sajeevan
 
ENERGY-EFFICIENT ADAPTIVE RESOURCE MANAGEMENT FOR REAL-TIME VEHICULAR CLOUD S...
ENERGY-EFFICIENT ADAPTIVE RESOURCE MANAGEMENT FOR REAL-TIME VEHICULAR CLOUD S...ENERGY-EFFICIENT ADAPTIVE RESOURCE MANAGEMENT FOR REAL-TIME VEHICULAR CLOUD S...
ENERGY-EFFICIENT ADAPTIVE RESOURCE MANAGEMENT FOR REAL-TIME VEHICULAR CLOUD S...
Nexgen Technology
 
Latest Research Topics on Cloud Computing
Latest Research Topics on Cloud ComputingLatest Research Topics on Cloud Computing
Latest Research Topics on Cloud Computing
Thesis Scientist Private Limited
 
A Multiscale Simulation Approach for Diesel Particulate Filter Design Based o...
A Multiscale Simulation Approach for Diesel Particulate Filter Design Based o...A Multiscale Simulation Approach for Diesel Particulate Filter Design Based o...
A Multiscale Simulation Approach for Diesel Particulate Filter Design Based o...
Ries Bouwman
 
BIG DATA SANITIZATION AND CYBER SITUATIONALAWARENESS: A NETWORK TELESCOPE PE...
 BIG DATA SANITIZATION AND CYBER SITUATIONALAWARENESS: A NETWORK TELESCOPE PE... BIG DATA SANITIZATION AND CYBER SITUATIONALAWARENESS: A NETWORK TELESCOPE PE...
BIG DATA SANITIZATION AND CYBER SITUATIONALAWARENESS: A NETWORK TELESCOPE PE...
Nexgen Technology
 
AIAA Future of Fluids 2018 Boris
AIAA Future of Fluids 2018 BorisAIAA Future of Fluids 2018 Boris
AIAA Future of Fluids 2018 Boris
Qiqi Wang
 
Data Replication In Cloud Computing
Data Replication In Cloud ComputingData Replication In Cloud Computing
Data Replication In Cloud Computing
Rahul Garg
 
Efficient architecture for arithmetic designs using perpendicular NanoMagneti...
Efficient architecture for arithmetic designs using perpendicular NanoMagneti...Efficient architecture for arithmetic designs using perpendicular NanoMagneti...
Efficient architecture for arithmetic designs using perpendicular NanoMagneti...
VIT-AP University
 
Traffic assignment of motorized private transport in OmniTRANS transport plan...
Traffic assignment of motorized private transport in OmniTRANS transport plan...Traffic assignment of motorized private transport in OmniTRANS transport plan...
Traffic assignment of motorized private transport in OmniTRANS transport plan...
Luuk Brederode
 
Latest Thesis Topics for Fog computing
Latest Thesis Topics for Fog computingLatest Thesis Topics for Fog computing
Latest Thesis Topics for Fog computing
Thesis Scientist Private Limited
 
M2C2: A Mobility Management System For Mobile Cloud Computing
M2C2: A Mobility Management System For Mobile Cloud ComputingM2C2: A Mobility Management System For Mobile Cloud Computing
M2C2: A Mobility Management System For Mobile Cloud Computing
Karan Mitra
 
Christian jensen advanced routing in spatial networks using big data
Christian jensen advanced routing in spatial networks using big dataChristian jensen advanced routing in spatial networks using big data
Christian jensen advanced routing in spatial networks using big data
jins0618
 
Automated engineering of domain-specific metamorphic testing environments
Automated engineering of domain-specific metamorphic testing environmentsAutomated engineering of domain-specific metamorphic testing environments
Automated engineering of domain-specific metamorphic testing environments
Pablo Gómez Abajo
 
Masters Thesis
Masters ThesisMasters Thesis
Masters Thesis
Matt Moynihan
 
Big data classification based on improved parallel k-nearest neighbor
Big data classification based on improved parallel k-nearest neighborBig data classification based on improved parallel k-nearest neighbor
Big data classification based on improved parallel k-nearest neighbor
TELKOMNIKA JOURNAL
 
Computing Outside The Box September 2009
Computing Outside The Box September 2009Computing Outside The Box September 2009
Computing Outside The Box September 2009
Ian Foster
 
An Approach to Reduce Energy Consumption in Cloud data centers using Harmony ...
An Approach to Reduce Energy Consumption in Cloud data centers using Harmony ...An Approach to Reduce Energy Consumption in Cloud data centers using Harmony ...
An Approach to Reduce Energy Consumption in Cloud data centers using Harmony ...
ijccsa
 
An Approach to Reduce Energy Consumption in Cloud data centers using Harmony ...
An Approach to Reduce Energy Consumption in Cloud data centers using Harmony ...An Approach to Reduce Energy Consumption in Cloud data centers using Harmony ...
An Approach to Reduce Energy Consumption in Cloud data centers using Harmony ...
neirew J
 
MAXSS & NVIDIA
MAXSS & NVIDIAMAXSS & NVIDIA
MAXSS & NVIDIA
Alison B. Lowndes
 
A Review - Synchronization Approaches to Digital systems
A Review - Synchronization Approaches to Digital systemsA Review - Synchronization Approaches to Digital systems
A Review - Synchronization Approaches to Digital systems
IJERA Editor
 

Similar to CODA-ccgrid21 (20)

Cloud ppt
Cloud pptCloud ppt
Cloud ppt
 
ENERGY-EFFICIENT ADAPTIVE RESOURCE MANAGEMENT FOR REAL-TIME VEHICULAR CLOUD S...
ENERGY-EFFICIENT ADAPTIVE RESOURCE MANAGEMENT FOR REAL-TIME VEHICULAR CLOUD S...ENERGY-EFFICIENT ADAPTIVE RESOURCE MANAGEMENT FOR REAL-TIME VEHICULAR CLOUD S...
ENERGY-EFFICIENT ADAPTIVE RESOURCE MANAGEMENT FOR REAL-TIME VEHICULAR CLOUD S...
 
Latest Research Topics on Cloud Computing
Latest Research Topics on Cloud ComputingLatest Research Topics on Cloud Computing
Latest Research Topics on Cloud Computing
 
A Multiscale Simulation Approach for Diesel Particulate Filter Design Based o...
A Multiscale Simulation Approach for Diesel Particulate Filter Design Based o...A Multiscale Simulation Approach for Diesel Particulate Filter Design Based o...
A Multiscale Simulation Approach for Diesel Particulate Filter Design Based o...
 
BIG DATA SANITIZATION AND CYBER SITUATIONALAWARENESS: A NETWORK TELESCOPE PE...
 BIG DATA SANITIZATION AND CYBER SITUATIONALAWARENESS: A NETWORK TELESCOPE PE... BIG DATA SANITIZATION AND CYBER SITUATIONALAWARENESS: A NETWORK TELESCOPE PE...
BIG DATA SANITIZATION AND CYBER SITUATIONALAWARENESS: A NETWORK TELESCOPE PE...
 
AIAA Future of Fluids 2018 Boris
AIAA Future of Fluids 2018 BorisAIAA Future of Fluids 2018 Boris
AIAA Future of Fluids 2018 Boris
 
Data Replication In Cloud Computing
Data Replication In Cloud ComputingData Replication In Cloud Computing
Data Replication In Cloud Computing
 
Efficient architecture for arithmetic designs using perpendicular NanoMagneti...
Efficient architecture for arithmetic designs using perpendicular NanoMagneti...Efficient architecture for arithmetic designs using perpendicular NanoMagneti...
Efficient architecture for arithmetic designs using perpendicular NanoMagneti...
 
Traffic assignment of motorized private transport in OmniTRANS transport plan...
Traffic assignment of motorized private transport in OmniTRANS transport plan...Traffic assignment of motorized private transport in OmniTRANS transport plan...
Traffic assignment of motorized private transport in OmniTRANS transport plan...
 
Latest Thesis Topics for Fog computing
Latest Thesis Topics for Fog computingLatest Thesis Topics for Fog computing
Latest Thesis Topics for Fog computing
 
M2C2: A Mobility Management System For Mobile Cloud Computing
M2C2: A Mobility Management System For Mobile Cloud ComputingM2C2: A Mobility Management System For Mobile Cloud Computing
M2C2: A Mobility Management System For Mobile Cloud Computing
 
Christian jensen advanced routing in spatial networks using big data
Christian jensen advanced routing in spatial networks using big dataChristian jensen advanced routing in spatial networks using big data
Christian jensen advanced routing in spatial networks using big data
 
Automated engineering of domain-specific metamorphic testing environments
Automated engineering of domain-specific metamorphic testing environmentsAutomated engineering of domain-specific metamorphic testing environments
Automated engineering of domain-specific metamorphic testing environments
 
Masters Thesis
Masters ThesisMasters Thesis
Masters Thesis
 
Big data classification based on improved parallel k-nearest neighbor
Big data classification based on improved parallel k-nearest neighborBig data classification based on improved parallel k-nearest neighbor
Big data classification based on improved parallel k-nearest neighbor
 
Computing Outside The Box September 2009
Computing Outside The Box September 2009Computing Outside The Box September 2009
Computing Outside The Box September 2009
 
An Approach to Reduce Energy Consumption in Cloud data centers using Harmony ...
An Approach to Reduce Energy Consumption in Cloud data centers using Harmony ...An Approach to Reduce Energy Consumption in Cloud data centers using Harmony ...
An Approach to Reduce Energy Consumption in Cloud data centers using Harmony ...
 
An Approach to Reduce Energy Consumption in Cloud data centers using Harmony ...
An Approach to Reduce Energy Consumption in Cloud data centers using Harmony ...An Approach to Reduce Energy Consumption in Cloud data centers using Harmony ...
An Approach to Reduce Energy Consumption in Cloud data centers using Harmony ...
 
MAXSS & NVIDIA
MAXSS & NVIDIAMAXSS & NVIDIA
MAXSS & NVIDIA
 
A Review - Synchronization Approaches to Digital systems
A Review - Synchronization Approaches to Digital systemsA Review - Synchronization Approaches to Digital systems
A Review - Synchronization Approaches to Digital systems
 

Recently uploaded

Using-Presentation-Software-to-the-Fullf.pptx
Using-Presentation-Software-to-the-Fullf.pptxUsing-Presentation-Software-to-the-Fullf.pptx
Using-Presentation-Software-to-the-Fullf.pptx
kainatfatyma9
 
Disaster Management project for holidays homework and other uses
Disaster Management project for holidays homework and other usesDisaster Management project for holidays homework and other uses
Disaster Management project for holidays homework and other uses
RIDHIMAGARG21
 
Genesis chapter 3 Isaiah Scudder.pptx
Genesis    chapter 3 Isaiah Scudder.pptxGenesis    chapter 3 Isaiah Scudder.pptx
Genesis chapter 3 Isaiah Scudder.pptx
FamilyWorshipCenterD
 
Artificial Intelligence, Data and Competition – LIM – June 2024 OECD discussion
Artificial Intelligence, Data and Competition – LIM – June 2024 OECD discussionArtificial Intelligence, Data and Competition – LIM – June 2024 OECD discussion
Artificial Intelligence, Data and Competition – LIM – June 2024 OECD discussion
OECD Directorate for Financial and Enterprise Affairs
 
Prsentation for VIVA Welike project 1semester.pptx
Prsentation for VIVA Welike project 1semester.pptxPrsentation for VIVA Welike project 1semester.pptx
Prsentation for VIVA Welike project 1semester.pptx
prafulpawar29
 
原版制作贝德福特大学毕业证(bedfordhire毕业证)硕士文凭原版一模一样
原版制作贝德福特大学毕业证(bedfordhire毕业证)硕士文凭原版一模一样原版制作贝德福特大学毕业证(bedfordhire毕业证)硕士文凭原版一模一样
原版制作贝德福特大学毕业证(bedfordhire毕业证)硕士文凭原版一模一样
gpww3sf4
 
BRIC_2024_2024-06-06-11:30-haunschild_archival_version.pdf
BRIC_2024_2024-06-06-11:30-haunschild_archival_version.pdfBRIC_2024_2024-06-06-11:30-haunschild_archival_version.pdf
BRIC_2024_2024-06-06-11:30-haunschild_archival_version.pdf
Robin Haunschild
 
The Intersection between Competition and Data Privacy – CAPEL – June 2024 OEC...
The Intersection between Competition and Data Privacy – CAPEL – June 2024 OEC...The Intersection between Competition and Data Privacy – CAPEL – June 2024 OEC...
The Intersection between Competition and Data Privacy – CAPEL – June 2024 OEC...
OECD Directorate for Financial and Enterprise Affairs
 
IEEE CIS Webinar Sustainable futures.pdf
IEEE CIS Webinar Sustainable futures.pdfIEEE CIS Webinar Sustainable futures.pdf
IEEE CIS Webinar Sustainable futures.pdf
Claudio Gallicchio
 
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
OECD Directorate for Financial and Enterprise Affairs
 
Proposal: The Ark Project and The BEEP Inc
Proposal: The Ark Project and The BEEP IncProposal: The Ark Project and The BEEP Inc
Proposal: The Ark Project and The BEEP Inc
Raheem Muhammad
 
Legislation And Regulations For Import, Manufacture,.pptx
Legislation And Regulations For Import, Manufacture,.pptxLegislation And Regulations For Import, Manufacture,.pptx
Legislation And Regulations For Import, Manufacture,.pptx
Charmi13
 
The Intersection between Competition and Data Privacy – KEMP – June 2024 OECD...
The Intersection between Competition and Data Privacy – KEMP – June 2024 OECD...The Intersection between Competition and Data Privacy – KEMP – June 2024 OECD...
The Intersection between Competition and Data Privacy – KEMP – June 2024 OECD...
OECD Directorate for Financial and Enterprise Affairs
 
Why Psychological Safety Matters for Software Teams - ACE 2024 - Ben Linders.pdf
Why Psychological Safety Matters for Software Teams - ACE 2024 - Ben Linders.pdfWhy Psychological Safety Matters for Software Teams - ACE 2024 - Ben Linders.pdf
Why Psychological Safety Matters for Software Teams - ACE 2024 - Ben Linders.pdf
Ben Linders
 
Gamify it until you make it Improving Agile Development and Operations with ...
Gamify it until you make it  Improving Agile Development and Operations with ...Gamify it until you make it  Improving Agile Development and Operations with ...
Gamify it until you make it Improving Agile Development and Operations with ...
Ben Linders
 
2 December UAE National Day - United Arab Emirates
2 December UAE National Day - United Arab Emirates2 December UAE National Day - United Arab Emirates
2 December UAE National Day - United Arab Emirates
UAE Ppt
 
怎么办理(lincoln学位证书)英国林肯大学毕业证文凭学位证书原版一模一样
怎么办理(lincoln学位证书)英国林肯大学毕业证文凭学位证书原版一模一样怎么办理(lincoln学位证书)英国林肯大学毕业证文凭学位证书原版一模一样
怎么办理(lincoln学位证书)英国林肯大学毕业证文凭学位证书原版一模一样
kekzed
 
Pro-competitive Industrial Policy – OECD – June 2024 OECD discussion
Pro-competitive Industrial Policy – OECD – June 2024 OECD discussionPro-competitive Industrial Policy – OECD – June 2024 OECD discussion
Pro-competitive Industrial Policy – OECD – June 2024 OECD discussion
OECD Directorate for Financial and Enterprise Affairs
 
ServiceNow CIS-ITSM Exam Dumps & Questions [2024]
ServiceNow CIS-ITSM Exam Dumps & Questions [2024]ServiceNow CIS-ITSM Exam Dumps & Questions [2024]
ServiceNow CIS-ITSM Exam Dumps & Questions [2024]
SkillCertProExams
 
The Intersection between Competition and Data Privacy – COLANGELO – June 2024...
The Intersection between Competition and Data Privacy – COLANGELO – June 2024...The Intersection between Competition and Data Privacy – COLANGELO – June 2024...
The Intersection between Competition and Data Privacy – COLANGELO – June 2024...
OECD Directorate for Financial and Enterprise Affairs
 

Recently uploaded (20)

Using-Presentation-Software-to-the-Fullf.pptx
Using-Presentation-Software-to-the-Fullf.pptxUsing-Presentation-Software-to-the-Fullf.pptx
Using-Presentation-Software-to-the-Fullf.pptx
 
Disaster Management project for holidays homework and other uses
Disaster Management project for holidays homework and other usesDisaster Management project for holidays homework and other uses
Disaster Management project for holidays homework and other uses
 
Genesis chapter 3 Isaiah Scudder.pptx
Genesis    chapter 3 Isaiah Scudder.pptxGenesis    chapter 3 Isaiah Scudder.pptx
Genesis chapter 3 Isaiah Scudder.pptx
 
Artificial Intelligence, Data and Competition – LIM – June 2024 OECD discussion
Artificial Intelligence, Data and Competition – LIM – June 2024 OECD discussionArtificial Intelligence, Data and Competition – LIM – June 2024 OECD discussion
Artificial Intelligence, Data and Competition – LIM – June 2024 OECD discussion
 
Prsentation for VIVA Welike project 1semester.pptx
Prsentation for VIVA Welike project 1semester.pptxPrsentation for VIVA Welike project 1semester.pptx
Prsentation for VIVA Welike project 1semester.pptx
 
原版制作贝德福特大学毕业证(bedfordhire毕业证)硕士文凭原版一模一样
原版制作贝德福特大学毕业证(bedfordhire毕业证)硕士文凭原版一模一样原版制作贝德福特大学毕业证(bedfordhire毕业证)硕士文凭原版一模一样
原版制作贝德福特大学毕业证(bedfordhire毕业证)硕士文凭原版一模一样
 
BRIC_2024_2024-06-06-11:30-haunschild_archival_version.pdf
BRIC_2024_2024-06-06-11:30-haunschild_archival_version.pdfBRIC_2024_2024-06-06-11:30-haunschild_archival_version.pdf
BRIC_2024_2024-06-06-11:30-haunschild_archival_version.pdf
 
The Intersection between Competition and Data Privacy – CAPEL – June 2024 OEC...
The Intersection between Competition and Data Privacy – CAPEL – June 2024 OEC...The Intersection between Competition and Data Privacy – CAPEL – June 2024 OEC...
The Intersection between Competition and Data Privacy – CAPEL – June 2024 OEC...
 
IEEE CIS Webinar Sustainable futures.pdf
IEEE CIS Webinar Sustainable futures.pdfIEEE CIS Webinar Sustainable futures.pdf
IEEE CIS Webinar Sustainable futures.pdf
 
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
 
Proposal: The Ark Project and The BEEP Inc
Proposal: The Ark Project and The BEEP IncProposal: The Ark Project and The BEEP Inc
Proposal: The Ark Project and The BEEP Inc
 
Legislation And Regulations For Import, Manufacture,.pptx
Legislation And Regulations For Import, Manufacture,.pptxLegislation And Regulations For Import, Manufacture,.pptx
Legislation And Regulations For Import, Manufacture,.pptx
 
The Intersection between Competition and Data Privacy – KEMP – June 2024 OECD...
The Intersection between Competition and Data Privacy – KEMP – June 2024 OECD...The Intersection between Competition and Data Privacy – KEMP – June 2024 OECD...
The Intersection between Competition and Data Privacy – KEMP – June 2024 OECD...
 
Why Psychological Safety Matters for Software Teams - ACE 2024 - Ben Linders.pdf
Why Psychological Safety Matters for Software Teams - ACE 2024 - Ben Linders.pdfWhy Psychological Safety Matters for Software Teams - ACE 2024 - Ben Linders.pdf
Why Psychological Safety Matters for Software Teams - ACE 2024 - Ben Linders.pdf
 
Gamify it until you make it Improving Agile Development and Operations with ...
Gamify it until you make it  Improving Agile Development and Operations with ...Gamify it until you make it  Improving Agile Development and Operations with ...
Gamify it until you make it Improving Agile Development and Operations with ...
 
2 December UAE National Day - United Arab Emirates
2 December UAE National Day - United Arab Emirates2 December UAE National Day - United Arab Emirates
2 December UAE National Day - United Arab Emirates
 
怎么办理(lincoln学位证书)英国林肯大学毕业证文凭学位证书原版一模一样
怎么办理(lincoln学位证书)英国林肯大学毕业证文凭学位证书原版一模一样怎么办理(lincoln学位证书)英国林肯大学毕业证文凭学位证书原版一模一样
怎么办理(lincoln学位证书)英国林肯大学毕业证文凭学位证书原版一模一样
 
Pro-competitive Industrial Policy – OECD – June 2024 OECD discussion
Pro-competitive Industrial Policy – OECD – June 2024 OECD discussionPro-competitive Industrial Policy – OECD – June 2024 OECD discussion
Pro-competitive Industrial Policy – OECD – June 2024 OECD discussion
 
ServiceNow CIS-ITSM Exam Dumps & Questions [2024]
ServiceNow CIS-ITSM Exam Dumps & Questions [2024]ServiceNow CIS-ITSM Exam Dumps & Questions [2024]
ServiceNow CIS-ITSM Exam Dumps & Questions [2024]
 
The Intersection between Competition and Data Privacy – COLANGELO – June 2024...
The Intersection between Competition and Data Privacy – COLANGELO – June 2024...The Intersection between Competition and Data Privacy – COLANGELO – June 2024...
The Intersection between Competition and Data Privacy – COLANGELO – June 2024...
 

CODA-ccgrid21

  • 1. A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog Continuum Narges Mehran, Dragi Kimovski, Radu Prodan University of Klagenfurt, Klagenfurt, Austria
  • 2. Introduction & motivation CODA model Example on CODA Evaluation setups and results Conclusion & future work
  • 3. Introduction • Latency-sensitive and bandwidth-intensive data stream processing services, ➢amongst the dominating traffic generators in today's world • Processing such data streams in nearly real-time • Requiring vast amounts of compute, storage and network resources in proximity of data sources Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021. 3
  • 4. … CDC 1 CDC 2 CDC n … … Big Data analysis and memory optimized Compute optimized GPU instances … Cloud-Fog continuum Micro DC 1 Micro DC n • Micro or femto data centre directly connected to base station, • Cisco router1, • Cluster of: ✓ VMs running on workstations, ✓ Raspberry Pi, ✓ Nvidia Jetson Nano, ✓ Nano Pi. https://lead-conduct.de/ 4 1 https://developer.cisco.com/site/iox/ Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021.
  • 5. Motivation • To manage: ➢heterogeneous Cloud-Fog continuum ➢resources allocation and application deployment ➢strict latency and bandwidth requirements 5
  • 6. Cloud-fOg Data stream application mAtching • Cloud-fOg to Data stream application mAtching (CODA): • addresses the problem of deploying data stream processing applications on heterogeneous resources, • CODA approaches this problem using matching theory principles, ➢ application microservices: ✓ require lower completion time, ➢ computing resources: ✓ require lower traffic. 6 Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021.
  • 7. Application model set of interconnected microservices Source and sink microservices Application edges for data element flowing among microservices Data source and sink mi mu Dataui Upstream microservice of mi 7 Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021.
  • 8. Resource model rj 8 Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021.
  • 9. Resource and channel models rq rj 9 Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021.
  • 10. m1 m3 m2 m4 r4 r2 r3 r1 r3 r2 r1 r2 r4 r1 r3 m5 r1 r4 r2 r3 r1 r3 r2 r4 m2 m3 m1 m5 m2 m3 m5 m4 m3 m1 m5 m4 m2 m5 m4 Ranking 10 m1 m3 m2 m4 r4 r2 r3 r1 r3 r2 r1 r2 r3 m5 r4 r2 r3 r1 r3 r2 r4 m2 m3 m1 m5 m2 m3 m5 m4 m3 m1 m2 m5 Matching Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021.
  • 11. Ranking methods • We propose two ranking methods: ➢ microservice-side ranking that considers the microservice time; ➢ resource-side ranking that considers the residual bandwidth. 11 Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021.
  • 12. • Element processing time: 𝑡 𝑚𝑖, 𝑑𝑎𝑡𝑎𝑢𝑖 𝑥 , 𝑟 𝑗 = 𝐶𝑃𝑈(𝑚𝑖, 𝑑𝑎𝑡𝑎𝑢𝑖[𝑥]) 𝐶𝑃𝑈𝑗 + 𝑑𝑎𝑡𝑎𝑢𝑖[𝑥] 𝐵𝑊𝑞𝑗 + 𝐿𝐴𝑇𝑞𝑗 • Microservice time: 𝑇 𝑚𝑖, 𝑑𝑎𝑡𝑎𝑢𝑖 , 𝑟 𝑗 = ෍ 𝑥=1 𝑠𝑖𝑧𝑒𝑢𝑖 𝑡 𝑚𝑖, 𝑑𝑎𝑡𝑎𝑢𝑖 𝑥 , 𝑟 𝑗 Microservice-side ranking computation time transmission time and channel latency Number of data elements 12 Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021.
  • 13. • Residual bandwidth: 𝑅𝑒𝑠𝑑𝐵𝑊 𝑗 𝑚𝑖, 𝑑𝑎𝑡𝑎𝑢𝑖 , 𝑟 𝑗 = 𝐵𝑊𝑞𝑗 − ෍ 𝑥=1 𝑠𝑖𝑧𝑒𝑢𝑖 𝜆𝑢𝑖 . 𝑑𝑎𝑡𝑎𝑢𝑖[𝑥] Resource-side ranking ingress data rate & data stream Bandwidth between resources rq and rj 13 Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021.
  • 14. Problem definition • Resource allocation problem → as a matching game 14 Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021.
  • 15. Problem definition • Resource allocation problem → as a matching game 15 Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021.
  • 16. m1 m3 m2 m4 r4 r2 r3 r1 r3 r2 r1 r2 r4 r1 r3 m5 r1 r4 r2 r3 r1 r3 r2 r4 m2 m3 m1 m5 m2 m3 m5 m4 m3 m1 m5 m4 m2 m5 m4 An example on CODA Algorithm 16 Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021.
  • 17. m1 m3 m2 m4 r4 r2 r3 r1 r3 r2 r1 r2 r4 r1 r3 m5 r1 r4 r2 r3 r1 r3 r2 r4 m2 m3 m1 m5 m2 m3 m5 m4 m3 m1 m5 m4 m2 m5 m4 17 Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021. An example on CODA Algorithm
  • 18. m1 m3 m2 m4 r4 r2 r3 r1 r3 r2 r1 r2 r4 r1 r3 m5 r1 r4 r2 r3 r1 r3 r2 r4 m2 m3 m1 m5 m2 m3 m5 m4 m3 m1 m5 m4 m2 m5 m4 18 Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021. An example on CODA Algorithm
  • 19. m1 m3 m2 m4 r4 r2 r3 r1 r3 r2 r1 r2 r4 r1 r3 m5 r1 r4 r2 r3 r1 r3 r2 r4 m2 m3 m1 m5 m2 m3 m5 m4 m3 m1 m5 m4 m2 m5 m4 19 Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021. An example on CODA Algorithm
  • 20. m1 m3 m2 m4 r4 r2 r3 r1 r3 r2 r1 r2 r4 r1 r3 m5 r1 r4 r2 r3 r1 r3 r2 r4 m2 m3 m1 m5 m2 m3 m5 m4 m3 m1 m5 m4 m2 m5 m4 20 Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021. An example on CODA Algorithm
  • 21. m1 m3 m2 m4 r4 r2 r3 r1 r3 r2 r1 r2 r4 r1 r3 m5 r1 r4 r2 r3 r1 r3 r2 r4 m2 m3 m1 m5 m2 m3 m5 m4 m3 m1 m5 m4 m2 m5 m4 21 Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021. An example on CODA Algorithm
  • 22. m1 m3 m2 m4 r4 r2 r3 r1 r3 r2 r1 r2 r4 r1 r3 m5 r1 r4 r2 r3 r1 r3 r2 r4 m2 m3 m1 m5 m2 m3 m5 m4 m3 m1 m5 m4 m2 m5 m4 22 Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021. An example on CODA Algorithm
  • 23. m1 m3 m2 m4 r4 r2 r3 r1 r3 r2 r1 r2 r4 r1 r3 m5 r1 r4 r2 r3 r1 r3 r2 r4 m2 m3 m1 m5 m2 m3 m5 m4 m3 m1 m5 m4 m2 m5 m4 23 Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021. An example on CODA Algorithm
  • 24. m1 m3 m2 m4 r4 r2 r3 r1 r3 r2 r1 r2 r3 m5 r4 r2 r3 r1 r3 r2 r4 m2 m3 m1 m5 m2 m3 m5 m4 m3 m1 m2 m5 24 Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021. An example on CODA Algorithm
  • 25. m1 m3 m2 m4 r4 r2 r3 r1 r3 r2 r1 r2 r3 m5 r4 r2 r3 r1 r3 r2 r4 m2 m3 m1 m5 m2 m3 m5 m4 m3 m1 m2 m5 25 Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021. An example on CODA Algorithm
  • 26. Traffic sign classification in video stream applications Traffic sign classification in video stream applications 1) Encoding: encodes the raw video stream with ffmpeg software suite with the H.264 codec. 2) Framing: divides the videos into frames by utilizing OpenCV library. 3) Analysis: is an ML model to train a neural network from 50,000 video frames of 43 traffic signs. 26 Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021.
  • 27. 1. iFogSim simulator 2. C3 Testbed: ➢m5a.xlarge AWS general purpose instance ➢One twelve-core AMD Ryzen Threadripper 2920X processor at 3.5GHz and 32GB of RAM ➢RPi and NVIDIA Jetson Nano as the one- hop devices connected to data source Experimental setups
  • 28. Performance metrics • Stream processing time: completion time of the msnk microservice; μ(A)⊆R: 28 msrc m3 m2 m4 msnk 𝐶 𝐴, 𝑅 = 𝐶(𝑚𝑠𝑛𝑘, 𝑅)
  • 29. • Stream processing time: completion time of the msnk microservice; μ(A)⊆R: • Total streaming traffic: total traffic aggregates the traffic across all network channels: 29 msrc m3 m2 m4 msnk 𝐶 𝐴, 𝑅 = 𝐶(𝑚𝑠𝑛𝑘, 𝑅) r1 r3 r2 r4 Performance metrics
  • 30. • Stream processing time: completion time of the msnk microservice; μ(A)⊆R: • Total streaming traffic: total traffic aggregates the traffic across all network channels: 30 msrc m3 m2 m4 msnk 𝐶 𝐴, 𝑅 = 𝐶(𝑚𝑠𝑛𝑘, 𝑅) r1 r3 r2 r4 Performance metrics
  • 31. Related work comparisons • Three state-of-the-art approaches: ➢ Heterogeneous Earliest Finish Time–only Cloud (HEFT-oC) ➢ Response Time Rate with Region Patterns (RTR-RP) ➢ CloudPath 31 Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021.
  • 32. Simulation scenarios • First scenario: ➢CPU load of {10000, 20000, 30000, 40000} MI, ➢Data size of dataui[x] = 10MB. • Second scenario: ➢Data size of {0.1, 1, 5, 10} MB, ➢CPU load = 15000 MI. 32 Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021.
  • 34. Real-testbed scenarios • First scenario: ➢ encoding bitrate ∈ {200,1500,3000,6500,20000} kbps, ➢ dataui[x]=2560kB. • Second scenario: ➢ dataui[x] ∈ {35,300,420,1350,2560} kB, ➢ bitrate= 20000kbps. 34 Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021.
  • 36. Real-testbed scenarios • First scenario: ➢ encoding bitrate ∈ {200,1500,3000,6500,20000} kbps, ➢ dataui[x]=2560kB. • Second scenario: ➢ dataui[x] ∈ {35,300,420,1350,2560} kB, ➢ bitrate= 20000kbps. 36 Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021.
  • 37. Conclusion and future work • Proposed CODA for running stream processing applications on Cloud-Fog resources, • considered stream processing time and the streaming traffic as our main goals, • achieved 11-45% lower stream processing times and 1.3-20% lower streaming traffic. 37 Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021.
  • 38. Conclusion and future work • Future works: ➢ Investigating the scheduling algorithm based on matching theory, ➢ Inspecting the dynamicity of applications and resources. • Proposed CODA for running stream processing applications on Cloud-Fog resources, • considered stream processing time and the streaming traffic as our main goals, • achieved 11-45% lower stream processing times and 1.3-20% lower streaming traffic. 38 Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021.
  • 39. References 1. B. Confais, B. Parrein and A. Lebre, "Data Location Management Protocol for Object Stores in a Fog Computing Infrastructure," in IEEE Transactions on Network and Service Management, vol. 16, no. 4, pp. 1624-1637, Dec. 2019. 2. Seyed Hossein Mortazavi, Mohammad Salehe, Carolina Simoes Gomes, Caleb Phillips, and Eyal de Lara. Cloudpath: A multi-tier cloud computing framework. In Proceedings of the Second ACM/IEEE Symposium on Edge Computing, pages 1–13, 2017. 3. Alexandre da Silva Veith, Marcos Dias de Assuncao, and Laurent Lefevre. Latency-aware placement of data stream analytics on edge computing. In International Conference on Service-Oriented Computing, pages 215–229. Springer, 2018. 4. David Gale and Lloyd S Shapley. College admissions and the stability of marriage. The American Mathematical Monthly, 69(1):9–15, 1962. 5. Marcos Dias de Assuncao, Alexandre da Silva Veith, and Rajkumar Buyya. Distributed data stream processing and edge computing: A survey on resource elasticity and future directions. Journal of Network and Computer Applications, 103:1–17, 2018. 6. S Segvic, K Brkic, Z Kalafatic, V Stanisavljevic, M Sevrovic, Damir Budimir, and I Dadic. A computer vision assisted geoinformation inventory for traffic infrastructure. In 13th International IEEE Conference on Intelligent Transportation Systems, pages 66–73. IEEE, 2010. 7. Ali Reza Zamani, Mengsong Zou, Javier Diaz-Montes, Ioan Petri, Omer Farooq Rana, Ashiq Anjum, and Manish Parashar. Deadline constrained video analysis via in-transit computational environments. IEEE Transactions on Services Computing, 2017. 8. Dragi Kimovski, Roland Matha, Josef Hammer, Narges Mehran, Hermann Hellwagner, and Radu Prodan. Cloud, fog or edge: Where to compute? IEEE Internet Computing, 2021. 9. Mahsa Ehsanpour, Siavash Bayat, and Ali Mohammad Afshin Hemmatyar. An efficient and social-aware distributed in-network caching scheme in named data networks using matching theory. Computer Networks, 158:175–183, 2019. 39 Mehran, Kimovski, Prodan. “A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog ..,” CCGrid2021.
  • 40. Thanks for your attention ☺ A Two-Sided Matching Model for Data Stream Processing in the Cloud-Fog Continuum Narges Mehran, Dragi Kimovski, Radu Prodan Klagenfurt University, Klagenfurt, Austria Email: Narges.Mehran@aau.at Code: https://github.com/SiNa88/CODA