Comparison of DDS, MQTT, and Zenoh in Edge-to-Edge/Cloud Communication with ROS 2

09/14/2023
by   Jiaqiang Zhang, et al.
0

With the development of IoT and edge computing, there is a need for efficient and reliable middleware to handle the communication among Edge devices or between Edge and Cloud. Meanwhile, ROS 2 is more commonly used in robotic systems, but there is no comparison study of middleware using ROS Messages. In this study, we compared the middlewares that are commonly used in ROS 2 systems, including DDS, Zenoh, and MQTT. In order to evaluate the performance of the middleware in Edge-to-Edge and Edge-to-Cloud scenarios, we conducted the experiments in a multi-host environment and compared the latency and throughput of the middlewares with different types and sizes of ROS Messages in three network setups including Ethernet, Wi-Fi, and 4G. Additionally, we implemented different middlewares on a real robot platform, TurtleBot 4, and sent commands from a host to the robot to run a square-shaped trajectory. With the Optitrack Motion Capture system, we recorded the robot trajectories and analyzed the drift error. The results showed that CycloneDDS performs better under Ethernet, and Zenoh performs better under Wifi and 4G. In the actual robot test, Zenoh's trajectory drift error was the smallest.

READ FULL TEXT
research
11/12/2021

Serverless Platforms on the Edge: A Performance Analysis

The exponential growth of Internet of Things (IoT) has given rise to a n...
research
07/25/2020

Demo: Edge-centric Telepresence Avatar Robot for Geographically Distributed Environment

Using a robotic platform for telepresence applications has gained paramo...
research
04/29/2021

The Hidden cost of the Edge: A Performance Comparison of Edge and Cloud Latencies

Edge computing has emerged as a popular paradigm for running latency-sen...
research
02/10/2020

Engineering and Experimentally Benchmarking a Container-based Edge Computing System

While edge computing is envisioned to superbly serve latency sensitive a...
research
05/10/2022

An Edge-Cloud Integrated Framework for Flexible and Dynamic Stream Analytics

With the popularity of Internet of Things (IoT), edge computing and clou...
research
12/04/2021

Integration of FogBus2 Framework with Container Orchestration Tools in Cloud and Edge Computing Environments

Currently, due to the advantages of light weight, simple deployment, mul...

Please sign up or login with your details

Forgot password? Click here to reset