ndn coap and mqtt a comparative measurement study in the
play

NDN, CoAP, and MQTT: A Comparative Measurement Study in the IoT ACM - PowerPoint PPT Presentation

NDN, CoAP, and MQTT: A Comparative Measurement Study in the IoT ACM ICN 2018, Boston Cenk Gndoan 1 Peter Kietzmann 1 Martine Lenders 2 Hauke Petersen 2 Thomas C. Schmidt 1 Matthias Whlisch 2 1 HAW Hamburg 2 Freie Universitt Berlin CoAP


  1. NDN, CoAP, and MQTT: A Comparative Measurement Study in the IoT ACM ICN 2018, Boston Cenk Gündoğan 1 Peter Kietzmann 1 Martine Lenders 2 Hauke Petersen 2 Thomas C. Schmidt 1 Matthias Wählisch 2 1 HAW Hamburg 2 Freie Universität Berlin

  2. CoAP Request–response protocol on UDP IETF solution for constrained IoT ICN Promising candidate for future IoT Intensifying attention since 2014 MQTT Publish–subscribe protocol on TCP Constrained IoT: MQTT-SN on UDP Common IoT Communication ▶ Sensors and actuators connect to clouds ▶ Today mainly based on MQTT Cloud report control Sensor nodes 2 / 56

  3. CoAP Request–response protocol on UDP IETF solution for constrained IoT ICN Promising candidate for future IoT Intensifying attention since 2014 Common IoT Communication ▶ Sensors and actuators connect to clouds ▶ Today mainly based on MQTT Cloud ▶ MQTT ▶ Publish–subscribe protocol on TCP ▶ Constrained IoT: MQTT-SN on UDP report control Sensor nodes 3 / 56

  4. ICN Promising candidate for future IoT Intensifying attention since 2014 Common IoT Communication ▶ Sensors and actuators connect to clouds ▶ Today mainly based on MQTT Cloud ▶ MQTT ▶ Publish–subscribe protocol on TCP ▶ Constrained IoT: MQTT-SN on UDP ▶ CoAP ▶ Request–response protocol on UDP ▶ IETF solution for constrained IoT report control Sensor nodes 4 / 56

  5. Common IoT Communication ▶ Sensors and actuators connect to clouds ▶ Today mainly based on MQTT Cloud ▶ MQTT ▶ Publish–subscribe protocol on TCP ▶ Constrained IoT: MQTT-SN on UDP ▶ CoAP ▶ Request–response protocol on UDP ▶ IETF solution for constrained IoT report control ▶ ICN ▶ Promising candidate for future IoT Sensor nodes ▶ Intensifying attention since 2014 5 / 56

  6. Research Question How do these protocols perform and which is most appropriate for the IoT? 6 / 56

  7. Outline Protocol Overview Metrics & Experiment Setup Evaluation Single-hop: Push vs. Pull Protocols Multi-hop: Reliability and Protocol Performance Conclusion & Outlook 7 / 56

  8. PUT /temp 21 C 2.04 Changed PUT (c) PUT /temp 21 C GET /temp 2.05 Content 21 C PUT /temp 21 C GET /temp [OBS] 2.04 Changed GET (c) 2.05 Content 21 C GET /temp . . . 2.05 Content 22 C CoAP GET GET /temp 2.05 Content 21 ◦ C 8 / 56

  9. PUT /temp 21 C 2.04 Changed PUT (c) PUT /temp 21 C PUT /temp 21 C GET /temp [OBS] 2.04 Changed 2.05 Content 21 C . . . 2.05 Content 22 C GET /temp 2.05 Content 21 C CoAP GET GET /temp 2.05 Content 21 ◦ C GET (c) GET /temp X 9 / 56

  10. PUT /temp 21 C 2.04 Changed PUT (c) PUT /temp 21 C PUT /temp 21 C GET /temp [OBS] 2.04 Changed 2.05 Content 21 C . . . 2.05 Content 22 C GET /temp 2.05 Content 21 C CoAP GET GET /temp 2.05 Content 21 ◦ C GET (c) GET /temp X 2.05 Content 21 ◦ C 10 / 56

  11. PUT /temp 21 C 2.04 Changed PUT (c) PUT /temp 21 C PUT /temp 21 C GET /temp [OBS] 2.04 Changed 2.05 Content 21 C . . . 2.05 Content 22 C CoAP GET GET /temp 2.05 Content 21 ◦ C GET (c) GET /temp X 2.05 Content 21 ◦ C GET /temp 2.05 Content 21 ◦ C 11 / 56

  12. PUT /temp 21 C 2.04 Changed GET /temp [OBS] PUT (c) 2.05 Content 21 C PUT /temp 21 C . . . 2.05 Content 22 C CoAP GET PUT GET /temp PUT /temp 21 ◦ C 2.05 Content 21 ◦ C 2.04 Changed GET (c) GET /temp X 2.05 Content 21 ◦ C GET /temp 2.05 Content 21 ◦ C 12 / 56

  13. GET /temp [OBS] 2.05 Content 21 C . . . 2.05 Content 22 C PUT /temp 21 C 2.04 Changed CoAP GET PUT GET /temp PUT /temp 21 ◦ C 2.05 Content 21 ◦ C 2.04 Changed GET (c) PUT (c) GET /temp PUT /temp 21 ◦ C X X 2.05 Content 21 ◦ C GET /temp 2.05 Content 21 ◦ C 13 / 56

  14. GET /temp [OBS] 2.05 Content 21 C . . . 2.05 Content 22 C PUT /temp 21 C 2.04 Changed CoAP GET PUT GET /temp PUT /temp 21 ◦ C 2.05 Content 21 ◦ C 2.04 Changed GET (c) PUT (c) GET /temp PUT /temp 21 ◦ C X X 2.05 Content 21 ◦ C 2.04 Changed GET /temp 2.05 Content 21 ◦ C 14 / 56

  15. GET /temp [OBS] 2.05 Content 21 C . . . 2.05 Content 22 C CoAP GET PUT GET /temp PUT /temp 21 ◦ C 2.05 Content 21 ◦ C 2.04 Changed GET (c) PUT (c) GET /temp PUT /temp 21 ◦ C X X 2.05 Content 21 ◦ C 2.04 Changed GET /temp PUT /temp 21 ◦ C 2.05 Content 21 ◦ C 2.04 Changed 15 / 56

  16. CoAP GET PUT OBS GET /temp PUT /temp 21 ◦ C GET /temp [OBS] 2.05 Content 21 ◦ C 2.04 Changed GET (c) PUT (c) 2.05 Content 21 ◦ C GET /temp PUT /temp 21 ◦ C . . X . X 2.05 Content 21 ◦ C 2.04 Changed 2.05 Content 22 ◦ C GET /temp PUT /temp 21 ◦ C 2.05 Content 21 ◦ C 2.04 Changed 16 / 56

  17. Q0 PUBLISH topic id 21 C Q1 PUBLISH topic id 21 C PUBLISH topic id 21 C PUBACK MQTT-SN CONNECT CONNACK REGISTER /temp REGACK topic id SUBSCRIBE /temp SUBACK 17 / 56

  18. Q1 PUBLISH topic id 21 C PUBLISH topic id 21 C PUBACK MQTT-SN Q0 CONNECT PUBLISH topic id 21 ◦ C CONNACK REGISTER /temp REGACK topic id SUBSCRIBE /temp SUBACK 18 / 56

  19. PUBLISH topic id 21 C PUBACK MQTT-SN Q0 CONNECT PUBLISH topic id 21 ◦ C CONNACK REGISTER /temp Q1 PUBLISH topic id 21 ◦ C X REGACK topic id SUBSCRIBE /temp SUBACK 19 / 56

  20. PUBLISH topic id 21 C PUBACK MQTT-SN Q0 CONNECT PUBLISH topic id 21 ◦ C CONNACK REGISTER /temp Q1 PUBLISH topic id 21 ◦ C REGACK topic id X PUBACK SUBSCRIBE /temp SUBACK 20 / 56

  21. MQTT-SN Q0 CONNECT PUBLISH topic id 21 ◦ C CONNACK REGISTER /temp Q1 PUBLISH topic id 21 ◦ C REGACK topic id X PUBACK SUBSCRIBE /temp PUBLISH topic id 21 ◦ C SUBACK PUBACK 21 / 56

  22. Interest /temp/ 21 C NAM ACK ACK ACK Data /temp/ 21 C [ACK] Interest /temp Interest /temp/ 21 C Interest /temp NAM Data /temp 21 C Interest /temp Interest /temp/ 21 C Interest /temp ACK ACK ACK Data /temp 21 C Data /temp/ 21 C [ACK] Data /temp 21 C ICN NDN Interest /temp Data /temp 21 ◦ C 22 / 56

  23. Interest /temp/ 21 C NAM ACK ACK ACK Data /temp/ 21 C [ACK] Interest /temp/ 21 C Interest /temp NAM Data /temp 21 C Interest /temp Interest /temp/ 21 C Interest /temp ACK ACK ACK Data /temp 21 C Data /temp/ 21 C [ACK] Data /temp 21 C ICN NDN Interest /temp Data /temp 21 ◦ C Interest /temp X 23 / 56

  24. Interest /temp/ 21 C NAM ACK ACK ACK Data /temp/ 21 C [ACK] Interest /temp/ 21 C Interest /temp NAM Data /temp 21 C Interest /temp Interest /temp/ 21 C Interest /temp ACK ACK ACK Data /temp 21 C Data /temp/ 21 C [ACK] Data /temp 21 C ICN NDN Interest /temp Data /temp 21 ◦ C Interest /temp X Data /temp 21 ◦ C 24 / 56

  25. Interest /temp/ 21 C NAM ACK ACK ACK Data /temp/ 21 C [ACK] Interest /temp/ 21 C Interest /temp NAM Data /temp 21 C Interest /temp/ 21 C Interest /temp ACK ACK ACK Data /temp/ 21 C [ACK] Data /temp 21 C ICN NDN Interest /temp Data /temp 21 ◦ C Interest /temp X Data /temp 21 ◦ C Interest /temp Data /temp 21 ◦ C 25 / 56

  26. NAM Interest /temp/ 21 C Interest /temp NAM Data /temp 21 C Interest /temp/ 21 C Interest /temp ACK ACK ACK Data /temp/ 21 C [ACK] Data /temp 21 C ICN NDN I-Not Interest /temp Interest /temp/ 21 ◦ C ACK ACK ACK Data /temp 21 ◦ C Data /temp/ 21 ◦ C [ACK] Interest /temp X Data /temp 21 ◦ C Interest /temp Data /temp 21 ◦ C 26 / 56

  27. NAM Interest /temp NAM Data /temp 21 C Interest /temp/ 21 C Interest /temp ACK ACK ACK Data /temp/ 21 C [ACK] Data /temp 21 C ICN NDN I-Not Interest /temp Interest /temp/ 21 ◦ C ACK ACK ACK Data /temp 21 ◦ C Data /temp/ 21 ◦ C [ACK] Interest /temp Interest /temp/ 21 ◦ C X X Data /temp 21 ◦ C Interest /temp Data /temp 21 ◦ C 27 / 56

  28. NAM Interest /temp NAM Data /temp 21 C Interest /temp/ 21 C Interest /temp ACK ACK ACK Data /temp/ 21 C [ACK] Data /temp 21 C ICN NDN I-Not Interest /temp Interest /temp/ 21 ◦ C ACK ACK ACK Data /temp 21 ◦ C Data /temp/ 21 ◦ C [ACK] Interest /temp Interest /temp/ 21 ◦ C X X ACK ACK Data /temp 21 ◦ C Data /temp/ 21 ◦ C [ACK] Interest /temp Data /temp 21 ◦ C 28 / 56

  29. NAM Interest /temp NAM Data /temp 21 C Interest /temp Data /temp 21 C ICN NDN I-Not Interest /temp Interest /temp/ 21 ◦ C ACK ACK ACK Data /temp 21 ◦ C Data /temp/ 21 ◦ C [ACK] Interest /temp Interest /temp/ 21 ◦ C X X ACK ACK Data /temp 21 ◦ C Data /temp/ 21 ◦ C [ACK] Interest /temp Interest /temp/ 21 ◦ C ACK ACK ACK Data /temp 21 ◦ C Data /temp/ 21 ◦ C [ACK] 29 / 56

  30. Interest /temp NAM Data /temp 21 C Interest /temp Data /temp 21 C ICN NDN I-Not HoPP Interest /temp Interest /temp/ 21 ◦ C NAM ACK ACK ACK Data /temp 21 ◦ C Data /temp/ 21 ◦ C [ACK] Interest /temp Interest /temp/ 21 ◦ C X X ACK ACK Data /temp 21 ◦ C Data /temp/ 21 ◦ C [ACK] Interest /temp Interest /temp/ 21 ◦ C ACK ACK ACK Data /temp 21 ◦ C Data /temp/ 21 ◦ C [ACK] 30 / 56

  31. Interest /temp Data /temp 21 C ICN NDN I-Not HoPP Interest /temp Interest /temp/ 21 ◦ C NAM ACK ACK ACK Data /temp 21 ◦ C Data /temp/ 21 ◦ C [ACK] Interest /temp Interest /temp/ 21 ◦ C Interest /temp NAM X X ACK ACK Data /temp 21 ◦ C Data /temp/ 21 ◦ C [ACK] Data /temp 21 ◦ C Interest /temp Interest /temp/ 21 ◦ C ACK ACK ACK Data /temp 21 ◦ C Data /temp/ 21 ◦ C [ACK] 31 / 56

Recommend


More recommend