mkb / balancir Goto Github PK
View Code? Open in Web Editor NEWClient-side HTTP load balancer
License: MIT License
Client-side HTTP load balancer
License: MIT License
I'm leaning back toward putting the error detection into Connector rather than Distributor. That way, the Connector knows his error rate without the Distributor's benefit, resulting in fewer calls between classes. Seem reasonable?
What happens in ConnectionMonitor if the service's response time is longer than our polling interval? Can we be sure that timer events won't pile up and wreak havoc?
Googling around for weighted randomness I came across this gem which might be useful: https://github.com/ryanlecompte/weighted_randomizer
@wayneeseguin says we need a hook to call in the event of a failure. Damn fine idea. Instrumentation is nice, but notification is better for the big stuff.
By following the Rack middleware spec we can get idempotent retries and HMAC integration more or less for free.
The basic idea is described in this blog post. Most of the Rack specification won't come into play for us but it's worth a read.
This guy shows how to use Rack::Lint to make sure we really follow the spec.
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.