Architecture / Ownership before placement
One cache API.
Across tiers.
The engine owns GPU memory and model execution. OrbitKV owns external cache replicas, finds reusable prefixes, and holds pages until transfers finish.
How a request reuses KV
Compile
The adapter declares prefix, window and checkpoint rules. The shared contract turns them into page requirements for known token ranges from a valid HBM origin.
Prepare
The manager finds DRAM, SSD or remote candidates within query byte budgets. The same compiled requirements validate leased evidence and yield complete recovery boundaries across ranks.
Restore
Compiled ranges select SGLang's transferred and retained keys and vLLM's hybrid allocation. Leases hold pages through transfer completion.
Continue
The engine resumes computation; completed KV can be published for later reuse.
The vLLM adapter defers new admissions until an admitted restore reaches computation, avoiding deferred-queue capacity stalls. SGLang waits for leased readiness before allocating restore destinations. Each retains its own scheduler and HBM allocator.
Shared page requirements remove duplicate adapter arithmetic. They do not predict future tokens, analyze arbitrary model graphs or authorize reclamation. Automatic hybrid warming remains disabled. Exact GPU-byte gates qualify hybrid recovery; its standalone latency benefit is not yet measured. Ordinary recovery and request preparation have separate Qwen3-8B performance reports.
Read the architecture and ownership contracts →What comes next
The next local optimization measures transfer costs in Rust before changing path selection. Local storage and Mooncake TE transfers share cost observations and budgets; replica reuse, P/D handoff and TP/PP consumption keep distinct completion contracts. These roles can compose within one deployment. Dynamic cost selection remains planned.
Qualify matching replicas on two real hosts, then P/D with reusable cache. Single-node preparation and stopping controls are implemented and stay opt-in after the first repeated measurements. Replicated catalog shards and controlled placement handoff precede production distributed deployment. General lifetime analysis, resharding, cross-engine byte conversion and KV-aware routing remain future work.