This project aims to compare two discovery protocols: MQTT-Discovery(MQTT-D) and UPnP
Here a quick list of files that may interest you:
- report: the report of the experiments in a IEEE format
- presentation: 10 mins presentation of the results
- analysis: to reproduce the evaluations made in the report
This repo refers to an academic study (related to the course "Mobile Systems M" at University of Bologna) that compares latency and robustness of MQTT-D and UPnP.
The chosen protocols are quite different:
- MQTT-D: based on MQTT, pub-sub message exchange protocol
- UPnP: peer-to-peer messaging system that via General Event Notification Architecture (GENA) is able of event delivery.
-
Run the device:
go run main-device/main.go [-u number_of_upnp_devices] [-m number_of_mqtt_devices --mqtt-broker mqtt_broker_ip:mqttbroker_port --qos qos_level]
-
Run the control:
go run main-control/main.go [-u number_of_upnp_devices] [-m number_of_mqtt_devices --mqtt-broker mqtt_broker_ip:mqttbroker_port --qos qos_level]
See the documentation to learn how the experiments were conducted and the obtained results.
Have a look to the 10 mins presentation of the experiment results.
To reproduce the experiments conducted for this study please look at the provided documentation.
Distributed under the AGPLv3 License. See licence for more information.