Auto-adjusts cake (or similar qdisc with bandwidth option) for your upload based on latency.
Go to file
Giovanni Harting dd8727a1fa added linter conf, more code cleanup 2023-06-14 16:28:27 +02:00
doc added example images 2022-07-05 20:18:02 +02:00
.gitignore inital impl 2022-07-05 12:23:43 +02:00
.golangci.yaml added linter conf, more code cleanup 2023-06-14 16:28:27 +02:00
LICENSE added license 2022-07-05 12:38:02 +02:00
README.md update README.md to reflect new domain 2023-06-14 15:13:02 +02:00
config_sample.yaml added doc to config 2022-07-05 12:30:53 +02:00
go.mod update deps 2023-06-14 14:02:14 +02:00
go.sum update deps 2023-06-14 14:02:14 +02:00
main.go added linter conf, more code cleanup 2023-06-14 16:28:27 +02:00

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