mirror of
https://github.com/kvcache-ai/Mooncake.git
synced 2026-11-05 01:17:55 +00:00
[GH-ISSUE #2911] [RFC]: Add optional Store transport connection warmup #754
Labels
No labels
ascend
auto-closed
bug
bug
CI/Build
Common
documentation
enhancement
feature request
good first issue
help wanted
high priority
MetaX
nightly-failure
pull-request
PyTorch Backend
question
RFC
Roadmap
stale
Store
Tests
Transfer Engine
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/Mooncake#754
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @zchuango on GitHub (Jul 14, 2026).
Original GitHub issue: https://github.com/kvcache-ai/Mooncake/issues/2911
Changes proposed
Motivation
In a multi-node Mooncake Store deployment, data may remain cold for a period of time before a burst of GET or write traffic arrives.
When transport connections to remote segments have not yet been established, many requests may concurrently enter the connection setup path and repeatedly poll the connection state. A sudden wave of these requests can create a connection storm, consume a large amount of client and transport resources, and in severe cases make the affected processes unstable or unresponsive.
The latency and resource pressure are especially visible when:
Proposed change
Add an optional, best-effort Store transport connection warmup during client setup.
The proposed flow is:
This is transport connection warmup rather than KV data or cache preloading. It does not write remote memory.
Safety and scalability
The feature should have the following safeguards:
If a probe times out, its destination buffer must remain owned until the Transfer Engine reports that the transfer can no longer write to it.
Scope
This proposal only adds Store-level connection warmup.
It does not:
Configuration
The initial implementation provides configuration for:
The default requested target count is finite, and the Master applies an additional hard cap to each request.
Expected benefit
For warmup targets that are later accessed by business traffic, the first request can avoid part of the metadata lookup, handshake, and endpoint initialization latency.
The expected benefit is primarily:
This proposal is not expected to increase steady-state transfer bandwidth.
Validation plan
The implementation should include:
Real cross-machine, RDMA/UB hardware, large-scale stress, and explicit connection-reuse measurements can be validated separately.
Before submitting a new issue...
@github-actions[bot] commented on GitHub (Jul 14, 2026):
Thanks for opening this issue, @zchuango!
237737874A maintainer will triage this when possible. To help us respond faster, please include:
Useful links: Documentation · Contributing guide
@github-actions[bot] commented on GitHub (Oct 13, 2026):
This issue has had no activity for 90 days and will be closed in 7 days if there is no further activity. Please comment or react if it should stay open.
@github-actions[bot] commented on GitHub (Oct 21, 2026):
Closing due to 3 months of inactivity. If this is still relevant, please comment and we can reopen.