Azure / azure-sdk-for-python

This repository is for active development of the Azure SDK for Python. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/python/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-python.
MIT License
4.53k stars 2.76k forks source link

App Configuration Provider should be able to load settings lazily #36157

Open rr-peter opened 2 months ago

rr-peter commented 2 months ago

Is your feature request related to a problem? Please describe. Currenlty Appconfiguration-provider loads all settings and feature Flags if enabled that potentially can lead to significant delay in case of massive size of the settings list refresh. Also different services might require just a certain settings but not all that can also reduce mount of requests. Also refresh_interval is controlling refresh of all settings while each setting might have inndividual timer

Describe the solution you'd like Lazy loading of requested setting and FF might be a good option for this case also adding etag for every setting will allow dynamically refresh them individually reducing overall delays.

Describe alternatives you've considered I've implemented this approach in my own class usin azure-appconfiguration library

Additional context

github-actions[bot] commented 2 months ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @mrm9084.