This update includes better handling of GOMAXPROCS
, the limiter for Go runtime to perform operations such as garbage collection and goroutine parallelization.
In Layman's terms, this means that http-server
now is more friendly to Kubernetes and other container environment deployments that impose limits (CPU/Memory) to http-server
by properly detecting the values provided while in containerized mode.
This is automatically transparent to users and, before this patch, resource contention with the offset between the container's knowledge of limits and the actual limits being different would potentially yield less RPS handling.
Try it out and provide your feedback, it's always welcomed!
What's Changed
- Add support for appropriate GOMAXPROCS that's aware of Kubernetes limits. by @patrickdappollonio in #136
Full Changelog: v2.5.1...v2.5.2