EMMA Distributed QoS-Aware MQTT Middleware for Edge Computing Applications
Thomas Rausch, Stefan Nastic, Schahram Dustdar
TU Wien Distributed Systems Group http://dsg.tuwien.ac.at
EMMA Distributed QoS-Aware MQTT Middleware for Edge Computing - - PowerPoint PPT Presentation
EMMA Distributed QoS-Aware MQTT Middleware for Edge Computing Applications Thomas Rausch, Stefan Nastic, Schahram Dustdar TU Wien Distributed Systems Group http://dsg.tuwien.ac.at AWS IoT 2 Publish move x,y,z to /robot/arm Subscribe
TU Wien Distributed Systems Group http://dsg.tuwien.ac.at
2
3
Subscribe to topic: /robot/arm Publish “move x,y,z” to /robot/arm
Decoupled messaging
4
Trust? ! Availability? ! End-to-end latency: ??ms !
5
Data centers
Internet
Mobile edge Extreme edge IoT Cloudlets Message broker Cloud-based MOM Edge-enabled MOM
Scale Proximity & Responsiveness
6
7
Local Broker Central Broker
Internal Topics
Static config Static config Cloud
The Internet of Things on AWS -- Official Blog, 2016. https://aws.amazon.com/blogs/iot/how-to-bridge-mosquitto-mqtt-broker-to-aws-iot/
Edge Topic Bridge
8
9
C l i e n t GW c GW c Broker Broker D e v i c e Mo n i t
i n g p r
Controller
B r i d g i n g T a b l e s
Gateway
B r i d g i n g T a b l e R e c
fj g u r a
i
E n g i n e R E S T E n d p
n t s N e t w
k m
i t
B u fg e r
t B u fg e r i n MQ T T S e r v e r D i s c
e r y S e r v i c e
https://git.dsg.tuwien.ac.at/emma/emma
10
0-2 ms 2-5 5-10 PINGREQ PINGRESP Broker Gateway
11
:b1: :b2: :gateway: :controller SUBSCRIBE ... CONNECT DISCONNECT replay control packets TCP connect TCP open update network RECONACK(b2) RECONREQ(b2) :brokerA :controller :gateway :client CONNACK CONNACK lookup result(brokerA) store packet CONNECT CONNECT
12
Broker Gateway Broker Gateway Controller . . . . . . Gateway Broker
9 8 m s 2 7 m s 8 5 m s https://git.dsg.tuwien.ac.at/emma/pubsub-benchmark
13
Controller eu-west eu-central us-east
14
Controller <1 ms 98 ms 27 ms 85 ms
15
Controller
16
Controller
17
Controller
18
Controller
19
Controller
20
Controller
21
Controller
22
23
7 1 2 3 4 5 6 8
24 Dipl.-Ing. (MSc)
Research Assistant TU Wien Distributed Systems Group Argentinierstraße 8/194-02, 1040, Vienna, Austria T: +43 1 58801 184 838 E: t.rausch@dsg.tuwien.ac.at dsg.tuwien.ac.at/stafg/trausch
QoS Monitoring & Reconfiguration
25
NCA’05 DEBS’05 MW’05 PODC’07
26
27
White paper. 2014.