SlideShare a Scribd company logo
1 of 24
Download to read offline
Low-latency distributed
computation offloading for
pervasive environments
Claudio Cicconetti

Marco Conti

Andrea Passarella
C. Cicconetti, M. Conti, A. Passarella - Presenter: @ccicconetti
Low-latency distributed computation offloading for pervasive environments - PerCom 2019
Edge computing in
pervasive environments
- latency
- traffic
Problem is:
things change
(quite fast if high mobility/density)
C. Cicconetti, M. Conti, A. Passarella - Presenter: @ccicconetti
Low-latency distributed computation offloading for pervasive environments - PerCom 2019
Example#1
• Client attaches to another point of access

• The application server remains the same
C. Cicconetti, M. Conti, A. Passarella - Presenter: @ccicconetti
Low-latency distributed computation offloading for pervasive environments - PerCom 2019
Example#2
• Client attaches to another point of access

• The application is migrated to follow the user
C. Cicconetti, M. Conti, A. Passarella - Presenter: @ccicconetti
Low-latency distributed computation offloading for pervasive environments - PerCom 2019
Example#3
• The client’s point of attachment becomes a hot spot

• The application is migrated to balance load
Serverless computing
Can it be the answer?
C. Cicconetti, M. Conti, A. Passarella - Presenter: @ccicconetti
Low-latency distributed computation offloading for pervasive environments - PerCom 2019
Serverless computing
C. Cicconetti, M. Conti, A. Passarella - Presenter: @ccicconetti
Low-latency distributed computation offloading for pervasive environments - PerCom 2019
Serverless computing
C. Cicconetti, M. Conti, A. Passarella - Presenter: @ccicconetti
Low-latency distributed computation offloading for pervasive environments - PerCom 2019
Serverless edge computing
• No overhead due to state migration (there is no state)
C. Cicconetti, M. Conti, A. Passarella - Presenter: @ccicconetti
Low-latency distributed computation offloading for pervasive environments - PerCom 2019
What do we need for that?
• Discovery protocol

• Open / standard interfaces

• SDK for applications

• DevOps tools

• Security mechanisms

• Engagement of relevant stakeholders

• Patience, money, luck, …

• Distributed algorithm to dispatch tasks (= execution requests of serverless
functions)
C. Cicconetti, M. Conti, A. Passarella - Presenter: @ccicconetti
Low-latency distributed computation offloading for pervasive environments - PerCom 2019
What do we need for that?
• Discovery protocol

• Open / standard interfaces

• SDK for applications

• DevOps tools

• Security mechanisms

• Engagement of relevant stakeholders

• Patience, money, luck, …

• Distributed algorithm to dispatch tasks (= execution requests of serverless
functions)
Next time…
Focus of this work
C. Cicconetti, M. Conti, A. Passarella - Presenter: @ccicconetti
Low-latency distributed computation offloading for pervasive environments - PerCom 2019
Distributed dispatcher
• Ideal objective function:
Shortest
Remaining
Processing
Time
C. Cicconetti, M. Conti, A. Passarella - Presenter: @ccicconetti
Low-latency distributed computation offloading for pervasive environments - PerCom 2019
Distributed dispatcher
• In practice:
The dispatcher can’t
control these
Should be as
short as possible
Depends on choice
made by dispatcher
¯k = arg min
k
{ˆ⌧jk + ˆpjk}
<latexit sha1_base64="(null)">(null)</latexit><latexit sha1_base64="(null)">(null)</latexit><latexit sha1_base64="(null)">(null)</latexit><latexit sha1_base64="(null)">(null)</latexit>
Communication delay towards k-th executor
Processing time if job is done by k-th executor
C. Cicconetti, M. Conti, A. Passarella - Presenter: @ccicconetti
Low-latency distributed computation offloading for pervasive environments - PerCom 2019
Distributed dispatcher
Communication delay

• Every dispatcher

• For every destination k

