Why IotHub events are delayed when stored in Time Series Insights?

203 Views Asked by At

I have a Time Series Insights Environment with an IoT Hub data source configured.

What I noticed is that there is a specific 20-30 seconds delay from sending an event to IoT Hub and seeing it stored in TSI.

After I found this, I attached a Function Trigger directly to the Iot Hub. What happened is that events were received immediately by the trigger, but TSI returned them 20-30 seconds later.

So, I have two questions:

  1. Where does that delay come from?
  2. Is there anything I can do about minimizing the delay?

Thanks!

1

There are 1 best solutions below

1
On BEST ANSWER

There is an expected measurable delay of up to 1 minute before you will see it in TSI and you cannot dial that up/down. It's just how the service works.

Just in case you haven't already, also make sure you've configured your SKU and capacity to support your use cases.