Skip to content

--load: multi-process load generator (--load-workers) for higher throughput #2914

Closed

Description

@cliffhall

The problem

The load generator runs in one Node process. In the #2838 author's measurements it trailed a bare SDK client by ~18% throughput at concurrency 10–50, so at high load the generator, not the server, can become the bottleneck.

Proposal

--load-workers <n> forks n generator processes, each running the shared engine with a share of the concurrency, rate and request budget, and merges their results into one summary. The histogram from #2838 (item 6) makes the latency merge exact. The merged summary must keep every current guarantee: the rate is spread across processes, the circuit breaker and Ctrl+C reach all workers, and thresholds judge the merged result.

Split out of #2838 (item 9, "further ideas"), which covered items 1–8. Filed as follow-up work rather than built there, at the maintainer's request.

Activity

  1. added this to the v2.16.0 milestone on Nov 5, 2026
  2. added
    enhancement
    v2
    on Nov 5, 2026
  3. cliffhall commented on Nov 5, 2026

    @cliffhall
    MemberAuthor

    Triage: Priority Low (total 5)

    Board: #28, Status Todo.

  4. modified the milestones: v2.16.0, v2.15.0 on Nov 5, 2026
  5. self-assigned this
    on Nov 5, 2026
  6. cliffhall commented on Nov 5, 2026

    @cliffhall
    MemberAuthor

    Shipped in #2930.

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

Metadata

Metadata

Assignees

Labels

enhancementv2

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions