Skip to main content

resolve_multiget_env_enabled

Function resolve_multiget_env_enabled 

Source
pub fn resolve_multiget_env_enabled() -> bool
Expand description

Gate: resolve-path lookup strategy, process-wide (WARATAH_RESOLVE_MULTIGET=1; off by default).

Off (default): bulk resolve walks sorted seeks (RocksDbRegistry::lookup_many_seek) with the registry’s fixed readahead — serial I/O, but streaming. On: batched point reads (RocksDbRegistry::lookup_many_multiget) — per-key blocks with no readahead, issued as one batch whose misses RocksDB can read independently. The A/B question is cold-cache misses, where the seek walk’s serial per-key cost dominates (the warm pass only ever covers a fraction of a large dictionary).