Edge, Fog and Cloud from a DDS® perspective

When we look at the systems that are being built within the IoT from a bigger picture, they include physical devices, communication gateways and data centres.

In this post, I’ll talk about Edge, Fog and Cloud Computing and where the use of DDS🌀 technology is most beneficial.

Data in IIoT system needs to be efficiently transferred and shared between all parts of the system. This is because we need to carry out
👉 Data/information/knowledge collection,
👉 storage of data/information/knowledge,
👉 data/information/knowledge analysis,
👉 sharing results to users or back to devices.

Devices but also applications are increasingly using machine learning to process often large volumes of data. However, it is expensive to transfer all data to a central service on the Cloud. Sometimes this is not necessary and sometimes it is not even possible. An example would be an autonomous vehicle with all its sensors on board.

So it is more convenient to process this data closer to the devices for efficient processing. Thus, it is not necessary to transfer the data to the Cloud. This also speeds up system responses, which is essential for time-critical tasks.

From this perspective, we distinguish Edge Computing, Fog Computing and Cloud Computing.

1️⃣ Edge Computing – data is processed on devices. Devices often have low computing and storage capacities.

2️⃣ Fog Computing – data is processed on nodes or gateways that are part of a LAN. Data is distributed between nodes and processing is more complex, compared to a centralized Cloud solution.

3️⃣ Cloud Computing – data is processed on a central data server (Google Cloud Platform, Amazon Web Services, Microsoft Azure). It provides almost unlimited computing and storage capacity. It is thus suitable for processing demanding tasks. However, it requires a 24/7/365 Internet connection.

Edge and Fog complement the Cloud to ensure efficient data processing. I.e. those who need performance will be more concerned with processing data closer to the devices.

Thus, communication within the IIoT architecture can be divided into parts. These are communication:
👉 Between devices to each other (Edge), where DDS is particularly suitable as well as Zenoh, followed by MQTT-SN, CoAP,
👉 Between devices and communication gateways (Fog), where MQTT, CoAP, OPC-UA are highly used, DDS is also suitable and Zenoh.
👉 Between devices and Data Centers/Cloud where MQTT is used heavily, Zenoh is very suitable.
👉 Between communication gateways and data centers/Cloud (MQTT, Zenoh, JMS, AMQP)
👉 Between data centers/Clouds where for example JMS, AMQP, Apache Kafka, DDS are suitable as application protocols that runs over TCP or TCP-Like transport protocols.
👉 Communication with users, where mainly RESTful HTTP and Websockets are used).

Conclusion

Connecting the different parts of the IoT architecture requires usually different protocols, due to different requirements. DDS can be used in almost all use cases, but the technology is best suited for communication between devices within a wired LAN. It is possible to use DDS even for Device-to-Cloud or Cloud-to-Cloud communication, but in that case you will need to use some DDS gateway that will interconnect different parts of your system.
An example of such a gateway (in addition to vendor implementations) is the very promising Zenoh technology, which can efficiently connect DDS applications and devices on both the Edge and Fog all the way to the Cloud and back.

PP
Author: PP

Similar Posts

  • Event Driven Architecture

    EDA – All you need to know Real-world systems often rely on distributed software systems. That’s why it is crucial to establish the interconnectivity and interoperability between these systems. It’s now getting more common for system designs to be built on event-driven architecture. Why? Because this is the way to enable efficient, real-time communication between…

  • TSN and DDS: Enhancing Real-Time Communication

    Imagine a world where success relies on the reliable, millisecond or even nanosecond timing and deterministic delivery of data. This scenario is normal in critical areas such as industrial automation, automotive systems, avionics where real-time communication (RTC) is necessary. Achieving this level of precision requires advanced software protocols and robust communication hardware. Let’s delve into…

  • |

    DDS® in Military Vehicles – NGVA

    DDS®, or Data Distribution Service™, is a communication technology that originated from the military. It’s the backbone of communication in military vehicles, ships and planes. This technology is a game-changer because it’s designed for real-time data sharing between computers and devices, ensuring high performance, scalability, reliability, and security. Today, I want to share how DDS…

  • DDS observability

    When you are creating a distributed event driven system, you have to carefully think about observability. It is because such systems are more complex due to their asynchronous nature. ThereforeThere is less control over the processing flows. It is more difficult to test and debug. This requires to think carefully about observability infrastructure with providing…

  • |

    Client-Server vs. Peer-to-Peer Architecture: A DDS Perspective

    🌐 A client-server network architecture, using a point-to-point communication model, and a peer-to-peer network architecture based on the publish subscribe communication model differ in several aspects. To better illustrate this, let’s think gRPC as an example of technology for building client-server network architecture and Data Distribution Service (DDS) as an example of technology used for…

Leave a Reply

Your email address will not be published. Required fields are marked *