You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Integrate project fairness, rate limits, and aggregate probe budgets #1045
Deliverable: backend admission and execution controls that bound customer load and destination traffic independently of upstream protections.
Schedule customer diagnostics through the existing shared executor using trusted project identity. Bound burst and sustained admissions, active execution, queues, and per-project and per-destination probe traffic. Account for diagnostic cost and the number of selected routers before execution. Specify and enforce which aggregate budgets include operator and FabricQuery traffic so alternate callers cannot silently bypass the documented ceilings.
Work items:
Integrate customer requests with project-fair scheduling alongside operator and FabricQuery work.
Implement configurable admission rates, concurrency and queue caps, and project/destination probe budgets with fan-out-aware accounting.
Enforce the agreed replica and leadership-change accounting, with bounded behavior when the limiter or its state is unavailable.
Return typed throttling and retry guidance, and test bursts, competing projects, repeated requests, aggregate destination load, and invalid limit configuration.
Acceptance: Load tests demonstrate the configured ceilings and fair progress for competing projects through the shared scheduler. Destination traffic remains within the agreed aggregate budget even when requests use different project identities. Reconnects, multiple gateway replicas, leadership changes, and limiter failures do not reset or bypass the agreed bounds. Excess work is rejected or waits only within bounded queues; existing destination restrictions remain enforced.
Operator-settable admission limits move to #1047, which already owns validated configuration and safe defaults for the Looking Glass backend.
#1115 enforces every budget this issue covers at the contract's default values, and the gateway validates any limit set before it starts. Only the existing cell slot and queue flags can lower them today. Exposing the rates and caps as configuration, together with the node permit packaging, is part of #1047. With that deferral, #1115 closes this issue.
Activity
privateip commentedon Oct 26, 2026
Operator-settable admission limits move to #1047, which already owns validated configuration and safe defaults for the Looking Glass backend.
#1115 enforces every budget this issue covers at the contract's default values, and the gateway validates any limit set before it starts. Only the existing cell slot and queue flags can lower them today. Exposing the rates and caps as configuration, together with the node permit packaging, is part of #1047. With that deferral, #1115 closes this issue.