dlespiau / balance Goto Github PK
View Code? Open in Web Editor NEWClient side load balancing for Kubernetes clusters
License: Apache License 2.0
Client side load balancing for Kubernetes clusters
License: Apache License 2.0
We want support to support logging, but as balance is a library, we should allow users to provide their own logging object we can use.
Maybe using coveralls.
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.
We need some start on e2e tests. A basic one could be:
With a 32-bit hash and lots of v-nodes, it doesn't take much to have collisions somewhat likely. For 32 endpoints, 256 v-nodes: 2**32/256/32 = 524288
.
We should be able to detect collisions and have a strategy to solve them (eg. hash of the hash?).
We could provide a LoadBalancer object that just uses the Kubernetes DNS/VIP so we can write generic code that just get an endpoint whether we use a fancy algorithm or just the default Service mechanism.
That's also the first step to be able to switch algorithms live, but that's another story.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.