question

IoTBuilder-3552 avatar image
0 Votes"
IoTBuilder-3552 asked SandervandeVelde42 commented

Azure IoT Central Latency

I am seeing as much as 30 seconds delay between sending from my gateway and seeing the change displayed in the dashboard tile. On other platforms I can easily get 5 seconds or less latency with the same hardware.

The message is a simple boolean value so the payload can't be the issue.

What is the best way to reduce this delay within the Azure IoT Central config?

Is it possible for me to build a low latency IoT Hub in Azure and connect my Azure IoT Central App to it instead to increase responsiveness?

Thanks

azure-iot-hubazure-iot-centralazure-iot
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

SandervandeVelde42 avatar image
1 Vote"
SandervandeVelde42 answered SandervandeVelde42 commented

Hello @IoTBuilder-3552 ,

yes, IoT Central has some latency. This latency is part of the experience offered by IoT Central.

IoT Central is a full IoT Platform packaged as a Software as a Service platform.

It is built on top of Azure IoT services like Device Provisioning services, IoT Hub, Stream Analytics job, etc.

If you build your IoT platform yourself based on the IoT Hub, you will see the telemetry ingest is very good, expect message within seconds or less.

Still, when you start adding services for eg. routing messages, transformations, joining with other streams, filtering, persisting in a database, and dashboarding, you will see that each step will consume some extra time.

IoT Central comes with a lot of advantages (direct available, cost per device is predictable, complete) but you give in into the flexibility to make the solution as light-weight as possible.

· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Well Explained!

0 Votes 0 ·

Thanks for the great info. I haven't tested sending a command or setting a property from cloud to device in Azure IoT Central, would you expect the same latency when sending from IoT Central to the device?

0 Votes 0 ·

Hello @IoTBuilder-3552 ,

good question.

No, the observed latency is only seen on ingest.

The execution of a Direct Method (command) or a changed Desired Property (property) is picked up immediately (if the device is connected and its program is not delaying the execution).

0 Votes 0 ·