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

Package Throttle - Bitrate limit packages and downloads (support) #454

Closed
ferventcoder opened this issue Oct 8, 2015 · 6 comments
Closed

Comments

@ferventcoder
Copy link
Member

ferventcoder commented Oct 8, 2015

This will allow to reduce the download speeds for all licensed versions of Chocolatey. If you are in a low bandwidth area, you will be able to specify a max download rate for both package downloads and any downloads they may run for non-included software binaries.

@DarwinJS
Copy link
Contributor

This is extremely hard to do if you try to do it in proportion to percent of current on the wire available bandwidth - I have some PowerShell code I roughed out once - but handling the issue sufficiently gets deep fast.

One exception - just leverage bits - a known working implementation that services billions with Windows Updates. There is NOT even COM automation over bits - but there are some CMD scrapers written in PSH.

@ferventcoder
Copy link
Member Author

I've already done research on this aspect and came to the same conclusion.

@DarwinJS
Copy link
Contributor

@ferventcoder - you are the Thor of github responses - lightning fast 👍

@ferventcoder
Copy link
Member Author

only when I'm awake. :)

@DarwinJS
Copy link
Contributor

It get's really tough with server memory caching, disk caching and caching appliances to get a true "first pull" bandwidth read on the live wire. So a first pull of a small binary blob to "metric" the wire directly from the EXACT server you'll pull the rest from might give a read on end to end bandwidth - but then the object you did the metric with is cached in many places - complicating testing of accurate bandwidth measuring immensely.

Then if your blob size is not large enough - you don't know if you took advantage of a bandwidth burst.

@ferventcoder ferventcoder modified the milestones: 0.10.4, 0.10.x Mar 4, 2017
@ferventcoder ferventcoder self-assigned this Mar 4, 2017
@ferventcoder ferventcoder changed the title Bitrate limit packages and downloads Pro+ - Bitrate limit packages and downloads Mar 4, 2017
@ferventcoder
Copy link
Member Author

This will require changes made in 0.10.4 but will be in licensed editions starting at 1.10.0.

@ferventcoder ferventcoder changed the title Pro+ - Bitrate limit packages and downloads Package Throttle - Bitrate limit packages and downloads (support) Mar 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants