Skip to content

Commit 31bf140

Browse files
committed
Fixed review comments
1 parent 5bffeb2 commit 31bf140

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,13 @@ Do not verify a Database and/or Container exists by calling `Create...IfNotExist
3535

3636
## Slow requests on bulk mode
3737

38-
[Bulk mode](tutorial-sql-api-dotnet-bulk-import.md) is a throughput optimized mode meant for high data volume operations, it is not a latency optimized mode, it is meant to saturate available throughput. If you are experiencing slow requests when using bulk mode make sure that:
38+
[Bulk mode](tutorial-sql-api-dotnet-bulk-import.md) is a throughput optimized mode meant for high data volume operations, not a latency optimized mode; it's meant to saturate the available throughput. If you are experiencing slow requests when using bulk mode make sure that:
3939

4040
* Your application is compiled in Release configuration.
4141
* You are not measuring latency while debugging the application (no debuggers attached).
4242
* The volume of operations is high, don't use bulk for less than 1000 operations. Your provisioned throughput dictates how many operations per second you can process, your goal with bulk would be to utilize as much of it as possible.
4343
* Monitor the container for [throttling scenarios](troubleshoot-request-rate-too-large.md). If the container is getting heavily throttled it means the volume of data is larger than your provisioned throughput, you need to either scale up the container or reduce the volume of data (maybe create smaller batches of data at a time).
44+
* You are correctly using the `async/await` pattern to process all concurrent Tasks and not [blocking any async operation](https://github.com/davidfowl/AspNetCoreDiagnosticScenarios/blob/master/AsyncGuidance.md#avoid-using-taskresult-and-taskwait).
4445

4546
## <a name="capture-diagnostics"></a>Capture the diagnostics
4647

0 commit comments

Comments
 (0)