Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Bandwidth control #20

Open
Lykos153 opened this issue Apr 2, 2018 · 0 comments
Open

Add Bandwidth control #20

Lykos153 opened this issue Apr 2, 2018 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@Lykos153
Copy link
Owner

Lykos153 commented Apr 2, 2018

There doesn't seem to be an easy way to limit bandwidth in Python, so there are two possible solutions:

  1. We make use of trickle. Limits would be set by environment variables eg. GA_MAX_UPLOAD and GA_MAX_DOWNLOAD. The script would then check if one of them is set and if trickle is available. If so, it will call itself via trickle.

  2. We use very small chunks (Upload in chunks to report progress to annex #17) and the token bucket algorithm

@Lykos153 Lykos153 added this to the v1.0 milestone Apr 3, 2018
@Lykos153 Lykos153 modified the milestones: v1.0, v1.1 May 9, 2020
@Lykos153 Lykos153 added the enhancement New feature or request label May 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant