Skip to content

Commit cf20788

Browse files
Merge pull request #247141 from ealsur/users/ealsur/channelacquisition
SDK: Fix channel acquisition text that made no sense
2 parents 694033a + 48c771e commit cf20788

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/cosmos-db/nosql/troubleshoot-dotnet-sdk-slow-request.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: ealsur
55
ms.service: cosmos-db
66
ms.subservice: nosql
77
ms.custom: ignite-2022, devx-track-dotnet
8-
ms.date: 03/13/2023
8+
ms.date: 08/02/2023
99
ms.author: maquaran
1010
ms.topic: troubleshooting
1111
ms.reviewer: mjbrown
@@ -172,7 +172,7 @@ For multiple store results for a single request, be aware of the following:
172172

173173
Show the time for the different stages of sending and receiving a request in the transport layer.
174174

175-
* `ChannelAcquisitionStarted`: The time to get or create a new connection. You can create new connections for numerous different regions. For example, let's say that a connection was unexpectedly closed, or too many requests were getting sent through the existing connections. You create a new connection.
175+
* `ChannelAcquisitionStarted`: The time to get or create a new connection. Connections can be created for numerous reasons such as: The previous connection was closed due to inactivity using [CosmosClientOptions.IdleTcpConnectionTimeout](sdk-connection-modes.md#volume-of-connections), the volume of concurrent requests exceeds the [CosmosClientOptions.MaxRequestsPerTcpConnection](sdk-connection-modes.md#volume-of-connections), the connection was closed due to a network error, or the application is not following the [Singleton pattern](#application-design) and new instances are constantly created. Once a connection is established, it is reused for subsequent requests, so this should not impact P99 latency unless the previously mentioned issues are happening.
176176
* `Pipelined` time is large might be caused by a large request.
177177
* `Transit time` is large, which leads to a networking problem. Compare this number to the `BELatencyInMs`. If `BELatencyInMs` is small, then the time was spent on the network, and not on the Azure Cosmos DB service.
178178
* `Received` time is large might be caused by a thread starvation problem. This is the time between having the response and returning the result.

0 commit comments

Comments
 (0)