Azure / azure-cosmosdb-java

Java Async SDK for SQL API of Azure Cosmos DB
MIT License
54 stars 61 forks source link

Direct TCP: RntbdServiceEndpoint should respect maxChannelsPerEndpoint and maxRequestsPerChannel #116

Closed David-Noble-at-work closed 5 years ago

David-Noble-at-work commented 5 years ago

This feature can be thought of as self-throttling on a connection. No more than RntbdTransportClient.Options.maxRequestsPerChannel will be allowed on a channel before a new channel is created. By default we will respect these limits:

See related issue: #112