WriteBufferTuningOptions

WriteBufferTuningOptions record

Buffer tuning for write operations.

public record WriteBufferTuningOptions

Constructors

NameDescription
WriteBufferTuningOptions()The default constructor.

Properties

NameDescription
static Default { get; }Default tuning options. Read-only, WriteBufferTuningOptions.
MinimumSegmentSizeBytes { get; set; }Minimum buffer segment the writer will request from its pool. Values are clamped to MinSegmentSizeBytesMaxSegmentSizeBytes and aligned up to the nearest 4 KiB boundary. Read-only, Int32.
ProducerFlushThresholdBytes { get; set; }Number of produced bytes after which a flush is attempted to apply backpressure for synchronous writers. Values are clamped to MinFlushThresholdBytesMaxFlushThresholdBytes and aligned up to the nearest 4 KiB boundary. Read-only, Int32.

Fields

NameDescription
const MaxFlushThresholdBytesMaximum allowed flush threshold in bytes (16 MiB).
const MaxSegmentSizeBytesMaximum allowed segment size in bytes (4 MiB).
const MinFlushThresholdBytesMinimum allowed flush threshold in bytes (4 KiB).
const MinSegmentSizeBytesMinimum allowed segment size in bytes (4 KiB).

See Also