Skip to content

Commit dcb920a

Browse files
committed
Moved guidance on implementing backoff into troubleshooting v4
1 parent ebf5495 commit dcb920a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

articles/cosmos-db/troubleshoot-java-sdk-v4-sql.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,10 @@ By using `publishOn(customScheduler)`, you release the Netty IO thread and switc
148148
### Request rate too large
149149
This failure is a server-side failure. It indicates that you consumed your provisioned throughput. Retry later. If you get this failure often, consider an increase in the collection throughput.
150150

151+
* **Implement backoff at getRetryAfterInMilliseconds intervals**
152+
153+
During performance testing, you should increase load until a small rate of requests get throttled. If throttled, the client application should backoff for the server-specified retry interval. Respecting the backoff ensures that you spend minimal amount of time waiting between retries.
154+
151155
### Failure connecting to Azure Cosmos DB emulator
152156

153157
The Azure Cosmos DB emulator HTTPS certificate is self-signed. For the SDK to work with the emulator, import the emulator certificate to a Java TrustStore. For more information, see [Export Azure Cosmos DB emulator certificates](local-emulator-export-ssl-certificates.md).

0 commit comments

Comments
 (0)