From Cloud to Fog: the Tao of IT Infrastructure Decentralization

FogGuru MSCA Project
FogGuru MSCA ProjectFogGuru MSCA Project
From Cloud to Fog:
The Tao of IT Infrastructure Decentralization
Guillaume Pierre
Keynote at the IEEE CloudNet Conference, Nov 4th 2019
The Tao of IT Infrastructure Decentralization 1 / 31
End users want interactivity
IoT devices produce huge volumes of data
The Tao of IT Infrastructure Decentralization 2 / 31
The Tao of IT Infrastructure Decentralization 3 / 31
The Tao of IT Infrastructure Decentralization 3 / 31
Latency
Bandwidth
Cost
The Tao of IT Infrastructure Decentralization 3 / 31
Fog Computing
The Tao of IT Infrastructure Decentralization 4 / 31
Fog Computing
The Tao of IT Infrastructure Decentralization 4 / 31
Fog Computing
The Tao of IT Infrastructure Decentralization 4 / 31
Fog Computing
The Tao of IT Infrastructure Decentralization 4 / 31
Fog Computing
The Tao of IT Infrastructure Decentralization 4 / 31
Fog = Cloud: the dierence is the network
Typical Cloud platform
Few data centers
High-performance networks
Cloud resource location is
(mostly) irrelevant
Resources close to each
other, far from the users
Typical Fog platform
Lots of points-of-presence
Heterogeneous networks
Fog resource location is
extremely important
Resources close to the
users, far from each other
The Tao of IT Infrastructure Decentralization 5 / 31
Experimentation platform
⇒
the fridge
The Tao of IT Infrastructure Decentralization 6 / 31
The Tao of IT Infrastructure Decentralization
The Tao of IT Infrastructure Decentralization 7 / 31
The Tao of IT Infrastructure Decentralization
The Tao of IT Infrastructure Decentralization 7 / 31
The Tao of IT Infrastructure Decentralization
The Tao of IT Infrastructure Decentralization 7 / 31
Kubernetes is a great platform...
Container-based ⇒ lightweight, can run on a Raspberry Pi
Pods and services ⇒ easy to deploy and (re-)scale applications
Integrated autoscaling ⇒ ready for uctuating workloads
Designed around feedback control loops ⇒ simple and robust
Large community of users and developers ⇒ we can nd help
whenever necessary
The Tao of IT Infrastructure Decentralization 8 / 31
... but it is not ready for the fog
The Tao of IT Infrastructure Decentralization 9 / 31
... but it is not ready for the fog
The Tao of IT Infrastructure Decentralization 9 / 31
... but it is not ready for the fog
The Tao of IT Infrastructure Decentralization 9 / 31
... but it is not ready for the fog
The Tao of IT Infrastructure Decentralization 9 / 31
... but it is not ready for the fog
The Tao of IT Infrastructure Decentralization 9 / 31
How Kubernetes routes end user requests
The Tao of IT Infrastructure Decentralization 10 / 31
How Kubernetes routes end user requests
The Tao of IT Infrastructure Decentralization 11 / 31
Kubernetes load-balances trac across pods
Let's issue lots of requests on node #7 (which contains a pod)
Other pods are available:
At node #6: 2ms
At nodes #4 and #5: 4ms
At nodes #2 and #3: 6ms
The Tao of IT Infrastructure Decentralization 12 / 31
If we make request routing location-aware
Proximity-Aware Trac Routing in Distributed Fog Computing Platforms. Ali Fahs and Guillaume Pierre.
In Proceedings of the IEEE/ACM CCGrid Conference, May 2019.
The Tao of IT Infrastructure Decentralization 13 / 31
Great.
But. . .
We still need to place pods close to the end users
The Tao of IT Infrastructure Decentralization 14 / 31
The Tao of IT Infrastructure Decentralization 15 / 31
Pod placement is an NP-hard problem
Place r replicas among n fog nodes to minimize user-pod distance
⇒ r
n = n!
r!(n−r)! possible combinations to explore
When n = 10 and m = 100 this makes 17,310,309,456,440 combinations
Heuristic: Let's nd any reasonably good pod placement
Reasonably good == at least F% of user requests served within X ms
(e.g., F = 99.9% and X = 5 ms)
We can explore the space of placements (more or less) randomly until:
we nd a reasonably good placement
or
a timer expires
The Tao of IT Infrastructure Decentralization 16 / 31
Scheduling pods
Create Pods Schedule Pods Deploy Pods
Request a
Deployment
Deployement
Controller
Pod objects
Created
Kubernetes
Scheduler
Pods
Assigned
Running
Pods
Kubelet
S4
S1 S2
S3 S4
S5 S6
S7 S8
S1
S3 S4
S8
S4
S8
S1
S3
Score: 8
Score: 7
Score: 4
Score: 3
All Schedules Feasible Schedules Ranked Schedules
Final 
Solution
Filter Score

