Expand description
Peer bandwidth allocator using weighted max-min fairness.
Allocates outbound bandwidth fairly across peers with per-peer minimum
guarantees and hard caps. Supports three allocation strategies:
EqualShare, WeightedFair, and MaxMinFair.
Structs§
- Allocation
Stats - Aggregate statistics produced by
PeerBandwidthAllocator::stats. - Peer
Allocation - Per-peer allocation record.
- Peer
Bandwidth Allocator - Allocates outbound bandwidth fairly across peers.
Enums§
- Allocation
Strategy - Strategy used by
PeerBandwidthAllocatorwhen distributing bandwidth.