Communication delay between custom modules in an IoT Edge Module when the network connectivity is lost

Roshan Thomas(UST,IN) 0 Reputation points
2023-11-24T18:46:00.7433333+00:00

Hello,

We've noticed a delay in communications between custom modules within an IoT Edge Device when network connectivity is disrupted.

Could you kindly offer some insights or explanations regarding this observation?

Thank you!

Azure IoT
Azure IoT
A category of Azure services for internet of things devices.
391 questions
Azure IoT Edge
Azure IoT Edge
An Azure service that is used to deploy cloud workloads to run on internet of things (IoT) edge devices via standard containers.
557 questions
Azure Communication Services
Azure Communication Services
An Azure communication platform for deploying applications across devices and platforms.
786 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Azar 21,230 Reputation points MVP
    2023-11-24T19:03:47.6766667+00:00

    Hi Roshan Thomas(UST,IN)

    Thanks for the question, The delay in communication within an IoT Edge Device can be caused to several reasons. Firstly, the time taken for network reconnection plays a role example the network if its a wifi or wired. Additionally, retry mechanisms, Quality of Service (QoS) settings, and buffering strategies can also cause the delay.

    Monitoring and diagnostics, along with using the latest Azure IoT Edge runtime, can help identify and address the root causes of these delays. for more info on monitoring and diagnostics kindly follow the below link

    https://video2.skills-academy.com/en-us/azure/azure-monitor//vm/monitor-virtual-machine

    Hope this helps, kindly accept the answer if you find it useful thanks much.


  2. Sander van de Velde | MVP 30,866 Reputation points MVP
    2023-11-24T23:29:26.5433333+00:00

    Hello @Roshan Thomas(UST,IN),

    if you are referencing the connection state of individual Azure IoT devices, this is not that reliable.

    It is known to be that reliable detecting short disconnections .

    The IoT Hub emits some events to eg. the EventGrid but this is also not fine-grained.

    If you want to measure connectivity really precise, take a look at the new EventGrid MQTT support

    Technically, every connect/disconnect can be measured but you need to work that out yourself.

    just let a custom module setup a connection to this broker and start measuring disconnects.


    If the response helped, do "Accept Answer". If it doesn't work, please let us know the progress. All community members with similar issues will benefit by doing so. Your contribution is highly appreciated.

    0 comments No comments