Rank
Assign
The Tao of IT Infrastructure Decentralization 17 / 31
Pod placement performance
q
q
q
q
q
q
q
q
q
q
q
q
q
q
q
q
n=50 n=100 n=200 n=300
93
95
97
99
98.3
98.8
99.3
99.8
99.61
99.71
99.81
99.91
99.84
99.87
99.90
99.93
K
R
H1
H2
µP%
Algorithm
(a) Proximity as function of dierent algorithms
q
q
q
q
q
q
q
q
q
q
q
q
q
q
q
q
n=50 n=100 n=200 n=300
5 7 9 11 3.4 4.0 4.6 5.2 1.7 2.0 2.3 2.6 1.3 1.5 1.7
K
R
H1
H2
µI%
Algorithm
(b) Fairness as function of dierent algorithms
The Tao of IT Infrastructure Decentralization 18 / 31
The Tao of IT Infrastructure Decentralization 19 / 31
Stream data processing
The Tao of IT Infrastructure Decentralization 20 / 31
Stream data processing
The Tao of IT Infrastructure Decentralization 20 / 31
The Tao of IT Infrastructure Decentralization 21 / 31
The Tao of IT Infrastructure Decentralization 21 / 31
With a bandwidth-optimized pre-combined operator
The Tao of IT Infrastructure Decentralization 22 / 31
The Tao of IT Infrastructure Decentralization 23 / 31
So Si
Op1
Op2
Op3
(a) Logical graph of operators.
SiOp3
Op2
So
So
Op1
Op1
Op1
(b) Replicated data source and operator.
(c) Geo-distributed operator replicas in a Fog computing environment.
Can we model the performance of stream processing in the fog?
The Tao of IT Infrastructure Decentralization 24 / 31
Performance model for a single operator
We can model an operator's throughput with just 3 parameters:
Πn =
α
nβ
+ γ × NDmax
α captures the operator's computational complexity
β captures the parallelism overhead of Apache Flink
γ captures the impact of network latency
With this model we can predict the
throughput with error ≈ 2%
0
10000
20000
30000
40000
50000
60000
70000
80000
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Measured Points
ProcessingTime(ms)
Number of Replicas
Basic Measurments
3 Measurments Prediction
Simple operators:
replicated and distributed
KeyBy operator
Model calibration
Model composition
The Tao of IT Infrastructure Decentralization 25 / 31
The Tao of IT Infrastructure Decentralization 26 / 31
The FogGuru project
www.fogguru.eu
Training the Next Generation of European Fog Computing Experts
H2020 European Industrial Doctorate Maria Skªodowska-Curie project
Eight talented PhD students conducting research on fog computing
Real-world experimentation in Valencia (Spain), starting. . . today
The Tao of IT Infrastructure Decentralization 27 / 31
Real-world experimentation
Technical goals:
Detect water leaks
Optimize water
distribution
Inform citizens about
their consumption
. . . ?
Societal goals:
Validate research in real-life settings
Develop fog application blueprints
Meet real customers and citizens
Benet the city of Valencia, its
citizens and its companies
Disseminate the project's results
The Tao of IT Infrastructure Decentralization 28 / 31
The Tao of IT Infrastructure Decentralization 29 / 31
When a Cloud surrounds you it becomes Fog.
This is only the beginning of the journey. . .
www.fogguru.eu
The Tao of IT Infrastructure Decentralization 30 / 31
Credits
The Myriads team at IRISA:
The FogGuru project:
The Tao of IT Infrastructure Decentralization 31 / 31
1 of 45

Recommended

Control of computing systems by
Control of computing systemsControl of computing systems
Control of computing systemsFogGuru MSCA Project
49 views126 slides
Fog Computing for Dummies by
Fog Computing for Dummies Fog Computing for Dummies
Fog Computing for Dummies FogGuru MSCA Project
50 views36 slides
From data centers to fog computing: the evaporating cloud by
From data centers to fog computing: the evaporating cloudFrom data centers to fog computing: the evaporating cloud
From data centers to fog computing: the evaporating cloudFogGuru MSCA Project
480 views44 slides
Stream Processing by
Stream Processing Stream Processing
Stream Processing FogGuru MSCA Project
60 views38 slides
An Experiment-Driven Performance Model of Stream Processing Operators in Fog ... by
An Experiment-Driven Performance Model of Stream Processing Operators in Fog ...An Experiment-Driven Performance Model of Stream Processing Operators in Fog ...
An Experiment-Driven Performance Model of Stream Processing Operators in Fog ...FogGuru MSCA Project
384 views16 slides
Container orchestration in geo-distributed cloud computing platforms by
Container orchestration in geo-distributed cloud computing platformsContainer orchestration in geo-distributed cloud computing platforms
Container orchestration in geo-distributed cloud computing platformsFogGuru MSCA Project
25 views21 slides

