Skip to main content

SEGMENT_HANDLE_CACHE

Constant SEGMENT_HANDLE_CACHE 

Source
pub const SEGMENT_HANDLE_CACHE: usize = 256;
Expand description

Default number of segment files kept open for reads.

Covers every segment up to ~32 GiB of large payloads; trivial in file descriptors against the process limit, and the read path already groups a batch by segment, so misses are rare above a handful of segments.