fedn.network.loadbalancer package
The loadbalancer package is responsible for loadbalancing the clients to the combiners.
Submodules
fedn.network.loadbalancer.firstavailable module
- class fedn.network.loadbalancer.firstavailable.LeastPacked(network)[source]
Bases:
LoadBalancerBase
Load balancer that selects the first available combiner.
- Parameters:
network (class: fedn.network.api.network.Network) – A handle to the network.
fedn.network.loadbalancer.leastpacked module
- class fedn.network.loadbalancer.leastpacked.LeastPacked(network)[source]
Bases:
LoadBalancerBase
Load balancer that selects the combiner with the least number of attached clients.
- Parameters:
network (class: fedn.network.api.network.Network) – A handle to the network.