Comment by evantbyrne
3 months ago
It seems like git self-hosters frequently encounter DDoS issues. I know it's not typical for free software, but I wonder if gating file contents behind a login and allowing registrations could be the answer for self-hosting repositories on the cheap.
Self hosting a public git is as cheap as it can get, since it's completely static content
Sure you might get bandwidth saturated, but that can happen with any type of content
It's a lot less bandwidth to serve one login screen than the entire contents of all of your source repositories to a bunch of crawlers. You can also cache that one login screen in memory.