Skip to content

refactor(h2): distribute connection overhead proportionally by bytes transferred #1213

Closed

Description

@FlorentinDUBOIS

The current distribute_overhead() function divides connection overhead evenly across active streams. This can attribute disproportionate overhead to short-lived streams vs. long-lived ones.

Change to proportional attribution by bytes transferred per stream for more accurate per-request metrics.

Reference: PR #1209 review finding G-9.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementh2-mux

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions