Auto-adjusts cake (or similar qdisc with bandwidth option) for your upload based on latency.
doc | ||
.gitignore | ||
.golangci.yaml | ||
config_sample.yaml | ||
go.mod | ||
go.sum | ||
LICENSE | ||
main.go | ||
README.md |
upload-baker
Auto-adjusts cake (or similar qdisc with bandwidth option) for your upload based on latency.
How it works
upload-baker
monitors your latency to a configurable host periodically.
As soon as the latency goes above the configured value (e.g. 50ms), it throttles the upload bandwidth to keep your ping stable.
Examples
Some examples below, recorded with telegraf & rendered with grafana.
Throttling
Recovery
Limitations
The mechanism used is not perfect, meaning increased latency can have more possibly causes than varying upload bandwidth from your isp (which is the main goal this project tries to solve).