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.58k stars 2.8k forks source link

[Cosmos] Thin client PoC for Python #36588

Open TheovanKraay opened 2 months ago

TheovanKraay commented 2 months ago

Is your feature request related to a problem? Please describe. Lack of http2 support means large number of connections at scale

Describe the solution you'd like Implement http2 support to allow for multiplexing

annatisch commented 2 months ago

Thanks @TheovanKraay To clarify, when you say a large number of connections, is this within a single client? Or because there will be many clients running together? Would customizing the transport to limit the connection pool size, or sharing it between multiple clients help mitigate the number of connections in the meantime while http2 support is being investigated?

kushagraThapar commented 2 months ago

@annatisch, the thin client prototyping is in regard to various problems including the http connection pool size in all our SDKs, which currently is high because of the throughput expectations of customers. Http2 work will definitely help here, however, for the longer term, thin client will help us to be more consistent in all SDKs across different feature set.