More Related Content

What's hot

FIWARE Global Summit - FogFlow, a new GE for IoT Edge Computing by
FIWARE Global Summit - FogFlow, a new GE for IoT Edge ComputingFIWARE Global Summit - FogFlow, a new GE for IoT Edge Computing
FIWARE Global Summit - FogFlow, a new GE for IoT Edge ComputingFIWARE
1K views38 slides
Eventual Consistency - JUG DA by
Eventual Consistency - JUG DAEventual Consistency - JUG DA
Eventual Consistency - JUG DASusanne Braun
179 views42 slides
High Performance Computing in the Cloud? by
High Performance Computing in the Cloud?High Performance Computing in the Cloud?
High Performance Computing in the Cloud?Ian Lumb
1.4K views49 slides
Architecture and Performance of Runtime Environments for Data Intensive Scala... by
Architecture and Performance of Runtime Environments for Data Intensive Scala...Architecture and Performance of Runtime Environments for Data Intensive Scala...
Architecture and Performance of Runtime Environments for Data Intensive Scala...jaliyae
2K views21 slides
Scalable Parallel Computing on Clouds by
Scalable Parallel Computing on CloudsScalable Parallel Computing on Clouds
Scalable Parallel Computing on CloudsThilina Gunarathne
1.7K views22 slides
IoT Workload Distribution Impact Between Edge and Cloud Computing in a Smart ... by
IoT Workload Distribution Impact Between Edge and Cloud Computing in a Smart ...IoT Workload Distribution Impact Between Edge and Cloud Computing in a Smart ...
IoT Workload Distribution Impact Between Edge and Cloud Computing in a Smart ...Otávio Carvalho
51 views13 slides

What's hot(20)