• Keeps W samples <request size, delay measured>
Request size
Delay
p
p
Dispatcher Computer
T
delay = T - p
C. Cicconetti, M. Conti, A. Passarella - Presenter: @ccicconetti
Low-latency distributed computation offloading for pervasive environments - PerCom 2019
Distributed dispatcher
Processing time

• Every dispatcher

• For every destination k

• For every function type

• For every request size S

• Keeps W samples <load, processing time>
Load
Proc.time
load
Dispatcher Computer
Load
Proc.time
Request size S1
Request size Sn
C. Cicconetti, M. Conti, A. Passarella - Presenter: @ccicconetti
Low-latency distributed computation offloading for pervasive environments - PerCom 2019
Putting it all together
• Computers report: i) recent load, and ii) processing time

• Dispatchers collect measures, used to estimate
communication delay and processing time of future
function execution requests
Pros:
- simple
- efficient
- fully distributed
Cons:
- assumes linear world
- relies on probing
Does it work?
(rhetorical question: of course, it does)
C. Cicconetti, M. Conti, A. Passarella - Presenter: @ccicconetti
Low-latency distributed computation offloading for pervasive environments - PerCom 2019
Performance evaluation
• Dispatcher C++ implementation

• User applications execute functions via gRPC
• Traffic pattern emulates augmented reality application

• Network emulation using mininet

• Two computer types:

1. Emulated computer 

2. Face & eyes detection (using OpenCV)
PU#1PU#11 2
3
waiting scheduled memory
1
2
3
PU#1PU#24 5
4
5
container
Not shown in the presentation
C. Cicconetti, M. Conti, A. Passarella - Presenter: @ccicconetti
Low-latency distributed computation offloading for pervasive environments - PerCom 2019
Scenario
C. Cicconetti, M. Conti, A. Passarella - Presenter: @ccicconetti
Low-latency distributed computation offloading for pervasive environments - PerCom 2019
Scenario
C. Cicconetti, M. Conti, A. Passarella - Presenter: @ccicconetti
Low-latency distributed computation offloading for pervasive environments - PerCom 2019
Delay
0
20
40
60
80
100
0 0.2 0.4 0.6 0.8 1
95thpercentileofdelay(ms)
Fraction of users
Pure serverless
Distributed (proposed)
Distributed (oracle)
Pure edge
75 ms
C. Cicconetti, M. Conti, A. Passarella - Presenter: @ccicconetti
Low-latency distributed computation offloading for pervasive environments - PerCom 2019
Throughput
1
10
100
1000
10000
0 5 10 15 20 25 30 35 40 45
Networkthroughput(Mb/s)
Drop#
Pure serverless
Distributed (proposed)
Distributed (oracle)
Pure edge
C. Cicconetti, M. Conti, A. Passarella - Presenter: @ccicconetti
Low-latency distributed computation offloading for pervasive environments - PerCom 2019
Takeaways
• Edge computing is an opportunity for pervasive systems
• Suitable for low latency, real-time applications

• Serverless model looks promising
• High scalability, low migration overhead

• Done
• Architecture for serverless edge computing

• Algorithm, with proof-of-concept implementation, to dispatch efficiently function execution
requests without a priori knowledge on application or environment (though under some
assumptions)

• To be done
• Adoption of standard protocols, e.g., ETSI MEC

• Integration with existing frameworks, e.g., Apache OpenWhisk

• … much more

More Related Content

What's hot

Edge Computing Platforms and Protocols - Ph.D. thesis
Edge Computing Platforms and Protocols - Ph.D. thesisEdge Computing Platforms and Protocols - Ph.D. thesis
Edge Computing Platforms and Protocols - Ph.D. thesisNitinder Mohan
 
“The Five Rights of an Edge AI Computer Vision System: Right Data, Right Time...
“The Five Rights of an Edge AI Computer Vision System: Right Data, Right Time...“The Five Rights of an Edge AI Computer Vision System: Right Data, Right Time...
“The Five Rights of an Edge AI Computer Vision System: Right Data, Right Time...Edge AI and Vision Alliance
 
Introduction to Edge Computing using Google IoT
Introduction to Edge Computing using Google IoTIntroduction to Edge Computing using Google IoT
Introduction to Edge Computing using Google IoTVolodymyr Rudyi
 
Edge Computing for the Industry
Edge Computing for the IndustryEdge Computing for the Industry
Edge Computing for the IndustryWilliam Liang
 
Edge Computing and 5G - SDN/NFV London meetup
Edge Computing and 5G - SDN/NFV London meetupEdge Computing and 5G - SDN/NFV London meetup
Edge Computing and 5G - SDN/NFV London meetupHaidee McMahon
 
Edge Computing Architecture using GPUs and Kubernetes
Edge Computing Architecture using GPUs and KubernetesEdge Computing Architecture using GPUs and Kubernetes
Edge Computing Architecture using GPUs and KubernetesVirtualTech Japan Inc.
 
Internship report on AI , ML & IIOT and project responses
Internship report on AI , ML & IIOT and project responsesInternship report on AI , ML & IIOT and project responses
Internship report on AI , ML & IIOT and project responsesRakesh Arigela
 
EclipseConEU 2019 - Your cloud-based modeling workbench in 15 minutes with Ec...
EclipseConEU 2019 - Your cloud-based modeling workbench in 15 minutes with Ec...EclipseConEU 2019 - Your cloud-based modeling workbench in 15 minutes with Ec...
EclipseConEU 2019 - Your cloud-based modeling workbench in 15 minutes with Ec...melbats
 
Challenges on wireless Heterogeneous Networks for Mobile Cloud Computing in a...
Challenges on wireless Heterogeneous Networks for Mobile Cloud Computing in a...Challenges on wireless Heterogeneous Networks for Mobile Cloud Computing in a...
Challenges on wireless Heterogeneous Networks for Mobile Cloud Computing in a...Daniela Mazza
 
OpenStack for EDGE computing
OpenStack for EDGE computingOpenStack for EDGE computing
OpenStack for EDGE computingHazzim Anaya
 
Capella Days 2021 | Enhancing CubeSat design through ARCADIA and Capella: a c...
Capella Days 2021 | Enhancing CubeSat design through ARCADIA and Capella: a c...Capella Days 2021 | Enhancing CubeSat design through ARCADIA and Capella: a c...
Capella Days 2021 | Enhancing CubeSat design through ARCADIA and Capella: a c...Obeo
 
Capella Days 2021 | An example of model-centric engineering environment with ...
Capella Days 2021 | An example of model-centric engineering environment with ...Capella Days 2021 | An example of model-centric engineering environment with ...
Capella Days 2021 | An example of model-centric engineering environment with ...Obeo
 
#SiriusCon 2015: Talk by Christophe Boudjennah "Experimenting the Open Source...
#SiriusCon 2015: Talk by Christophe Boudjennah "Experimenting the Open Source...#SiriusCon 2015: Talk by Christophe Boudjennah "Experimenting the Open Source...
#SiriusCon 2015: Talk by Christophe Boudjennah "Experimenting the Open Source...Obeo
 
“Improving Nursing Care with Privacy-Sensitive Edge Computer Vision,” a Prese...
“Improving Nursing Care with Privacy-Sensitive Edge Computer Vision,” a Prese...“Improving Nursing Care with Privacy-Sensitive Edge Computer Vision,” a Prese...
“Improving Nursing Care with Privacy-Sensitive Edge Computer Vision,” a Prese...Edge AI and Vision Alliance
 

What's hot (20)

Edge Computing Platforms and Protocols - Ph.D. thesis
Edge Computing Platforms and Protocols - Ph.D. thesisEdge Computing Platforms and Protocols - Ph.D. thesis
Edge Computing Platforms and Protocols - Ph.D. thesis
 
“The Five Rights of an Edge AI Computer Vision System: Right Data, Right Time...
“The Five Rights of an Edge AI Computer Vision System: Right Data, Right Time...“The Five Rights of an Edge AI Computer Vision System: Right Data, Right Time...
“The Five Rights of an Edge AI Computer Vision System: Right Data, Right Time...
 
