locked
Data Latency storing IOT data in Blob RRS feed

  • Question

  • We are sending data such as temp and pressure using IOT hub in Azure and storing them in a Blob. Then we read out the data using an app. the problem we have is it takes 2-3 minutes to get the latest reading appear in the app. In critical environments this will not work. Is there something wrong with what we are doing? Any suggestions?
    Friday, August 24, 2018 5:32 PM

Answers

  • Hello  Xiaochen_Sensorscall,

    With an Azure Storage container as a custom endpoint, IoT Hub will write messages to a blob based on the batch frequency and block size specified by the customer. After either the batch size or the batch frequency are hit, whichever happens first, IoT Hub will then write the enqueued messages to the storage container as a blob. 

    Ref: "Route IoT device messages to Azure Storage with Azure IoT Hub"

    So can you check your setting of batch frequency and batch size(Chunk size window) like this?

    You will find that the minimum of batch frequency and size are 60 seconds and 10 MB, so you can't receive message immediately after they are sent out, there must be a delay before 60 seconds time out or the batch size reach 10 MB.

    Please let me know if it helps.

    Best regards,

    Rita


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Monday, August 27, 2018 1:41 AM