sgl-project/sglang

[Feature] Support piggyback server load report.

开放

#11,186 创建于 2025年10月3日

 (4 条评论) (0 个反应) (1 位负责人)Python (6,216 个派生)auto 404
good first issue

仓库指标

星标
 (28,442 个星标)
PR 合并指标
 (平均合并 2天 1小时) (30 天内合并 1,000 个 PR)

描述

Checklist

Motivation

To support a flexible and reliable load balancing strategy, external router (sgl-router) and internal controller (dp-controller) should be aware of the real-time load situation.

Current implementation uses a polling mechanism and a watch-based communicator to query load from the scheduler. However, this is flexible and elegant.

  • Implement a piggyback load reporting mechanism, in which load information is carried through restreaming token messages.
  • Also keep the watching mode, always storing the latest load information in http worker for external query.

Related resources

No response

贡献者指南