Jämförelse av OPS, MQTT och DDS med avseende på fördröjningstid och throughput

Detta är en Kandidat-uppsats från Linköpings universitet/Institutionen för datavetenskap

Sammanfattning: In this study a comparison of the publish-subscribe communication protocols OPS, MQTT and DDS were conducted. The implementation used for DDS was fastDDS and the client library Paho Eclipse MQTT C++ was used for MQTT with the broker implementation Eclipse Mosquitto. The goal was to see which out of these protocols performs best in a peer-to-peer communication scenario when it comes to latency and throughput with varying payload size. Two experiments were carried out. The first experiment measures the round-trip-time of a message and is realized by a ping-pong application. The latency was then calculated by taking half of the round-trip-time. The second experiment was publishing messages from one client and being retrieved by another and counting the amount of messages being retrieved in one second. To get bytes per second the payload size was multiplied by the amount of messages retrieved by the subscriber. The result of the first experiment showed that OPS with the underlying transport protocol TCP had the most favorable result. For the second experiment OPS with UDP as the transport protocol had the highest throughput in most cases however for the highest payload used in the experiment fastDDS with UDP had the highest throughput. However, the results gave substantial differences between the protocols in regards to throughput which indicate that the configuration might not be optimal for a fair comparison. Further research of this is recommended before making a final conclusion in regards to the overall results.

  HÄR KAN DU HÄMTA UPPSATSEN I FULLTEXT. (följ länken till nästa sida)