vllm.distributed.ec_transfer.ec_connector.mooncake.control
¶
ZMQ control plane for Mooncake encoder-cache reservations and events.
Tensor bytes never travel through this module. It coordinates destination
reservations, completion/cancellation, TP-shard discovery, and readiness
notifications while transfer owns the Mooncake data plane.
Classes:
-
ConsumerControlServer–Expose Consumer reservations and readiness events over ZMQ.
-
ControlClient–Send control requests through reusable, thread-local REQ sockets.
-
EventInbox–Receive Consumer readiness events without blocking the Scheduler.
ConsumerControlServer
¶
Expose Consumer reservations and readiness events over ZMQ.
One server runs on every receiving TP rank. The REP channel handles reservation operations, while a PUSH channel publishes newly ready items to the Scheduler.
ControlClient
¶
Send control requests through reusable, thread-local REQ sockets.
EventInbox
¶
Receive Consumer readiness events without blocking the Scheduler.
Subscribing needs one blocking control request per shard, so it runs on
executor when one is given: an unreachable Consumer must cost the
Scheduler nothing, not one control timeout per drain.