How to best deploy your Fog applications, probably
Antonio Brogi
Stefano Forti Ahmad Ibrahim
1st International Conference on Fog and Edge Computing 2017 14th May 2017 name.surname@di.unipi.it
How to best deploy your Fog applications, probably Stefano Forti - - PowerPoint PPT Presentation
How to best deploy your Fog applications, probably Stefano Forti Ahmad Ibrahim Antonio Brogi 1 st International Conference on Fog and Edge Computing 2017 14 th May 2017 name.surname@di.unipi.it IoT and Cloud Computing 50 billion of connected
Antonio Brogi
Stefano Forti Ahmad Ibrahim
1st International Conference on Fog and Edge Computing 2017 14th May 2017 name.surname@di.unipi.it
IoT and Cloud Computing
2
50 billion of connected devices by 2020
Fog Features
3
QoS-awareness
Location-awareness
Context-awareness
Open Problems
4
where to deploy each component of an application by exploiting QoS-, location-, and context-awareness?
assurance of a candidate deployment?
Motivating example
5
DataStorage Dashboard ThingsController video water moisture fire VDSL 3G Sat.
Concretely...
6
HOW MANY AND HOW
POWERFUL FOG NODES DO I NEED TO ADEQUATELY DEPLOY MY APPLICATION?
SHOULD I DEPLOY THIS
COMPONENT ONTO THE CLOUD, ONTO A FOG-AS-A-SERVICE OPENED IN MY CITY OR ON MY PREMISES GATEWAY?
IS THERE ANY COMPONENT I’D
BETTER DEPLOY ON A DIFFERENT NODE AFTER THIS LINK/NODE FAILURE?
Concretely…
7
DO I HAVE TO UPGRADE
MY INFRASTRUCTURE IF THE APPLICATION REQUIREMENTS CHANGE?
IS IT POSSIBLE TO
REDUCE RESOURCE CONSUMPTION OF SOME
FOG NODES, OR AVOID
THEM?
WHICH ARE THE ELIGIBLE
DEPLOYMENTS THAT COMPLY MOST WITH THE REQUIRED QOS?
Our Solution
8
Modelling of IoT apps and Fog infrastructures Algorithms to determine eligible deployments Evaluation of
via Monte Carlo
Our Prototype
9
https://github.com/di-unipi-socc/FogTorchPI
QoS Profiles
ℓ, 𝑐↓, 𝑐↑
link or requested by a software interaction.
10
AVERAGE LATENCY AVERAGE DOWNLOAD & UPLOAD BANDWIDTH
Application
11
160 𝑛𝑡, 0.5 𝑁𝑐𝑞𝑡, 0.7 𝑁𝑐𝑞𝑡 SD video
Infrastructure
12
98% ⟨70 𝑛𝑡, 6 𝑁𝑐𝑞𝑡, 0,75 𝑁𝑐𝑞𝑡⟩ 2% 70 𝑛𝑡, 0𝑁𝑐𝑞𝑡, 0 𝑁𝑐𝑞𝑡 Satellite 7M
Compatibility
Cloud node when its software and hardware* can support at least that component.
13
* Hardware only for Fog nodes.
✓ ✓ ✓ X
Things Binding
14
ThingsController video water moisture fire
Deployment Policy
...may enforce legal, commercial or political constraints for deploying an application.
for installing each component.
15
Eligible Deployments
a Fog infrastructure ensures
16
Compatibility and deployment policies Hardware resources Things binding Bandwidth and latency
NP-hard Problem*
17 [Garey, Michael R., and David S. Johnson. Computers and Intractability (1979)]
* By reduction from Subgraph Isomorphism.Backtracking strategy to explore the search space.
Bird’s eye view
18
https://github.com/di-unipi-socc/FogTorchPI
Monte Carlo Simulator
Repeat a sufficiently large number of times:
Compute QoS-assurance of generated deployments.
19
FogTorchΠ Results
20
WHICH ARE THE ELIGIBLE
DEPLOYMENTS THAT COMPLY MOST WITH THE REQUIRED QOS?
FogTorchΠ Results (1)
21
IS IT POSSIBLE TO
REDUCE RESOURCE CONSUMPTION OF SOME
FOG NODES, OR AVOID
THEM?
E.g., avoid using fog_3 for deployment.
FogTorchΠ Results (1)
22
IS IT POSSIBLE TO
REDUCE RESOURCE CONSUMPTION OF SOME
FOG NODES, OR AVOID
THEM?
E.g., avoid using fog_3 for deployment. ✓
FogTorchΠ Results (2)
23
DO I HAVE TO UPGRADE
MY INFRASTRUCTURE IF THE APPLICATION REQUIREMENTS CHANGE?
E.g., deploying HD video streaming without upgrade, leads to same QoS-assurance.
FogTorchΠ Results (2)
24
DO I HAVE TO UPGRADE
MY INFRASTRUCTURE IF THE APPLICATION REQUIREMENTS CHANGE?
Deploying HD video streaming without upgrade, leads to worse QoS-assurance.
Results FogTorchΠ (3)
25
Results FogTorchΠ (3)
26
Conclusions
27
Determine, simulate and compare eligible deployments QoS- and context- awareness of deployments Evaluation of QoS variations impact based on links data
Future Work
28
Design a cost model to improve search & evaluation Include multiple and multi-tenant deployments Assessment over case studies
Q&A
Roles and Stakeholders