message-oriented middleware for edge computing applications
TRANSCRIPT
![Page 1: Message-Oriented Middleware for Edge Computing Applications](https://reader034.vdocuments.us/reader034/viewer/2022051503/5a658b1a7f8b9a6b498b4ded/html5/thumbnails/1.jpg)
Message-Oriented Middleware
for Edge Computing Applications
Thomas Rausch
Distributed Systems GroupTU Wien
http://dsg.tuwien.ac.at
![Page 2: Message-Oriented Middleware for Edge Computing Applications](https://reader034.vdocuments.us/reader034/viewer/2022051503/5a658b1a7f8b9a6b498b4ded/html5/thumbnails/2.jpg)
2
![Page 3: Message-Oriented Middleware for Edge Computing Applications](https://reader034.vdocuments.us/reader034/viewer/2022051503/5a658b1a7f8b9a6b498b4ded/html5/thumbnails/3.jpg)
3
Amazon AWS IoT
![Page 4: Message-Oriented Middleware for Edge Computing Applications](https://reader034.vdocuments.us/reader034/viewer/2022051503/5a658b1a7f8b9a6b498b4ded/html5/thumbnails/4.jpg)
4
The Internet
Decoupled messaging
![Page 5: Message-Oriented Middleware for Edge Computing Applications](https://reader034.vdocuments.us/reader034/viewer/2022051503/5a658b1a7f8b9a6b498b4ded/html5/thumbnails/5.jpg)
5
Subscribe to topic:/robot/arm
![Page 6: Message-Oriented Middleware for Edge Computing Applications](https://reader034.vdocuments.us/reader034/viewer/2022051503/5a658b1a7f8b9a6b498b4ded/html5/thumbnails/6.jpg)
6
Publish “move x,y,z” to/robot/arm
![Page 7: Message-Oriented Middleware for Edge Computing Applications](https://reader034.vdocuments.us/reader034/viewer/2022051503/5a658b1a7f8b9a6b498b4ded/html5/thumbnails/7.jpg)
7
Topic Subscriber
/robot/arm robot-client
/robot/arm ...Subscriber:robot-client
Publisher
Subscriber:...
Topic/robot/arm
![Page 8: Message-Oriented Middleware for Edge Computing Applications](https://reader034.vdocuments.us/reader034/viewer/2022051503/5a658b1a7f8b9a6b498b4ded/html5/thumbnails/8.jpg)
8
Trust?!
Availability?!
End-to-end latency: ??ms!
![Page 9: Message-Oriented Middleware for Edge Computing Applications](https://reader034.vdocuments.us/reader034/viewer/2022051503/5a658b1a7f8b9a6b498b4ded/html5/thumbnails/9.jpg)
9
IoT Edge Cloud
Edge Computing
S. Nastic, T. Rausch, et al. 2017. A Serverless Real-Time Data Analytics Platform for Edge Computing. IEEE Internet Computing 21, 4 (2017), 64–71.
G. Lewis, et al. 2014. Tactical Cloudlets: Moving Cloud Computing to the Edge. In 2014 IEEE Military Communications Conference. IEEE, 1440–1446.
Proximity Scale
![Page 10: Message-Oriented Middleware for Edge Computing Applications](https://reader034.vdocuments.us/reader034/viewer/2022051503/5a658b1a7f8b9a6b498b4ded/html5/thumbnails/10.jpg)
10
IoT Edge Cloud
Edge Computing
S. Nastic, T. Rausch, et al. 2017. A Serverless Real-Time Data Analytics Platform for Edge Computing. IEEE Internet Computing 21, 4 (2017), 64–71.
G. Lewis, et al. 2014. Tactical Cloudlets: Moving Cloud Computing to the Edge. In 2014 IEEE Military Communications Conference. IEEE, 1440–1446.
Proximity Scale
![Page 11: Message-Oriented Middleware for Edge Computing Applications](https://reader034.vdocuments.us/reader034/viewer/2022051503/5a658b1a7f8b9a6b498b4ded/html5/thumbnails/11.jpg)
11
Data centers
Internet
Mobileedge
Extremeedge
IoT
Cloudlets
Message broker
Cloud-based MOM
Edge-enabled MOM
Edge-Enabled MOM
![Page 12: Message-Oriented Middleware for Edge Computing Applications](https://reader034.vdocuments.us/reader034/viewer/2022051503/5a658b1a7f8b9a6b498b4ded/html5/thumbnails/12.jpg)
12
Sound familiar?NCA’05
DEBS’05
MW’05
PODC’07
![Page 13: Message-Oriented Middleware for Edge Computing Applications](https://reader034.vdocuments.us/reader034/viewer/2022051503/5a658b1a7f8b9a6b498b4ded/html5/thumbnails/13.jpg)
13
What’s new?
● The Cloud– Centralized on-demand resources
● Edge resources– Decentralized, heterogeneous, and volatile resources
(Mobile devices, IoT gateways, Cloudlets)
● Internet of Things– Plethora of devices and protocol standards
● A new form of elasticity: Cloud to Edge– Osmotic Computing
M. Villari, et al. 2016. Osmotic Computing: A new Paradigm for Edge/Cloud Integration. IEEE Cloud Computing
![Page 14: Message-Oriented Middleware for Edge Computing Applications](https://reader034.vdocuments.us/reader034/viewer/2022051503/5a658b1a7f8b9a6b498b4ded/html5/thumbnails/14.jpg)
14
Data centers
Internet
Mobileedge
Extremeedge
IoT
Cloudlets
Challenges
![Page 15: Message-Oriented Middleware for Edge Computing Applications](https://reader034.vdocuments.us/reader034/viewer/2022051503/5a658b1a7f8b9a6b498b4ded/html5/thumbnails/15.jpg)
15
Data centers
Mobileedge
Extremeedge
IoT
Proximity awareness
![Page 16: Message-Oriented Middleware for Edge Computing Applications](https://reader034.vdocuments.us/reader034/viewer/2022051503/5a658b1a7f8b9a6b498b4ded/html5/thumbnails/16.jpg)
16
Data centers
Mobileedge
Extremeedge
IoT
Elasticity from the Cloud to the Edge
Runtimeprovisioningof brokers
Networkreconfiguration
![Page 17: Message-Oriented Middleware for Edge Computing Applications](https://reader034.vdocuments.us/reader034/viewer/2022051503/5a658b1a7f8b9a6b498b4ded/html5/thumbnails/17.jpg)
17
Data centers
Mobileedge
Extremeedge
IoT
Privacy& Trust
![Page 18: Message-Oriented Middleware for Edge Computing Applications](https://reader034.vdocuments.us/reader034/viewer/2022051503/5a658b1a7f8b9a6b498b4ded/html5/thumbnails/18.jpg)
18
State of the Art – Research & Prototypes
![Page 19: Message-Oriented Middleware for Edge Computing Applications](https://reader034.vdocuments.us/reader034/viewer/2022051503/5a658b1a7f8b9a6b498b4ded/html5/thumbnails/19.jpg)
19
Messaging Model
● MQTT: ISO standardized pub/sub protocol– TCP/IP– Small code footprint, low-bandwidth design– Has become a common platform for IoT [1]
● Simple protocol– CONNACK– SUBSCRIBE(t), SUBACK(t)– PUBLISH(t,msg)– ...
[1] A. Al-Fuqaha, et al. 2015. Internet of Things: A Survey on Enabling Technologies, Protocols, and ApplicationsIEEE Commun. Surv. Tutorials, vol. 17, no. 4, pp. 2347–2376, 2015.
![Page 20: Message-Oriented Middleware for Edge Computing Applications](https://reader034.vdocuments.us/reader034/viewer/2022051503/5a658b1a7f8b9a6b498b4ded/html5/thumbnails/20.jpg)
20
Messaging Model
● Message delivery guarantees (MQTT “QoS”)– (0) At most once– (1) At least once– (2) Exactly once
● Maintaining guarantees despite distribution
![Page 21: Message-Oriented Middleware for Edge Computing Applications](https://reader034.vdocuments.us/reader034/viewer/2022051503/5a658b1a7f8b9a6b498b4ded/html5/thumbnails/21.jpg)
21
State of the Art – The Real World
● Static topic bridging for proximity-based messaging(Mosquitto & HiveMQ)
Local Broker Central BrokerShared Topic
Internal Topics
Staticconfig
Staticconfig
Edge Cloud
Steve. 2017. Mosquitto MQTT Bridge-Usage and Configuration http://www.steves-internet-guide.com/mosquitto-bridge-configuration/
![Page 22: Message-Oriented Middleware for Edge Computing Applications](https://reader034.vdocuments.us/reader034/viewer/2022051503/5a658b1a7f8b9a6b498b4ded/html5/thumbnails/22.jpg)
22
State of the Art – The Real World
ScalAgent. JoramMQ, a distributed MQTT broker for the Internet of Things . White paper. 2014.
![Page 23: Message-Oriented Middleware for Edge Computing Applications](https://reader034.vdocuments.us/reader034/viewer/2022051503/5a658b1a7f8b9a6b498b4ded/html5/thumbnails/23.jpg)
23
The EMMA Project
ClientGW
c
GW
c
Broker
Broker
Device
Mon
itorin
g pr
otoc
ol
Controller
Bridging Tables
Gateway
Bridging Table
Reconfigura- tion Engine
REST Endpoints
Network monitor
Buffer out
Buffer in
MQTT Server
https://git.dsg.tuwien.ac.at/emma
Architecture Bridging & Reconfiguration
T. Rausch, S. Nastic, S. Dustdar. 2018. EMMA: Distributed QoS-Aware MQTT Middleware for Edge Computing Applications . IC2E’18.
![Page 24: Message-Oriented Middleware for Edge Computing Applications](https://reader034.vdocuments.us/reader034/viewer/2022051503/5a658b1a7f8b9a6b498b4ded/html5/thumbnails/24.jpg)
24
Prototype Evaluation
us-east eu-west
eu-central
BrokerGateway BrokerGateway
Controller
... ...
Gateway
Broker
98 ms 27 ms
85 ms
![Page 25: Message-Oriented Middleware for Edge Computing Applications](https://reader034.vdocuments.us/reader034/viewer/2022051503/5a658b1a7f8b9a6b498b4ded/html5/thumbnails/25.jpg)
25
Goals for short/mid-term future
● Elicit algorithmic challenges and novelties● Message delivery guarantees (MQTT QoS)● Elastic diffusion of brokers to the Edge
– Control heterogeneity of Edge resources– Efficient monitoring and network reconfiguration
Cloud
![Page 26: Message-Oriented Middleware for Edge Computing Applications](https://reader034.vdocuments.us/reader034/viewer/2022051503/5a658b1a7f8b9a6b498b4ded/html5/thumbnails/26.jpg)
Dipl.-Ing. (MSc)
Thomas RauschResearch Assistant
TU WienDistributed Systems GroupArgentinierstraße 8/184-1, 1040, Vienna, AustriaT: +43 1 58801 184 838E: [email protected]/staff/trausch