dlespiau / balance

Client side load balancing for Kubernetes clusters
Apache License 2.0
18 stars 1 forks source link

Write a stats Algorithm object #4

Open dlespiau opened 6 years ago

dlespiau commented 6 years ago

It's be nice to be able to gather statistics to observe decisions made by the load balancing algorithms. This could be done by introducing objects implementing the LoadBlancer and AffinityLoadBlancer interfaces and that would gather stats and call the real algorithm implementation.