FIWARE Global Summit - FogFlow, a new GE for IoT Edge Computing by FIWARE
FIWARE Global Summit - FogFlow, a new GE for IoT Edge ComputingFIWARE Global Summit - FogFlow, a new GE for IoT Edge Computing
FIWARE Global Summit - FogFlow, a new GE for IoT Edge Computing
FIWARE1K views
Eventual Consistency - JUG DA by Susanne Braun
Eventual Consistency - JUG DAEventual Consistency - JUG DA
Eventual Consistency - JUG DA
Susanne Braun179 views
High Performance Computing in the Cloud? by Ian Lumb
High Performance Computing in the Cloud?High Performance Computing in the Cloud?
High Performance Computing in the Cloud?
Ian Lumb1.4K views
Architecture and Performance of Runtime Environments for Data Intensive Scala... by jaliyae
Architecture and Performance of Runtime Environments for Data Intensive Scala...Architecture and Performance of Runtime Environments for Data Intensive Scala...
Architecture and Performance of Runtime Environments for Data Intensive Scala...
jaliyae2K views
IoT Workload Distribution Impact Between Edge and Cloud Computing in a Smart ... by Otávio Carvalho
IoT Workload Distribution Impact Between Edge and Cloud Computing in a Smart ...IoT Workload Distribution Impact Between Edge and Cloud Computing in a Smart ...
IoT Workload Distribution Impact Between Edge and Cloud Computing in a Smart ...
Otávio Carvalho51 views
High performance computing by Guy Tel-Zur
High performance computingHigh performance computing
High performance computing
Guy Tel-Zur7.1K views
Grid'5000: Running a Large Instrument for Parallel and Distributed Computing ... by Frederic Desprez
Grid'5000: Running a Large Instrument for Parallel and Distributed Computing ...Grid'5000: Running a Large Instrument for Parallel and Distributed Computing ...
Grid'5000: Running a Large Instrument for Parallel and Distributed Computing ...
Frederic Desprez1.3K views
Risk Assessment Based Cloudification by SERENEWorkshop
Risk Assessment Based CloudificationRisk Assessment Based Cloudification
Risk Assessment Based Cloudification
SERENEWorkshop557 views
The Potential of cloud computing in accelerating the search for curing seriou... by Mãrwã MãrwØùt'ã
The Potential of cloud computing in accelerating the search for curing seriou...The Potential of cloud computing in accelerating the search for curing seriou...
The Potential of cloud computing in accelerating the search for curing seriou...
Deadline Monotonic Scheduling to Reduce Overhead of Superframe in ISA100.11a by Oka Danil
Deadline Monotonic Scheduling to Reduce Overhead of Superframe in ISA100.11aDeadline Monotonic Scheduling to Reduce Overhead of Superframe in ISA100.11a
Deadline Monotonic Scheduling to Reduce Overhead of Superframe in ISA100.11a
Oka Danil897 views
Optimising Service Deployment and Infrastructure Resource Configuration by RECAP Project
Optimising Service Deployment and Infrastructure Resource ConfigurationOptimising Service Deployment and Infrastructure Resource Configuration
Optimising Service Deployment and Infrastructure Resource Configuration
RECAP Project548 views
Superframe Scheduling with Beacon Enable Mode in Wireless Industrial Networks by Oka Danil
Superframe Scheduling with Beacon Enable Mode in Wireless Industrial NetworksSuperframe Scheduling with Beacon Enable Mode in Wireless Industrial Networks
Superframe Scheduling with Beacon Enable Mode in Wireless Industrial Networks
Oka Danil685 views
DSD-INT 2015 - The future of Delft-FEWS - Simone van Schijndel, Deltares by Deltares
DSD-INT 2015 - The future of Delft-FEWS - Simone van Schijndel, DeltaresDSD-INT 2015 - The future of Delft-FEWS - Simone van Schijndel, Deltares
DSD-INT 2015 - The future of Delft-FEWS - Simone van Schijndel, Deltares
Deltares598 views
Tackling Consistency-related Design Challenges of Distributed Data-Intensive ... by Susanne Braun
Tackling Consistency-related Design Challenges of Distributed Data-Intensive ...Tackling Consistency-related Design Challenges of Distributed Data-Intensive ...
Tackling Consistency-related Design Challenges of Distributed Data-Intensive ...
Susanne Braun389 views
SPAR 2015 - Civil Maps Presentation by Sravan Puttagunta by Sravan Puttagunta
SPAR 2015 - Civil Maps Presentation by Sravan PuttaguntaSPAR 2015 - Civil Maps Presentation by Sravan Puttagunta
SPAR 2015 - Civil Maps Presentation by Sravan Puttagunta
Sravan Puttagunta1.3K views
Clustering by AKASHMSHAH by Akash M Shah
Clustering by AKASHMSHAHClustering by AKASHMSHAH
Clustering by AKASHMSHAH
Akash M Shah524 views
DSD-INT 2015 - From flood control to energy production - experiences as an in... by Deltares
DSD-INT 2015 - From flood control to energy production - experiences as an in...DSD-INT 2015 - From flood control to energy production - experiences as an in...
DSD-INT 2015 - From flood control to energy production - experiences as an in...
Deltares1.7K views

Similar to From Cloud to Fog: the Tao of IT Infrastructure Decentralization

StreamSight - Query-Driven Descriptive Analytics for IoT and Edge Computing by
StreamSight - Query-Driven Descriptive Analytics for IoT and Edge ComputingStreamSight - Query-Driven Descriptive Analytics for IoT and Edge Computing
StreamSight - Query-Driven Descriptive Analytics for IoT and Edge ComputingDemetris Trihinas
78 views37 slides
Cloud Camp Milan 2K9 Telecom Italia: Where P2P? by
Cloud Camp Milan 2K9 Telecom Italia: Where P2P?Cloud Camp Milan 2K9 Telecom Italia: Where P2P?
Cloud Camp Milan 2K9 Telecom Italia: Where P2P?Gabriele Bozzi
433 views20 slides
CloudCamp Milan 2009: Telecom Italia by
CloudCamp Milan 2009: Telecom ItaliaCloudCamp Milan 2009: Telecom Italia
CloudCamp Milan 2009: Telecom ItaliaGabriele Bozzi
322 views20 slides
Crash course on data streaming (with examples using Apache Flink) by
Crash course on data streaming (with examples using Apache Flink)Crash course on data streaming (with examples using Apache Flink)
Crash course on data streaming (with examples using Apache Flink)Vincenzo Gulisano
255 views120 slides
Clusetrreport by
ClusetrreportClusetrreport
ClusetrreportSreejith Nair
995 views28 slides
MininetasSDNPlatform.pdf by
MininetasSDNPlatform.pdfMininetasSDNPlatform.pdf
MininetasSDNPlatform.pdfFernando Velez Varela
6 views5 slides

Similar to From Cloud to Fog: the Tao of IT Infrastructure Decentralization(20)

