question

Jorgnyg-5708 avatar image
0 Votes"
Jorgnyg-5708 asked PramodValavala-MSFT commented

Multiple blob operations per minute

I've set up a Function app for sending incoming messages from IoT Hub to a CosmosDB. Everything works fine and the data is stored in a table. However, even if the function is not triggered, I exceed for "Storage, Tiered Block Blob, Hot Read Operations" by over 1000% as shown below.
94652-image.png

Tried digging into it by looking at logs for the Storage account after talking with someone from the billing support team.
Found multiple blob operations happening per minute and I have no idea why. Is this normal? All of them have the same request URL:
https://[mystorageaccount].blob.core.windows.net/azure-webjobs-eventhub/ihsuproddbres022dednamespace.servicebus.windows.net/iothub-ehub-plantpihub-10052448-d94c18a7fe/$default/[...]
94671-image.png


azure-functionsazure-blob-storage
image.png (16.8 KiB)
image.png (160.9 KiB)
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

PramodValavala-MSFT avatar image
0 Votes"
PramodValavala-MSFT answered PramodValavala-MSFT commented

@Jorgnyg-5708 The EventProcessorHost which powers the Azure Functions extension uses a storage account to track ownership of partitions which I believe are the calls being made.

This is required since you could have multiple instances processing from the same consumer group and to load balance partitions among them.


· 2
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.

@PramodValavala-MSFT Ah okay. So there is no way to reduce the number of calls? At this point I have only one device and one function running.

0 Votes 0 ·

@Jorgnyg-5708 The default is 10 seconds for renewal for each lease (for each partition held). Currently, there doesn't seem to be a way to configure this.


0 Votes 0 ·