Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Can't upgrade/'Bandwidth exceeded' #9690
Comments
|
@phihag Are these servers still managed by you? |
|
Yes they are. Unfortunately, it seems we're a victim of our popularity here; the hoster just contacted me because we're using way too much bandwidth. I'll look into it. |
|
Maybe we should do some fundraising (i.e. donations)? I'd be willing to contribute.. Edit: Also, in addition to hosting binaries on GitHub, maybe split the load to other sites like this: https://bintray.com/ Short-term methods for traffic alleviation .. |
|
While we certainly do appreciate donations, we'll need another hoster. We're in the process of moving right now. For now, updating should work again, certainly did for me. |
|
@Hrxn Does bintray.com impose bandwidth limitations? |
|
Well, not that I'm aware of. I just checked their site, and they have different account types and service levels. But they offer a Community account type, similar to GitHub, i.e. for open source projects / public projects.
The limitations for that account type are: No private repositories, no commercial-content repositories, there's a limit to the amount of REST API calls, you can't use your own domain name and advanced rights/access management is not available. Not something really needed, so looks good to me. And they offer nice automation features, as well as a good integration with GitHub, which is pretty useful, I think. W.R.T. Donations: You accept Bitcoins, much appreciated, was planning to get some anyway. I haven't touched this stuff in the last couple years, can you maybe point me to a good exchange or something? |
|
According to statistics provided by @phihag, neither Github nor Bintray is suitable. Maybe reduce the traffic in an update is the way. There are several approaches:
|
|
Are there any other hosters that can take 10TB/month? Squarspace famously advertises with unlimited traffic. |
|
Don't know what requirements you have, but for a test you could check out scaleway.com (https://www.scaleway.com/pricing/). Will cost you 3,50€ (incl. VAT) a month with 200mbit/s, 2GB RAM & 50GB SSD. Re unlimited bandwidth: https://community.scaleway.com/t/need-advice-for-distributing-game/800 Partial question from user:
Admin later answers:
|
Why is that? Did you find something about a Bintray limitation (traffic volume, concurrent bandwith) somewhere hidden on their site? Or is it API access or something like this? |
|
Bintray's pricing plans cost too much and our account can't afford that. |
|
Wait. Does bintray offer free plans for open source projects, no matter how much traffic? |
|
Yes, free plans for open source. I thought I said that. I searched their site and ToS, and it didn't said anything about traffic limitations. But binary distribution is the purpose of this site, as opposed to GitHub, who focus explicitly on source code. I am not surprised that they wouldn't be too happy here, considering that they didn't allow binary distribution at all first. |
|
Bintray's response: -250MB limit for single file uploads Bintray is out, too. |
|
Oh, wow. 2TB / month. Fine if you basically have no users, because that's like almost nothing. I don't know what they expect. If they want to to succeed commercially with their site, they have to do something for their popularity and visibility. I don't think that they're well-known yet. Or is it just me, and everyone else has already heard about these guys? |
|
At this point, I would ask prgmr.com explaining the full situation, of
course. Their plans have prioritized traffic but no specific data limit.
Also, is all the traffic legit? Doing some simple math results in
millions of downloads a month. Is that real traffic or are there any
specific abusers?
|
|
@rg3 I'm a little bit surprised, too. I haven't done detailed analysis, but we get about 300k requests on But the statistics by hosts don't show any surprising patterns. 600GB is caused by hosts with failed reverse DNS lookup. But no 2 in the list by traffic is already only 35GB, from a dynamic IP in Taiwan. 125.17.12.0 is hitting us 300M times/month, but only for The only thing that does look strange is user agents (number of requests): Maybe it would be a good idea to encode youtube-dl's platform, version number and file path in update requests. In addition, BubbleUPnP seems to stand out, but my guess is that they are responsible for the massive number of requests to |
|
I have contacted prgmr.com and they don't think their plans would work. However, they were kind enough to point me to CloudFlare. It seems they have free plans that could work for our case. /cc @FiloSottile who works there BTW. PS: I forgot the link: https://www.cloudflare.com/plans/ |
|
We can definitely help. It should work out of the box: throw a Free plan in front of the domain, and add a Page Rule to set the Cache Level to Cache Everything on the downloads, and one to limit the cache lifetime of the updates JSON. We'll probably eat most of the bandwidth and make the downloads much faster :) Let me know if you have any issues. |
|
Or even better, Cache Everything on all downloads, and call the CF API to purge the cache of /latest/ and of the json as part of the release process. |
|
youtube-dl.exe : 2.11 MB |
|
In the other hand, let's assume that 10TB are used monthly to download binaries. In any case, something is wrong. |
|
@WassimAttar Please ensure that your calculations and your technical understanding of the matters at hand are sound. In May, we had ~10 releases. (300K * 2MB + 200K * 1MB) * 10 = (600GB + 200 GB) * 10 = 8TB |
|
Oups, i made 100 factor error. |
|
It's been a month since we temporarily (?) moved to GitHub for hosting releases and during this time we've consumed expected 8 TiB of bandwidth:
@rg3 have you received any concrete complaints from GitHub staff yet? |
|
None so far. Cloudflare is still an option, though. On Sun, Jul 3, 2016, at 17:27, Sergey M. wrote:
|
|
As reported by @N1CEyk at #10123 (comment), Github.com is blocked in China. Although I'm not sure whether Cloudflare would be also blocked or not. |
|
I have tried Cloudflare just now.it is OK and needn't proxy at present. |
Visting https://yt-dl.org/downloads/latest/youtube-dl shows 'Bandwidth exceeded'. Unable to upgrade or download youtube-dl.