Azure IoT Device Client, How Much Buffered Data in day or sending 1 request ?

RAI Vipin 1 Reputation point
2022-07-29T07:45:49.02+00:00

I had observe some of the scenarios while testing with Azure IoT, Please help me on this also.

Question 1 : What will happened when i will send single message more than 256KB size from Device to Cloud using Azure IoT ?

Question 2 : If as per limit 256KB sending data in single message than with in 24 hour i could send more than 300 MB data which could be more than the limit of 24 hours, Please elaborate. how does it works

Question 3 : Please let me know limit of sending the data because i have bulk data to send from device (example 1 GB/day) ?

Azure Cloud Services
Azure Cloud Services
An Azure platform as a service offer that is used to deploy web and cloud applications.
635 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,115 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
207 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sander van de Velde 28,311 Reputation points MVP
    2022-07-29T08:44:34.713+00:00

    Hello @RAI Vipin ,

    Azure IoT messages have a maximum size of 256KB.

    If messages are larger, you will receive an (IoT Hub) exception from the (C#) SDK:

    226122-image.png

    Azure IoT Hub supports file upload for non-edge devices. This is a good alternative for large messages.

    Depending on the tier and units, you can send a number of messages aka chunks.

    For example, in the S1 tier, 1 unit supports up to 400.000 messages per day.

    If you send a message of size 7KB, this will be counted as 2 chunks (2 times 4 KB makes 8 KB).

    If you reach the daily limitation earlier, say within 22 hours, the service will be blocked for 2 more hours.

    On the next day, ingestion will start again.

    So, if you want to send more data, as messages, you need to scale up to say 4 units (if your calculations are based on 1 unit).

    Or, you should redesign your architecture and check out eg. file upload and compression (compression is a useful addition to IoT messages).

    ----------

    If the response helped, do "Accept Answer". If it doesn't work, please let us know the progress. By doing so, all community members who have a similar issue will benefit. Your contribution is highly appreciated.

    0 comments No comments