SourceHut nixes plan to ban grabby Go module proxy

  • 📰 TheRegister
  • ⏱ Reading Time:
  • 67 sec. here
  • 3 min. at publisher
  • 📊 Quality Score:
  • News: 30%
  • Publisher: 61%

United Kingdom Headlines News

United Kingdom Latest News,United Kingdom Headlines

What happens when you host code and git clone turns into a DDoS? Let's ask SourceHut

Git-based code host SourceHut will not have to block the Go Module Mirror as planned, after Google took notice of its complaints.

Here's the situation: for the past two years, SourceHut has struggled to deal with the amount of data demanded by the Go module proxy when developers use that tool to fetch repositories from the biz via git clone operations., modules consist of sets of Go packages with specific versions bundled together. Running thecommand from a command line interface fetches the requested packages with any new dependencies declared in the module.

Gathering this code from version control can cause latency and can tax storage because the command may scour the entire commit history of a repo with a transitive dependency – whether built or not – to resolve the version.is supposed to work faster by requesting only the specific metadata or source code it needs.

"A module mirror is a special kind of module proxy that caches metadata and source code in its own storage system, allowing the mirror to continue to serve source code that is no longer available from the original locations," the Go documentation explains."This can speed up downloads and protect you from disappearing dependencies."

Alas, the proxy proved to be impolite, asking for more data than a small code hosting firm could reasonably afford to bear. A year ago, Drew DeVault, founder of SourceHut, likened the situation to

 

Thank you for your comment. Your comment will be published after being reviewed.
Please try again later.
We have summarized this news so that you can read it quickly. If you are interested in the news, you can read the full text here. Read more:

 /  🏆 67. in UK

United Kingdom Latest News, United Kingdom Headlines

Similar News:You can also read news stories similar to this one that we have collected from other news sources.

Google Chrome dangerous to use for millions from next weekThe next version of Google Chrome will only work on Windows 10 and Windows 11
Source: Glasgow_Times - 🏆 76. / 59 Read more »

Google ready to kick the cookie habit by Q32024Google ready to kick the cookie habit by Q3 2024, for real this time
Source: TheRegister - 🏆 67. / 61 Read more »

Can Apple and Google continue as health app gatekeepers as well as distributors and developers? - npj Digital MedicineGoogle's and Apple's tightrope walk between enforcement and oversight as distributors and developers for healthapps tudresden_de NaturePortfolio
Source: medical_xpress - 🏆 101. / 51 Read more »