Skip to content

Integrate project fairness, rate limits, and aggregate probe budgets #1045

Closed

Description

@privateip

Parent: #1041

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.

Dependencies: #1042, #1043, #1044.

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.

Activity

  1. added theissue type on Oct 23, 2026
  2. self-assigned this
    on Oct 26, 2026
  3. privateip commented on Oct 26, 2026

    @privateip
    ContributorAuthor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions