Expand description
Peer-aware load balancer for IPFRS network layer.
Distributes requests across peers based on capacity, health, and observed latency. Supports six selection strategies including consistent hashing and power-of-two choices.
Structs§
- Peer
Load Balancer - Peer-aware load balancer.
- PlbBalancer
Config - Configuration for
PeerLoadBalancer. - PlbBalancer
Stats - Aggregate statistics for the whole balancer.
- PlbPeer
State - Runtime state for a single peer tracked by the balancer.
- PlbPeer
Stats - Per-peer statistics snapshot.
- PlbRequest
Record - A single completed request record stored in the rolling log.
Enums§
- PlbError
- Errors produced by the load balancer.
- PlbStrategy
- Load-balancing selection strategy.
Type Aliases§
- PlbPeer
Id - 32-byte peer identifier used by the load balancer.
- PlbPeer
Load Balancer - Alias: the main load balancer type.