StreamSight - Query-Driven Descriptive Analytics for IoT and Edge Computing by Demetris Trihinas
StreamSight - Query-Driven Descriptive Analytics for IoT and Edge ComputingStreamSight - Query-Driven Descriptive Analytics for IoT and Edge Computing
StreamSight - Query-Driven Descriptive Analytics for IoT and Edge Computing
Cloud Camp Milan 2K9 Telecom Italia: Where P2P? by Gabriele Bozzi
Cloud Camp Milan 2K9 Telecom Italia: Where P2P?Cloud Camp Milan 2K9 Telecom Italia: Where P2P?
Cloud Camp Milan 2K9 Telecom Italia: Where P2P?
Gabriele Bozzi433 views
CloudCamp Milan 2009: Telecom Italia by Gabriele Bozzi
CloudCamp Milan 2009: Telecom ItaliaCloudCamp Milan 2009: Telecom Italia
CloudCamp Milan 2009: Telecom Italia
Gabriele Bozzi322 views
Crash course on data streaming (with examples using Apache Flink) by Vincenzo Gulisano
Crash course on data streaming (with examples using Apache Flink)Crash course on data streaming (with examples using Apache Flink)
Crash course on data streaming (with examples using Apache Flink)
Vincenzo Gulisano255 views
Data Streaming in IoT and Big Data Analytics by Vincenzo Gulisano
Data Streaming in  IoT and Big Data AnalyticsData Streaming in  IoT and Big Data Analytics
Data Streaming in IoT and Big Data Analytics
Vincenzo Gulisano1.3K views
CPaaS.io Y1 Review Meeting - Cloud & Edge Programming by Stephan Haller
CPaaS.io Y1 Review Meeting - Cloud & Edge ProgrammingCPaaS.io Y1 Review Meeting - Cloud & Edge Programming
CPaaS.io Y1 Review Meeting - Cloud & Edge Programming
Stephan Haller105 views
Green cloud computing by Nalini Mehta
Green cloud computingGreen cloud computing
Green cloud computing
Nalini Mehta7.5K views
Fog Computing: A Platform for Internet of Things and Analytics by HarshitParkar6677
Fog Computing: A Platform for Internet of Things and AnalyticsFog Computing: A Platform for Internet of Things and Analytics
Fog Computing: A Platform for Internet of Things and Analytics
Big Data and Internet of Things: A Roadmap For Smart Environments, Fog Comput... by Jiang Zhu
Big Data and Internet of Things: A Roadmap For Smart Environments, Fog Comput...Big Data and Internet of Things: A Roadmap For Smart Environments, Fog Comput...
Big Data and Internet of Things: A Roadmap For Smart Environments, Fog Comput...
Jiang Zhu2.3K views
Green cloud computing by jauwad syed
Green cloud computing Green cloud computing
Green cloud computing
jauwad syed535 views
ICCT2017: A user mode implementation of filtering rule management plane using... by Ruo Ando
ICCT2017: A user mode implementation of filtering rule management plane using...ICCT2017: A user mode implementation of filtering rule management plane using...
ICCT2017: A user mode implementation of filtering rule management plane using...
Ruo Ando111 views
Coding the Continuum by Ian Foster
Coding the ContinuumCoding the Continuum
Coding the Continuum
Ian Foster1.7K views
Towards a Lightweight Multi-Cloud DSL for Elastic and Transferable Cloud-nati... by Nane Kratzke
Towards a Lightweight Multi-Cloud DSL for Elastic and Transferable Cloud-nati...Towards a Lightweight Multi-Cloud DSL for Elastic and Transferable Cloud-nati...
Towards a Lightweight Multi-Cloud DSL for Elastic and Transferable Cloud-nati...
Nane Kratzke458 views

More from FogGuru MSCA Project

Assignments by
AssignmentsAssignments
AssignmentsFogGuru MSCA Project
79 views24 slides
The magical recipe for speaking in public by
The magical recipe for speaking in publicThe magical recipe for speaking in public
The magical recipe for speaking in publicFogGuru MSCA Project
54 views3 slides
Introduction to the economics of innovation by
Introduction to the economics of innovationIntroduction to the economics of innovation
Introduction to the economics of innovationFogGuru MSCA Project
270 views192 slides
Introduction to entrepreneurial finances by
Introduction to entrepreneurial financesIntroduction to entrepreneurial finances
Introduction to entrepreneurial financesFogGuru MSCA Project
46 views70 slides
Financing Innovation and Intellectual property by
Financing Innovation and Intellectual property Financing Innovation and Intellectual property
Financing Innovation and Intellectual property FogGuru MSCA Project
69 views158 slides
Creating Competitive Advantage: Resource and Capabilities by
Creating Competitive Advantage: Resource and Capabilities Creating Competitive Advantage: Resource and Capabilities
Creating Competitive Advantage: Resource and Capabilities FogGuru MSCA Project
87 views40 slides

More from FogGuru MSCA Project(20)

Creating Competitive Advantage: Resource and Capabilities by FogGuru MSCA Project
Creating Competitive Advantage: Resource and Capabilities Creating Competitive Advantage: Resource and Capabilities
Creating Competitive Advantage: Resource and Capabilities

Recently uploaded

NTGapps NTG LowCode Platform by
NTGapps NTG LowCode Platform NTGapps NTG LowCode Platform
NTGapps NTG LowCode Platform Mustafa Kuğu
437 views30 slides
The Role of Patterns in the Era of Large Language Models by
The Role of Patterns in the Era of Large Language ModelsThe Role of Patterns in the Era of Large Language Models
The Role of Patterns in the Era of Large Language ModelsYunyao Li
91 views65 slides
Optimizing Communication to Optimize Human Behavior - LCBM by
Optimizing Communication to Optimize Human Behavior - LCBMOptimizing Communication to Optimize Human Behavior - LCBM
Optimizing Communication to Optimize Human Behavior - LCBMYaman Kumar
38 views49 slides
Why and How CloudStack at weSystems - Stephan Bienek - weSystems by
Why and How CloudStack at weSystems - Stephan Bienek - weSystemsWhy and How CloudStack at weSystems - Stephan Bienek - weSystems
Why and How CloudStack at weSystems - Stephan Bienek - weSystemsShapeBlue
247 views13 slides
2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlue by
2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlue2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlue
2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlueShapeBlue
152 views23 slides
Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit... by
Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit...Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit...
Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit...ShapeBlue
162 views25 slides

Recently uploaded(20)

NTGapps NTG LowCode Platform by Mustafa Kuğu
NTGapps NTG LowCode Platform NTGapps NTG LowCode Platform
NTGapps NTG LowCode Platform
Mustafa Kuğu437 views
The Role of Patterns in the Era of Large Language Models by Yunyao Li
The Role of Patterns in the Era of Large Language ModelsThe Role of Patterns in the Era of Large Language Models
The Role of Patterns in the Era of Large Language Models
Yunyao Li91 views
Optimizing Communication to Optimize Human Behavior - LCBM by Yaman Kumar
Optimizing Communication to Optimize Human Behavior - LCBMOptimizing Communication to Optimize Human Behavior - LCBM
Optimizing Communication to Optimize Human Behavior - LCBM
Yaman Kumar38 views
Why and How CloudStack at weSystems - Stephan Bienek - weSystems by ShapeBlue
Why and How CloudStack at weSystems - Stephan Bienek - weSystemsWhy and How CloudStack at weSystems - Stephan Bienek - weSystems
Why and How CloudStack at weSystems - Stephan Bienek - weSystems
ShapeBlue247 views
2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlue by ShapeBlue
2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlue2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlue
2FA and OAuth2 in CloudStack - Andrija Panić - ShapeBlue
ShapeBlue152 views
Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit... by ShapeBlue
Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit...Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit...
Transitioning from VMware vCloud to Apache CloudStack: A Path to Profitabilit...
ShapeBlue162 views
Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P... by ShapeBlue
Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P...Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P...
Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P...
ShapeBlue196 views
Redefining the book supply chain: A glimpse into the future - Tech Forum 2023 by BookNet Canada
Redefining the book supply chain: A glimpse into the future - Tech Forum 2023Redefining the book supply chain: A glimpse into the future - Tech Forum 2023
Redefining the book supply chain: A glimpse into the future - Tech Forum 2023
BookNet Canada44 views
"Node.js Development in 2024: trends and tools", Nikita Galkin by Fwdays
"Node.js Development in 2024: trends and tools", Nikita Galkin "Node.js Development in 2024: trends and tools", Nikita Galkin
"Node.js Development in 2024: trends and tools", Nikita Galkin
Fwdays33 views
Import Export Virtual Machine for KVM Hypervisor - Ayush Pandey - University ... by ShapeBlue
Import Export Virtual Machine for KVM Hypervisor - Ayush Pandey - University ...Import Export Virtual Machine for KVM Hypervisor - Ayush Pandey - University ...
Import Export Virtual Machine for KVM Hypervisor - Ayush Pandey - University ...
ShapeBlue120 views
CloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlue by ShapeBlue
CloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlueCloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlue
CloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlue
ShapeBlue139 views
The Power of Heat Decarbonisation Plans in the Built Environment by IES VE
The Power of Heat Decarbonisation Plans in the Built EnvironmentThe Power of Heat Decarbonisation Plans in the Built Environment
The Power of Heat Decarbonisation Plans in the Built Environment
IES VE84 views
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ... by ShapeBlue
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...
How to Re-use Old Hardware with CloudStack. Saving Money and the Environment ...
ShapeBlue171 views
"Surviving highload with Node.js", Andrii Shumada by Fwdays
"Surviving highload with Node.js", Andrii Shumada "Surviving highload with Node.js", Andrii Shumada
"Surviving highload with Node.js", Andrii Shumada
Fwdays58 views
Elevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlue by ShapeBlue
Elevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlueElevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlue
Elevating Privacy and Security in CloudStack - Boris Stoyanov - ShapeBlue
ShapeBlue224 views