Edge Computing
Edge ComputingEdge Computing
Edge Computing
 
Introduction to Edge Computing using Google IoT
Introduction to Edge Computing using Google IoTIntroduction to Edge Computing using Google IoT
Introduction to Edge Computing using Google IoT
 
Edge Computing for the Industry
Edge Computing for the IndustryEdge Computing for the Industry
Edge Computing for the Industry
 
Edge Computing and 5G - SDN/NFV London meetup
Edge Computing and 5G - SDN/NFV London meetupEdge Computing and 5G - SDN/NFV London meetup
Edge Computing and 5G - SDN/NFV London meetup
 
Edge Computing Architecture using GPUs and Kubernetes
Edge Computing Architecture using GPUs and KubernetesEdge Computing Architecture using GPUs and Kubernetes
Edge Computing Architecture using GPUs and Kubernetes
 
Edge computing
Edge computingEdge computing
Edge computing
 
Cisco SMARTnet
Cisco SMARTnetCisco SMARTnet
Cisco SMARTnet
 
Internship report on AI , ML & IIOT and project responses
Internship report on AI , ML & IIOT and project responsesInternship report on AI , ML & IIOT and project responses
Internship report on AI , ML & IIOT and project responses
 
EclipseConEU 2019 - Your cloud-based modeling workbench in 15 minutes with Ec...
EclipseConEU 2019 - Your cloud-based modeling workbench in 15 minutes with Ec...EclipseConEU 2019 - Your cloud-based modeling workbench in 15 minutes with Ec...
EclipseConEU 2019 - Your cloud-based modeling workbench in 15 minutes with Ec...
 
Challenges on wireless Heterogeneous Networks for Mobile Cloud Computing in a...
Challenges on wireless Heterogeneous Networks for Mobile Cloud Computing in a...Challenges on wireless Heterogeneous Networks for Mobile Cloud Computing in a...
Challenges on wireless Heterogeneous Networks for Mobile Cloud Computing in a...
 
Fog computing
Fog computingFog computing
Fog computing
 
RPL IoT Research Projects Assistance
RPL IoT Research Projects AssistanceRPL IoT Research Projects Assistance
RPL IoT Research Projects Assistance
 
OpenStack for EDGE computing
OpenStack for EDGE computingOpenStack for EDGE computing
OpenStack for EDGE computing
 
Capella Days 2021 | Enhancing CubeSat design through ARCADIA and Capella: a c...
Capella Days 2021 | Enhancing CubeSat design through ARCADIA and Capella: a c...Capella Days 2021 | Enhancing CubeSat design through ARCADIA and Capella: a c...
Capella Days 2021 | Enhancing CubeSat design through ARCADIA and Capella: a c...
 
Capella Days 2021 | An example of model-centric engineering environment with ...
Capella Days 2021 | An example of model-centric engineering environment with ...Capella Days 2021 | An example of model-centric engineering environment with ...
Capella Days 2021 | An example of model-centric engineering environment with ...
 
Slides_Goeringer Steve
Slides_Goeringer SteveSlides_Goeringer Steve
Slides_Goeringer Steve
 
#SiriusCon 2015: Talk by Christophe Boudjennah "Experimenting the Open Source...
#SiriusCon 2015: Talk by Christophe Boudjennah "Experimenting the Open Source...#SiriusCon 2015: Talk by Christophe Boudjennah "Experimenting the Open Source...
#SiriusCon 2015: Talk by Christophe Boudjennah "Experimenting the Open Source...
 
“Improving Nursing Care with Privacy-Sensitive Edge Computer Vision,” a Prese...
“Improving Nursing Care with Privacy-Sensitive Edge Computer Vision,” a Prese...“Improving Nursing Care with Privacy-Sensitive Edge Computer Vision,” a Prese...
“Improving Nursing Care with Privacy-Sensitive Edge Computer Vision,” a Prese...
 

Similar to Low-latency distributed computation offloading for pervasive environments

