Forum Discussion
Connection Pooling
Was just following up to see if the team has any inputs regarding the same?
With Regards,
Nitin Rahim
- nitinrahimOct 26, 2023Brass Contributor
Hi Team,
When running load tests the below is a specific error that we are getting for high latency requests.For certain others we see traces for Region Contacted, System Information, ClientCfgs , Storeresponses in application insights for cosmos database calls.
io.netty.channel.ConnectTimeoutException: connection timed out
Our direct connection configuration parameters are below.
connCfg":{"rntbd":"(cto:PT0.6S, nrto:PT5S, icto:PT0S, ieto:PT5H, mcpe:130, mrpc:30, cer:true)
We have set that based on the recommendations below.
https://learn.microsoft.com/en-us/azure/cosmos-db/nosql/tune-connection-configurations-java-sdk-v4?tabs=api-async
https://devblogs.microsoft.com/cosmosdb/java-sdk-v4-diagnostics/
Any insights regarding the same is appreciated.
With Regards,
Nitin Rahim