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: README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,7 +50,7 @@ The AWS-C-S3 library is an asynchronous AWS S3 client focused on maximizing thro
50
50
51
51
2. **Maximum Parts Pending Read - `AWS_CRT_S3_MAX_PARTS_PENDING_READ`**
52
52
53
-
Controls the maximum number of parts that can be pending read from the input stream during a multipart upload. Higher values may improve upload throughput for large files by allowing more parts to be read in parallel, at the cost of higher memory usage.
53
+
Controls the maximum number of parts that can be pending read from the input stream during an individual multipart upload. Higher values may improve upload throughput for large files by allowing more parts to be read in parallel, only if the disk read speed can benefit from more concurrent reading of parts.
54
54
55
55
Example Usage:
56
56
@@ -63,10 +63,12 @@ The AWS-C-S3 library is an asynchronous AWS S3 client focused on maximizing thro
63
63
64
64
**Notes**:
65
65
* Only affects multipart uploads. Small files that fit in a single part are not affected.
66
+
* If there are multiple parallel multipart upload requests, each upload is limited by the value individually (not cumulatively).
66
67
* Setting this too low may introduce delays between reads, as the meta-request waits for the client to schedule more work.
67
68
* Setting this too high may cause a single upload to hog work tokens, starving other concurrent uploads.
68
69
* The value must be a positive integer (1–4294967295). Invalid or zero values are ignored with a warning, and the default is used.
69
70
* The value is read once on first use and cached for the lifetime of the process.
71
+
* If the network bandwidth of the device is too low, even a higher value of pending read might not be respected due to having maximum allowed requests in flight.
0 commit comments