Skip to content

mesh: MeshConfig.maxInflightPerPeer on the teapot #98

Done

Description

@chrnx-dev

A teacup that times out an RPC never cancels it on the teapot, so one peer can pile up unbounded work.

Do: cap concurrent RPCs per authenticated peer on the teapot; over the cap, answer 503 + retry-after. Cancellation of timed-out work is the cancel-frame issue.

The in-flight counters are reused by the least-inflight balancing strategy.

Scope: @experimental exports, MeshConfig, mesh:* events and the /__mesh__ prefix only (D19).

Activity

  1. added
    security
    area: mesh
    on Nov 24, 2026
  2. added this to the Mesh: resilience milestone on Nov 24, 2026
  3. chrnx-dev commented on Nov 30, 2026

    @chrnx-dev
    ContributorAuthor

    Regression benchmark (2026-11-30)

    Full method, tables and bisect: https://github.com/Expressive-Tea/green-tea/blob/develop/bench/results/mesh-week1-46e0bc9-20f5094/README.md

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: meshsecurity

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions