Skip to content

Commit 88ba700

Browse files
Merge pull request #211621 from ealsur/users/ealsur/sdktimeout
Cosmos DB SDK: Timeout details
2 parents 246f18a + 4af218d commit 88ba700

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

articles/cosmos-db/sql/troubleshoot-dot-net-sdk-request-timeout.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn how to diagnose and fix .NET SDK request timeout exceptions.
44
author: rothja
55
ms.service: cosmos-db
66
ms.subservice: cosmosdb-sql
7-
ms.date: 09/01/2022
7+
ms.date: 09/16/2022
88
ms.author: jroth
99
ms.topic: troubleshooting
1010
ms.reviewer: mjbrown
@@ -16,6 +16,14 @@ ms.custom: devx-track-dotnet
1616

1717
The HTTP 408 error occurs if the SDK was unable to complete the request before the timeout limit occurred.
1818

19+
It is important to make sure the application design is following our [guide for designing resilient applications with Azure Cosmos DB SDKs](conceptual-resilient-sdk-applications.md) to make sure it correctly reacts to different network conditions. Your application should have retries in place for timeout errors as these are normally expected in a distributed system.
20+
21+
When evaluating the case for timeout errors:
22+
23+
* What is the impact measured in volume of operations affected compared to the operations succeeding? Is it within the service SLAs?
24+
* Is the P99 latency / availability affected?
25+
* Are the failures affecting all your application instances or only a subset? When the issue is reduced to a subset of instances, it's commonly a problem related to those instances.
26+
1927
## Customize the timeout on the Azure Cosmos DB .NET SDK
2028

2129
The SDK has two distinct alternatives to control timeouts, each with a different scope.

0 commit comments

Comments
 (0)