Auto-adjusts cake (or similar qdisc with bandwidth option) for your upload based on latency.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Giovanni Harting 809e3bd648 mark everything above ThrottlePingThreshold/2 as "unstable" 1 week ago
doc added example images 1 month ago
.gitignore inital impl 1 month ago
LICENSE added license 1 month ago
README.md Update 'README.md' 1 month ago
config_sample.yaml added doc to config 1 month ago
go.mod inital impl 1 month ago
go.sum inital impl 1 month ago
main.go mark everything above ThrottlePingThreshold/2 as "unstable" 1 week ago

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).