4 ms·
I'll just rehost my git repos on a git host who doesn't mind actually doing their job as a git host by letting git clients clone git repos.
by counttheforks 4y ago
I'll just rehost my git repos on a git host who doesn't mind actually doing their job as a git host by letting git clients clone git repos.
- Arnavion 4y agoWhat does your ideal git host do when one of its (non-paying) clients uses bots to clones repos so hard that its (paying) human clients are unable to clone their repos?
- counttheforks 4y agoImprove infrastructure. Apparently they are trivially DDOSable by anyone renting a few servers and running git clone in a loop? That's a problem they should solve. And no, blocking by user agent is not adequate protection.
- Arnavion 4y agoInfrastructure costs. So you'd be willing to pay more for that?
- counttheforks 4y agoI already pay for GitHub, am fine with that and they manage. So yes.
- lmas 4y agoYou're not paying for the traffic load though, Microsoft does. I think it's unfair to compare a forge run by a giant and one run by a tiny company, or for that matter, self hosting users.
- 0cf8612b2e1e 4y agoSome napkin math: - peak queries are 2500 requests per hour - some repos are 4gb in size - let’s round and say 2000 requests at 1gb = 2000 gb/hour = 48000 gb/day - AWS bandwidth at $0.02 / gb = $960 / day = $28,800 / month So, one of the richest companies in the world is charging you nearly $30k monthly because they cannot be bothered to be polite. Would you be ok with that situation?
- jdiff 4y agoFrom what I can tell, per Drew's own characterization of the requests[0], this is wildly off in all aspects. Most repos are hundreds of KB. Large repos are a dozen MB. Per the other guy's characterization[1], his repo was less than 8MB, right in line with what I see in other repos. He saw 4GB of traffic split up across "more than 500" requests. And as Drew said, these bouts of activity aren't sustained even across an entire hour. To top it off, the cost of AWS bandwidth is about the least representative example you could have picked. You've wandered off the path at nearly every available opportunity. [0] https://github.com/golang/go/issues/44577#issuecomment-785319804 https://github.com/golang/go/issues/44577#issuecomment-78531... [1] https://github.com/golang/go/issues/44577#issuecomment-851079949 https://github.com/golang/go/issues/44577#issuecomment-85107...