Checkpointing the Un-checkpointable: MANA and the Split-Process Approach
Checkpointing the Un-checkpointable: MANA and the Split-Process ApproachCheckpointing the Un-checkpointable: MANA and the Split-Process Approach
Checkpointing the Un-checkpointable: MANA and the Split-Process Approachinside-BigData.com
 
StreamSight - Query-Driven Descriptive Analytics for IoT and Edge Computing
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
 
Air Canvas: Draw in Air
Air Canvas: Draw in AirAir Canvas: Draw in Air
Air Canvas: Draw in AirIRJET Journal
 
Computer aided process planning
Computer aided process planningComputer aided process planning
Computer aided process planningjashid41
 
Enacting Emergent Configurations in the IoT through Domain Objects
Enacting Emergent Configurations in the IoT  through Domain ObjectsEnacting Emergent Configurations in the IoT  through Domain Objects
Enacting Emergent Configurations in the IoT through Domain Objectsantbucc
 
Triac based home automation with userfriendly interface.pptx
Triac based home automation with userfriendly interface.pptxTriac based home automation with userfriendly interface.pptx
Triac based home automation with userfriendly interface.pptxD24PS
 
UberCloud HPC Experiment Introduction for Beginners
UberCloud HPC Experiment Introduction for BeginnersUberCloud HPC Experiment Introduction for Beginners
UberCloud HPC Experiment Introduction for Beginnershpcexperiment
 
Towards Runtime Verification via Event Stream Processing in Cloud Computing I...
Towards Runtime Verification via Event Stream Processing in Cloud Computing I...Towards Runtime Verification via Event Stream Processing in Cloud Computing I...
Towards Runtime Verification via Event Stream Processing in Cloud Computing I...Pietro Liguori
 
Possibility of hpc application on cloud infrastructure by container cluster
Possibility of hpc application on cloud infrastructure by container clusterPossibility of hpc application on cloud infrastructure by container cluster
Possibility of hpc application on cloud infrastructure by container clusterKyunam Cho
 
Quintiq SCM CIO Seminar -20120922-1
Quintiq SCM CIO Seminar -20120922-1Quintiq SCM CIO Seminar -20120922-1
Quintiq SCM CIO Seminar -20120922-1Ralph Yin
 
Implementing Saas as Cloud controllers using Mobile Agent based technology wi...
Implementing Saas as Cloud controllers using Mobile Agent based technology wi...Implementing Saas as Cloud controllers using Mobile Agent based technology wi...
Implementing Saas as Cloud controllers using Mobile Agent based technology wi...Sunil Rajput
 
Mehr und schneller ist nicht automatisch besser - data2day, 06.10.16
Mehr und schneller ist nicht automatisch besser - data2day, 06.10.16Mehr und schneller ist nicht automatisch besser - data2day, 06.10.16
Mehr und schneller ist nicht automatisch besser - data2day, 06.10.16Boris Adryan
 
Bit Serial multiplier using Verilog
Bit Serial multiplier using VerilogBit Serial multiplier using Verilog
Bit Serial multiplier using VerilogBhargavKatkam
 
Global C4IR-1 Masterclass Adryan - Zuehlke Engineering 2017
Global C4IR-1 Masterclass Adryan - Zuehlke Engineering 2017Global C4IR-1 Masterclass Adryan - Zuehlke Engineering 2017
Global C4IR-1 Masterclass Adryan - Zuehlke Engineering 2017Justin Hayward
 
Investor teaserpresentationtundrasystems
Investor teaserpresentationtundrasystemsInvestor teaserpresentationtundrasystems
Investor teaserpresentationtundrasystemsBrian Antao
 
Mobile IoT Middleware Interoperability & QoS Analysis - Eclipse IoT Day Paris...
Mobile IoT Middleware Interoperability & QoS Analysis - Eclipse IoT Day Paris...Mobile IoT Middleware Interoperability & QoS Analysis - Eclipse IoT Day Paris...
Mobile IoT Middleware Interoperability & QoS Analysis - Eclipse IoT Day Paris...Nikolaos Georgantas
 
Running containers in production, the ING story
Running containers in production, the ING storyRunning containers in production, the ING story
Running containers in production, the ING storyThijs Ebbers
 

