You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/storage/blobs/storage-blobs-tune-upload-download.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ author: pauljewellmsft
6
6
ms.author: pauljewell
7
7
ms.service: storage
8
8
ms.topic: how-to
9
-
ms.date: 12/08/2022
9
+
ms.date: 12/09/2022
10
10
ms.subservice: blobs
11
11
ms.devlang: csharp
12
12
ms.custom: devx-track-csharp, devguide-csharp
@@ -25,7 +25,7 @@ Properly tuning the values in [StorageTransferOptions](/dotnet/api/azure.storage
25
25
The following properties of `StorageTransferOptions` can be tuned based on the needs of your app:
26
26
27
27
-[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
29
29
-[MaximumTransferSize](#maximumtransfersize) - the maximum length of a transfer in bytes
30
30
31
31
> [!NOTE]
@@ -43,7 +43,7 @@ If you're unsure of what value is best for your situation, a safe option is to s
43
43
> 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).
44
44
45
45
### 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.
47
47
48
48
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/).
49
49
@@ -80,7 +80,7 @@ BlobUploadOptions options = new BlobUploadOptions
80
80
awaitblobClient.UploadAsync(stream, options);
81
81
```
82
82
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.
0 commit comments