AppConfiguration icon indicating copy to clipboard operation
AppConfiguration copied to clipboard

Delayed Startup and Request Quota Metrics Incorrectly Show 100% Usage

Open kakins opened this issue 1 year ago • 0 comments

I'm using the .NET SDK to work with Feature Flags in ASP.NET Core.

The first thing I noticed is that app configuration is loading extremely slow all of the sudden. My application hangs on this line provider.Load(), inside ConfigurationManager, presumably encountering some sort of throttle and/or retries when configuration from ACS is being fetched.

image

The method eventually completes, but this delayed behavior is causing my app service to timeout during startup in Azure.

image

However what I don't understand is why my requests would be throttled or even blocked. Here is my quota metric from my ACS instance -- where I am on the free tier with only one ACS instance in my subscription:

image

My understanding is I should get 1k requests/day. However, I am using far less than that. As you can see here I'm using about 150 requests per day.

image

And I have verified my connection string is valid multiple times.

kakins avatar Apr 26 '24 22:04 kakins