Similar to Low-latency distributed computation offloading for pervasive environments (20)

Checkpointing the Un-checkpointable: MANA and the Split-Process Approach
Checkpointing the Un-checkpointable: MANA and the Split-Process ApproachCheckpointing the Un-checkpointable: MANA and the Split-Process Approach
Checkpointing the Un-checkpointable: MANA and the Split-Process Approach
 
StreamSight - Query-Driven Descriptive Analytics for IoT and Edge Computing
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
 
Air Canvas: Draw in Air
Air Canvas: Draw in AirAir Canvas: Draw in Air
Air Canvas: Draw in Air
 
Measuring the Internet Economy: How Networks Create Value
Measuring the Internet Economy: How Networks Create ValueMeasuring the Internet Economy: How Networks Create Value
Measuring the Internet Economy: How Networks Create Value
 
Computer aided process planning
Computer aided process planningComputer aided process planning
Computer aided process planning
 
Enacting Emergent Configurations in the IoT through Domain Objects
Enacting Emergent Configurations in the IoT  through Domain ObjectsEnacting Emergent Configurations in the IoT  through Domain Objects
Enacting Emergent Configurations in the IoT through Domain Objects
 
Triac based home automation with userfriendly interface.pptx
Triac based home automation with userfriendly interface.pptxTriac based home automation with userfriendly interface.pptx
Triac based home automation with userfriendly interface.pptx
 
UberCloud HPC Experiment Introduction for Beginners
UberCloud HPC Experiment Introduction for BeginnersUberCloud HPC Experiment Introduction for Beginners
UberCloud HPC Experiment Introduction for Beginners
 
cPacket's cBurst
cPacket's cBurstcPacket's cBurst
cPacket's cBurst
 
Towards Runtime Verification via Event Stream Processing in Cloud Computing I...
Towards Runtime Verification via Event Stream Processing in Cloud Computing I...Towards Runtime Verification via Event Stream Processing in Cloud Computing I...
Towards Runtime Verification via Event Stream Processing in Cloud Computing I...
 
Possibility of hpc application on cloud infrastructure by container cluster
Possibility of hpc application on cloud infrastructure by container clusterPossibility of hpc application on cloud infrastructure by container cluster
Possibility of hpc application on cloud infrastructure by container cluster
 
Quintiq SCM CIO Seminar -20120922-1
Quintiq SCM CIO Seminar -20120922-1Quintiq SCM CIO Seminar -20120922-1
Quintiq SCM CIO Seminar -20120922-1
 
Implementing Saas as Cloud controllers using Mobile Agent based technology wi...
Implementing Saas as Cloud controllers using Mobile Agent based technology wi...Implementing Saas as Cloud controllers using Mobile Agent based technology wi...
Implementing Saas as Cloud controllers using Mobile Agent based technology wi...
 
Mehr und schneller ist nicht automatisch besser - data2day, 06.10.16
Mehr und schneller ist nicht automatisch besser - data2day, 06.10.16Mehr und schneller ist nicht automatisch besser - data2day, 06.10.16
Mehr und schneller ist nicht automatisch besser - data2day, 06.10.16
 
Bit Serial multiplier using Verilog
Bit Serial multiplier using VerilogBit Serial multiplier using Verilog
Bit Serial multiplier using Verilog
 
Global C4IR-1 Masterclass Adryan - Zuehlke Engineering 2017
Global C4IR-1 Masterclass Adryan - Zuehlke Engineering 2017Global C4IR-1 Masterclass Adryan - Zuehlke Engineering 2017
Global C4IR-1 Masterclass Adryan - Zuehlke Engineering 2017
 
thesis
thesisthesis
thesis
 
Investor teaserpresentationtundrasystems
Investor teaserpresentationtundrasystemsInvestor teaserpresentationtundrasystems
Investor teaserpresentationtundrasystems
 
