Struct MaximumHedgeBufferOption (3.14.0-rc)
Stay organized with collections
Save and categorize content based on your preferences.
The largest read, in bytes, that is eligible for hedging.
Racing requests each buffer their own copy of the data, so the memory used by a raced read grows with the size of that read. A read larger than this value is served without hedging, reading directly into the application's buffer, which bounds that growth. Note this is the size the application asks for in a single read (e.g. stream.read(buf, n)), not the size of the object or of a requested range.
This bound applies to every raced read, both the stream open and any stalled read that is raced later, so a stream can hold up to MaxReadHedgesOption + 1 buffers of this size at once.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-11-04 UTC."],[],[]]