From Cloud to Fog: the Tao of IT Infrastructure Decentralization

  • 1. From Cloud to Fog: The Tao of IT Infrastructure Decentralization Guillaume Pierre Keynote at the IEEE CloudNet Conference, Nov 4th 2019 The Tao of IT Infrastructure Decentralization 1 / 31
  • 2. End users want interactivity IoT devices produce huge volumes of data The Tao of IT Infrastructure Decentralization 2 / 31
  • 3. The Tao of IT Infrastructure Decentralization 3 / 31
  • 4. The Tao of IT Infrastructure Decentralization 3 / 31
  • 5. Latency Bandwidth Cost The Tao of IT Infrastructure Decentralization 3 / 31
  • 6. Fog Computing The Tao of IT Infrastructure Decentralization 4 / 31
  • 7. Fog Computing The Tao of IT Infrastructure Decentralization 4 / 31
  • 8. Fog Computing The Tao of IT Infrastructure Decentralization 4 / 31
  • 9. Fog Computing The Tao of IT Infrastructure Decentralization 4 / 31
  • 10. Fog Computing The Tao of IT Infrastructure Decentralization 4 / 31
  • 11. Fog = Cloud: the dierence is the network Typical Cloud platform Few data centers High-performance networks Cloud resource location is (mostly) irrelevant Resources close to each other, far from the users Typical Fog platform Lots of points-of-presence Heterogeneous networks Fog resource location is extremely important Resources close to the users, far from each other The Tao of IT Infrastructure Decentralization 5 / 31
  • 12. Experimentation platform ⇒ the fridge The Tao of IT Infrastructure Decentralization 6 / 31
  • 13. The Tao of IT Infrastructure Decentralization The Tao of IT Infrastructure Decentralization 7 / 31
  • 14. The Tao of IT Infrastructure Decentralization The Tao of IT Infrastructure Decentralization 7 / 31
  • 15. The Tao of IT Infrastructure Decentralization The Tao of IT Infrastructure Decentralization 7 / 31
  • 16. Kubernetes is a great platform... Container-based ⇒ lightweight, can run on a Raspberry Pi Pods and services ⇒ easy to deploy and (re-)scale applications Integrated autoscaling ⇒ ready for uctuating workloads Designed around feedback control loops ⇒ simple and robust Large community of users and developers ⇒ we can nd help whenever necessary The Tao of IT Infrastructure Decentralization 8 / 31
  • 17. ... but it is not ready for the fog The Tao of IT Infrastructure Decentralization 9 / 31
  • 18. ... but it is not ready for the fog The Tao of IT Infrastructure Decentralization 9 / 31
  • 19. ... but it is not ready for the fog The Tao of IT Infrastructure Decentralization 9 / 31
  • 20. ... but it is not ready for the fog The Tao of IT Infrastructure Decentralization 9 / 31
  • 21. ... but it is not ready for the fog The Tao of IT Infrastructure Decentralization 9 / 31
  • 22. How Kubernetes routes end user requests The Tao of IT Infrastructure Decentralization 10 / 31
  • 23. How Kubernetes routes end user requests The Tao of IT Infrastructure Decentralization 11 / 31
  • 24. Kubernetes load-balances trac across pods Let's issue lots of requests on node #7 (which contains a pod) Other pods are available: At node #6: 2ms At nodes #4 and #5: 4ms At nodes #2 and #3: 6ms The Tao of IT Infrastructure Decentralization 12 / 31
  • 25. If we make request routing location-aware Proximity-Aware Trac Routing in Distributed Fog Computing Platforms. Ali Fahs and Guillaume Pierre. In Proceedings of the IEEE/ACM CCGrid Conference, May 2019. The Tao of IT Infrastructure Decentralization 13 / 31
  • 26. Great. But. . . We still need to place pods close to the end users The Tao of IT Infrastructure Decentralization 14 / 31
  • 27. The Tao of IT Infrastructure Decentralization 15 / 31
  • 28. Pod placement is an NP-hard problem Place r replicas among n fog nodes to minimize user-pod distance ⇒ r n = n! r!(n−r)! possible combinations to explore When n = 10 and m = 100 this makes 17,310,309,456,440 combinations Heuristic: Let's nd any reasonably good pod placement Reasonably good == at least F% of user requests served within X ms (e.g., F = 99.9% and X = 5 ms) We can explore the space of placements (more or less) randomly until: we nd a reasonably good placement or a timer expires The Tao of IT Infrastructure Decentralization 16 / 31
  • 29. Scheduling pods Create Pods Schedule Pods Deploy Pods Request a Deployment Deployement Controller Pod objects Created Kubernetes Scheduler Pods Assigned Running Pods Kubelet S4 S1 S2 S3 S4 S5 S6 S7 S8 S1 S3 S4 S8 S4 S8 S1 S3 Score: 8 Score: 7 Score: 4 Score: 3 All Schedules Feasible Schedules Ranked Schedules Final  Solution Filter Score Rank Assign The Tao of IT Infrastructure Decentralization 17 / 31
  • 30. Pod placement performance q q q q q q q q q q q q q q q q n=50 n=100 n=200 n=300 93 95 97 99 98.3 98.8 99.3 99.8 99.61 99.71 99.81 99.91 99.84 99.87 99.90 99.93 K R H1 H2 µP% Algorithm (a) Proximity as function of dierent algorithms q q q q q q q q q q q q q q q q n=50 n=100 n=200 n=300 5 7 9 11 3.4 4.0 4.6 5.2 1.7 2.0 2.3 2.6 1.3 1.5 1.7 K R H1 H2 µI% Algorithm (b) Fairness as function of dierent algorithms The Tao of IT Infrastructure Decentralization 18 / 31
  • 31. The Tao of IT Infrastructure Decentralization 19 / 31
  • 32. Stream data processing The Tao of IT Infrastructure Decentralization 20 / 31
  • 33. Stream data processing The Tao of IT Infrastructure Decentralization 20 / 31
  • 34. The Tao of IT Infrastructure Decentralization 21 / 31
  • 35. The Tao of IT Infrastructure Decentralization 21 / 31
  • 36. With a bandwidth-optimized pre-combined operator The Tao of IT Infrastructure Decentralization 22 / 31
  • 37. The Tao of IT Infrastructure Decentralization 23 / 31
  • 38. So Si Op1 Op2 Op3 (a) Logical graph of operators. SiOp3 Op2 So So Op1 Op1 Op1 (b) Replicated data source and operator. (c) Geo-distributed operator replicas in a Fog computing environment. Can we model the performance of stream processing in the fog? The Tao of IT Infrastructure Decentralization 24 / 31
  • 39. Performance model for a single operator We can model an operator's throughput with just 3 parameters: Πn = α nβ + γ × NDmax α captures the operator's computational complexity β captures the parallelism overhead of Apache Flink γ captures the impact of network latency With this model we can predict the throughput with error ≈ 2% 0 10000 20000 30000 40000 50000 60000 70000 80000 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 Measured Points ProcessingTime(ms) Number of Replicas Basic Measurments 3 Measurments Prediction Simple operators: replicated and distributed KeyBy operator Model calibration Model composition The Tao of IT Infrastructure Decentralization 25 / 31
  • 40. The Tao of IT Infrastructure Decentralization 26 / 31
  • 41. The FogGuru project www.fogguru.eu Training the Next Generation of European Fog Computing Experts H2020 European Industrial Doctorate Maria Skªodowska-Curie project Eight talented PhD students conducting research on fog computing Real-world experimentation in Valencia (Spain), starting. . . today The Tao of IT Infrastructure Decentralization 27 / 31
  • 42. Real-world experimentation Technical goals: Detect water leaks Optimize water distribution Inform citizens about their consumption . . . ? Societal goals: Validate research in real-life settings Develop fog application blueprints Meet real customers and citizens Benet the city of Valencia, its citizens and its companies Disseminate the project's results The Tao of IT Infrastructure Decentralization 28 / 31
  • 43. The Tao of IT Infrastructure Decentralization 29 / 31
  • 44. When a Cloud surrounds you it becomes Fog. This is only the beginning of the journey. . . www.fogguru.eu The Tao of IT Infrastructure Decentralization 30 / 31
  • 45. Credits The Myriads team at IRISA: The FogGuru project: The Tao of IT Infrastructure Decentralization 31 / 31