back to article Sourcehut to shun Google's Go Module Mirror over greed

Sourcehut, a code hosting service similar to GitHub, GitLab, Gitea, and the like, plans to start blocking the Go Module Mirror, a proxy that fetches and caches code from git servers, because it has been using up too much network bandwidth. Starting February 24, developers running go get or a similar command on Go packages, in …

  1. big_D Silver badge

    Google DoS

    I've been on the receiving end of a Google DoS and there is literally nothing you can do about it.

    Our internet connection at work suddenly stopped responding. The modem showed activity, but requests going out timed out. I pulled up the firewall and monitored it, a single IP address was bombarding our internet connection with traffic. We had a 10 mbps connection at the time and it was saturated. I recorded the IP address and did a look-up (over mobile data), it was registered as an address in one of Google's California datacentres.

    I tried calling them, no way to get through to a human and just constantly telling me to use the relevant part of the Google website... Only, there was nothing on the Google website about what to do, if Google is DoSing you! So I tried their mail addresses for abuse and webmaster, both returned automated replies informing me that the emails had been automatically deleted without reading. Even pinging them on Twitter didn't do anything. In the end, I contacted our ISP and they weren't happy either, our 10mbps conection was being flooded, but the server was pushing well over 1gbps into their network! They put a perimeter IP block on the address. The first month was free, after that, we would have to pay.

    Luckily, we were in the middle of switching providers, so we quickly moved over to the new provider and new IP address. After the month ran out, we didn't extend the IP block. The contract with the old provider ran another 3 months. I checked in, just before the contract was due to end, that Google server was still pumping the gpbs to our address (well, I assume it was still pumping 1gbps, but more than the 10mpbs that the line was capable of).

  2. Pascal Monett Silver badge

    "2,500 times per hour"

    That is 2494 times too many.

    Any sane code should control how long it's been since it downloaded that specific data block. If less than 10 minutes, there's absolutely no reason to automatically query it again.

    Manually, you do what you want, but automatically you tone it down.

    The Internet does not belong to your code.

    1. big_D Silver badge

      Re: "2,500 times per hour"

      Wouldn't a more sensible method to be to put a push notification into the individual repositories, so that they inform the mirrors that what has changed? They would know immediately what had changed, and when, and they would only need to pull the changed files.

  3. Claptrap314 Silver badge

    "We're Google. We don't have to care" (With apologies to Lily Tomlin)

    1. Anonymous Coward
      Anonymous Coward

      Ah, Ernestine - forever fresh?

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

Other stories you might like