Linora

0706. Large-page doc-worker pool, routed by estimated page size

Status: Accepted (2026-11-28). Extends 0304 (rendezvous hashing) and 0701 (byte-accounted LRU).

Context

A doc worker refuses a page whose estimated load (2.5x raw snapshot + 8 B/node) exceeds its LINORA_DOCWORKER_MAX_BYTES (2 GiB default) with 503, so pages near the 8M-node limit could not be queried at all. A page that fits but uses most of the cap is almost as bad: loading it evicts every other page of that worker, again and again. Making every worker big would multiply memory for the many small pages.

Decision

Alternatives

Consequences