Skip to content

Commit 2230bc6

Browse files
Final edits
1 parent e64ec2d commit 2230bc6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/storage/blobs/storage-blobs-tune-upload-download.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: pauljewellmsft
66
ms.author: pauljewell
77
ms.service: storage
88
ms.topic: how-to
9-
ms.date: 12/08/2022
9+
ms.date: 12/09/2022
1010
ms.subservice: blobs
1111
ms.devlang: csharp
1212
ms.custom: devx-track-csharp, devguide-csharp
@@ -25,7 +25,7 @@ Properly tuning the values in [StorageTransferOptions](/dotnet/api/azure.storage
2525
The following properties of `StorageTransferOptions` can be tuned based on the needs of your app:
2626

2727
- [InitialTransferSize](#initialtransfersize) - the size of the first request in bytes
28-
- [MaximumConcurrency](#maximumconcurrency) - the maximum number of workers, or subtransfers, that may be used in a parallel transfer
28+
- [MaximumConcurrency](#maximumconcurrency) - the maximum number of subtransfers that may be used in parallel
2929
- [MaximumTransferSize](#maximumtransfersize) - the maximum length of a transfer in bytes
3030

3131
> [!NOTE]
@@ -43,7 +43,7 @@ If you're unsure of what value is best for your situation, a safe option is to s
4343
> When using a `BlobClient` object, uploading a blob smaller than the `InitialTransferSize` will be performed using [Put Blob](/rest/api/storageservices/put-blob), rather than [Put Block](/rest/api/storageservices/put-block).
4444
4545
### MaximumConcurrency
46-
[MaximumConcurrency](/dotnet/api/azure.storage.storagetransferoptions.maximumconcurrency) is the maximum number of workers, or subtransfers, that may be used in a parallel transfer. Currently, only asynchronous operations can parallelize transfers. Synchronous operations will ignore this value and work in sequence.
46+
[MaximumConcurrency](/dotnet/api/azure.storage.storagetransferoptions.maximumconcurrency) is the maximum number of workers that may be used in a parallel transfer. Currently, only asynchronous operations can parallelize transfers. Synchronous operations will ignore this value and work in sequence.
4747

4848
The effectiveness of this value is subject to connection pool limits in .NET, which may restrict performance by default in certain scenarios. To learn more about connection pool limits in .NET, see [.NET Framework Connection Pool Limits and the new Azure SDK for .NET](https://devblogs.microsoft.com/azure-sdk/net-framework-connection-pool-limits/).
4949

@@ -80,7 +80,7 @@ BlobUploadOptions options = new BlobUploadOptions
8080
await blobClient.UploadAsync(stream, options);
8181
```
8282

83-
In this example, we set the number of parallel transfer workers to 2, using the `MaximumConcurrency` property. This configuration opens up to 2 connections simultaneously, allowing the upload to happen in parallel. The initial HTTP range request will attempt to upload 8 MiB of data, as defined by the `InitialTransferSize` property. Note that `InitialTransferSize` only applies for uploads when [using a seekable stream](#initialtransfersize-on-upload). If the blob size is smaller than 8 MiB, only a single request is necessary to complete the operation. If the blob size is larger than 8 MiB, all subsequent transfer requests will have a maximum size of 4 MiB, which we set with the `MaximumTransferSize` property.
83+
In this example, we set the number of parallel transfer workers to 2, using the `MaximumConcurrency` property. This configuration opens up to 2 connections simultaneously, allowing the upload to happen in parallel. The initial HTTP range request will attempt to upload up to 8 MiB of data, as defined by the `InitialTransferSize` property. Note that `InitialTransferSize` only applies for uploads when [using a seekable stream](#initialtransfersize-on-upload). If the blob size is smaller than 8 MiB, only a single request is necessary to complete the operation. If the blob size is larger than 8 MiB, all subsequent transfer requests will have a maximum size of 4 MiB, which we set with the `MaximumTransferSize` property.
8484

8585
## Performance considerations for uploads
8686

0 commit comments

Comments
 (0)