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-go.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
@@ -29,7 +29,7 @@ If the total blob size is less than or equal to 256 MB, the data is uploaded wit
29
29
The following properties can be configured and tuned based on the needs of your app:
30
30
31
31
-`BlockSize`: The maximum length of a transfer in bytes when uploading a block blob in chunks. Defaults to 4 MB.
32
-
-`Concurrency`: The maximum number of subtransfers that may be used in parallel. Defaults to 5.
32
+
-`Concurrency`: The maximum number of subtransfers that can be used in parallel. Defaults to 5.
33
33
34
34
These configuration options are available when uploading using the following methods:
35
35
@@ -46,7 +46,7 @@ The [Upload](https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/storage/az
46
46
47
47
The `BlockSize` argument is the maximum length of a transfer in bytes when uploading a block blob in chunks.
48
48
49
-
To keep data moving efficiently, the client libraries may not always reach the `BlockSize` value for every transfer. Depending on the operation, the maximum supported value for transfer size can vary. For more information on transfer size limits for Blob storage, see the chart in [Scale targets for Blob storage](scalability-targets.md#scale-targets-for-blob-storage).
49
+
To keep data moving efficiently, the client libraries might not always reach the `BlockSize` value for every transfer. Depending on the operation, the maximum supported value for transfer size can vary. For more information on transfer size limits for Blob storage, see the chart in [Scale targets for Blob storage](scalability-targets.md#scale-targets-for-blob-storage).
50
50
51
51
#### Code example
52
52
@@ -85,7 +85,7 @@ You can learn how the client library handles buffering in the following sections
85
85
86
86
#### Buffering during uploads
87
87
88
-
The Storage REST layer doesn’t support picking up a REST upload operation where you left off; individual transfers are either completed or lost. To ensure resiliency for stream uploads, the Storage client libraries buffer data for each individual REST call before starting the upload. In addition to network speed limitations, this buffering behavior is a reason to consider a smaller value for `BlockSize`, even when uploading in sequence. Decreasing the value of `BlockSize` decreases the maximum amount of data that is buffered on each request and each retry of a failed request. If you're experiencing frequent timeouts during data transfers of a certain size, reducing the value of `BlockSize` reduces the buffering time, and may result in better performance.
88
+
The Storage REST layer doesn’t support picking up a REST upload operation where you left off; individual transfers are either completed or lost. To ensure resiliency for stream uploads, the Storage client libraries buffer data for each individual REST call before starting the upload. In addition to network speed limitations, this buffering behavior is a reason to consider a smaller value for `BlockSize`, even when uploading in sequence. Decreasing the value of `BlockSize` decreases the maximum amount of data that is buffered on each request and each retry of a failed request. If you're experiencing frequent timeouts during data transfers of a certain size, reducing the value of `BlockSize` reduces the buffering time, and might result in better performance.
89
89
90
90
## Performance tuning for downloads
91
91
@@ -96,7 +96,7 @@ Properly tuning data transfer options is key to reliable performance for downloa
96
96
The following properties can be tuned based on the needs of your app:
97
97
98
98
-`BlockSize`: The maximum chunk size used for downloading a blob. Defaults to 4 MB.
99
-
-`Concurrency`: The maximum number of subtransfers that may be used in parallel. Defaults to 5.
99
+
-`Concurrency`: The maximum number of subtransfers that can be used in parallel. Defaults to 5.
100
100
101
101
These options are available when downloading using the following methods:
0 commit comments