aasmith / docker-cpu-agent Goto Github PK
View Code? Open in Web Editor NEWA tiny agent that tells you how much idle CPU is available.
Home Page: https://hub.docker.com/r/aasmith/cpu-agent/
A tiny agent that tells you how much idle CPU is available.
Home Page: https://hub.docker.com/r/aasmith/cpu-agent/
When a node is overloaded, the node will report a very low idle number. The consumer, such a proxy will back off connections significantly to help reduce workload on the node. Once this work is complete, the node will likely be very idle, as the upstream proxy will not be sending in many connections. The node will then report 99 idle or something very high. If the node is somewhat degraded, it may not be able to handle peak load, that it will now certainly get from the proxy. It will report near zero and perform below average, continuing this whipsaw effect.
The proposed solution is to gradually report an increase in idle over a given number of samples, therefore allowing the proxy to ramp traffic gradually and discover the right load for the node.
Currently zero idle is a hidden condition. This is desirable for my use case, but may not be for others. It should be a runtime option.
Small detail, but the internal port should be something sensible, not 12345.
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.