Expand description
Concrete PagingPolicy implementations.
Today: TieredPolicy, a single process-wide byte budget for resident
columns. Resident columns can move between Timely workers, so the
accounting cannot be thread-local; budget is held in a single
AtomicUsize and credited back from whichever thread happens to drop
the column.
Structsยง
- Tiered
Policy - A single-pool byte budget for resident columns.
Constantsยง
- BACKEND_
FILE ๐ - BACKEND_
SWAP ๐ - CODEC_
LZ4 ๐ - CODEC_
NONE ๐
Functionsยง
- decode_
backend ๐ - decode_
codec ๐ - encode_
backend ๐ - encode_
codec ๐ - try_
consume ๐ - Atomically subtracts
wantfromatomicif at leastwantis available. Returnstrueon success.