Mobile IoT Middleware Interoperability & QoS Analysis - Eclipse IoT Day Paris...
Mobile IoT Middleware Interoperability & QoS Analysis - Eclipse IoT Day Paris...Mobile IoT Middleware Interoperability & QoS Analysis - Eclipse IoT Day Paris...
Mobile IoT Middleware Interoperability & QoS Analysis - Eclipse IoT Day Paris...
 
Running containers in production, the ING story
Running containers in production, the ING storyRunning containers in production, the ING story
Running containers in production, the ING story
 

Recently uploaded

Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作qr0udbr0
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsAhmed Mohamed
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024StefanoLambiase
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based projectAnoyGreter
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanyChristoph Pohl
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxTier1 app
 
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)jennyeacort
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Andreas Granig
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...OnePlan Solutions
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesPhilip Schwarz
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaHanief Utama
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样umasea
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Velvetech LLC
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 

Recently uploaded (20)

Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML Diagrams
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based project
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
 
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a series
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief Utama
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
 
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort ServiceHot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 

Low-latency distributed computation offloading for pervasive environments

  • 1. Low-latency distributed computation offloading for pervasive environments Claudio Cicconetti Marco Conti
 Andrea Passarella
  • 2. C. Cicconetti, M. Conti, A. Passarella - Presenter: @ccicconetti Low-latency distributed computation offloading for pervasive environments - PerCom 2019 Edge computing in pervasive environments - latency - traffic
  • 3. Problem is: things change (quite fast if high mobility/density)
  • 4. C. Cicconetti, M. Conti, A. Passarella - Presenter: @ccicconetti Low-latency distributed computation offloading for pervasive environments - PerCom 2019 Example#1 • Client attaches to another point of access • The application server remains the same
  • 5. C. Cicconetti, M. Conti, A. Passarella - Presenter: @ccicconetti Low-latency distributed computation offloading for pervasive environments - PerCom 2019 Example#2 • Client attaches to another point of access • The application is migrated to follow the user
  • 6. C. Cicconetti, M. Conti, A. Passarella - Presenter: @ccicconetti Low-latency distributed computation offloading for pervasive environments - PerCom 2019 Example#3 • The client’s point of attachment becomes a hot spot • The application is migrated to balance load
  • 8. C. Cicconetti, M. Conti, A. Passarella - Presenter: @ccicconetti Low-latency distributed computation offloading for pervasive environments - PerCom 2019 Serverless computing
  • 9. C. Cicconetti, M. Conti, A. Passarella - Presenter: @ccicconetti Low-latency distributed computation offloading for pervasive environments - PerCom 2019 Serverless computing
  • 10. C. Cicconetti, M. Conti, A. Passarella - Presenter: @ccicconetti Low-latency distributed computation offloading for pervasive environments - PerCom 2019 Serverless edge computing • No overhead due to state migration (there is no state)
  • 11. C. Cicconetti, M. Conti, A. Passarella - Presenter: @ccicconetti Low-latency distributed computation offloading for pervasive environments - PerCom 2019 What do we need for that? • Discovery protocol • Open / standard interfaces • SDK for applications • DevOps tools • Security mechanisms • Engagement of relevant stakeholders • Patience, money, luck, … • Distributed algorithm to dispatch tasks (= execution requests of serverless functions)
  • 12. C. Cicconetti, M. Conti, A. Passarella - Presenter: @ccicconetti Low-latency distributed computation offloading for pervasive environments - PerCom 2019 What do we need for that? • Discovery protocol • Open / standard interfaces • SDK for applications • DevOps tools • Security mechanisms • Engagement of relevant stakeholders • Patience, money, luck, … • Distributed algorithm to dispatch tasks (= execution requests of serverless functions) Next time… Focus of this work
  • 13. C. Cicconetti, M. Conti, A. Passarella - Presenter: @ccicconetti Low-latency distributed computation offloading for pervasive environments - PerCom 2019 Distributed dispatcher • Ideal objective function: Shortest Remaining Processing Time
  • 14. C. Cicconetti, M. Conti, A. Passarella - Presenter: @ccicconetti Low-latency distributed computation offloading for pervasive environments - PerCom 2019 Distributed dispatcher • In practice: The dispatcher can’t control these Should be as short as possible Depends on choice made by dispatcher ¯k = arg min k {ˆ⌧jk + ˆpjk} <latexit sha1_base64="(null)">(null)</latexit><latexit sha1_base64="(null)">(null)</latexit><latexit sha1_base64="(null)">(null)</latexit><latexit sha1_base64="(null)">(null)</latexit> Communication delay towards k-th executor Processing time if job is done by k-th executor
  • 15. C. Cicconetti, M. Conti, A. Passarella - Presenter: @ccicconetti Low-latency distributed computation offloading for pervasive environments - PerCom 2019 Distributed dispatcher Communication delay • Every dispatcher • For every destination k • Keeps W samples <request size, delay measured> Request size Delay p p Dispatcher Computer T delay = T - p
  • 16. C. Cicconetti, M. Conti, A. Passarella - Presenter: @ccicconetti Low-latency distributed computation offloading for pervasive environments - PerCom 2019 Distributed dispatcher Processing time • Every dispatcher • For every destination k • For every function type • For every request size S • Keeps W samples <load, processing time> Load Proc.time load Dispatcher Computer Load Proc.time Request size S1 Request size Sn
  • 17. C. Cicconetti, M. Conti, A. Passarella - Presenter: @ccicconetti Low-latency distributed computation offloading for pervasive environments - PerCom 2019 Putting it all together • Computers report: i) recent load, and ii) processing time • Dispatchers collect measures, used to estimate communication delay and processing time of future function execution requests Pros: - simple - efficient - fully distributed Cons: - assumes linear world - relies on probing
  • 18. Does it work? (rhetorical question: of course, it does)
  • 19. C. Cicconetti, M. Conti, A. Passarella - Presenter: @ccicconetti Low-latency distributed computation offloading for pervasive environments - PerCom 2019 Performance evaluation • Dispatcher C++ implementation • User applications execute functions via gRPC • Traffic pattern emulates augmented reality application • Network emulation using mininet • Two computer types: 1. Emulated computer 2. Face & eyes detection (using OpenCV) PU#1PU#11 2 3 waiting scheduled memory 1 2 3 PU#1PU#24 5 4 5 container Not shown in the presentation
  • 20. C. Cicconetti, M. Conti, A. Passarella - Presenter: @ccicconetti Low-latency distributed computation offloading for pervasive environments - PerCom 2019 Scenario
  • 21. C. Cicconetti, M. Conti, A. Passarella - Presenter: @ccicconetti Low-latency distributed computation offloading for pervasive environments - PerCom 2019 Scenario
  • 22. C. Cicconetti, M. Conti, A. Passarella - Presenter: @ccicconetti Low-latency distributed computation offloading for pervasive environments - PerCom 2019 Delay 0 20 40 60 80 100 0 0.2 0.4 0.6 0.8 1 95thpercentileofdelay(ms) Fraction of users Pure serverless Distributed (proposed) Distributed (oracle) Pure edge 75 ms
  • 23. C. Cicconetti, M. Conti, A. Passarella - Presenter: @ccicconetti Low-latency distributed computation offloading for pervasive environments - PerCom 2019 Throughput 1 10 100 1000 10000 0 5 10 15 20 25 30 35 40 45 Networkthroughput(Mb/s) Drop# Pure serverless Distributed (proposed) Distributed (oracle) Pure edge
  • 24. C. Cicconetti, M. Conti, A. Passarella - Presenter: @ccicconetti Low-latency distributed computation offloading for pervasive environments - PerCom 2019 Takeaways • Edge computing is an opportunity for pervasive systems • Suitable for low latency, real-time applications • Serverless model looks promising • High scalability, low migration overhead • Done • Architecture for serverless edge computing • Algorithm, with proof-of-concept implementation, to dispatch efficiently function execution requests without a priori knowledge on application or environment (though under some assumptions) • To be done • Adoption of standard protocols, e.g., ETSI MEC • Integration with existing frameworks, e.g., Apache OpenWhisk • … much more