News for hackers. Stuff that matters.
Re:Sourcehut will blacklist the Go module mirror by vladharbuz on Monday January 09, 2023 @01:41PM (#34314202)
Thanks for the insight, Russ. Would you comment on what the potential consequences of opting out of background refreshes would be? Could there be any adverse effects for users?
Re:Sourcehut will blacklist the Go module mirror by rsc on Monday January 09, 2023 @02:31PM (#34314831)
Opting out of background refreshes would mean that fetching a module version that (1) no one else had fetched in a few days and (2) does not use a recognized open-source license might not be in the cache, which would make 'go get' take a little extra time while the proxy fetched it on demand. The amount of time would depend on the size of the repo, of course.

The background refresh is meant to prefetch for that situation, to avoid putting that time on an actual user request. It's not perfect but it's far less disruptive than having to set GOPRIVATE.

Re:Sourcehut will blacklist the Go module mirror by typical182 on Monday January 09, 2023 @02:45PM (#34314993)
Some people today raised concerns about disabling background refreshes (the temporary workaround originally suggested by the Go team) as having possibly unacceptable resulting performance for end users...

...but it sounds like disabling background refreshes would have strictly better end-user performance than what the Sourcehut team had been planning as described in their blog post today (GOPRIVATE and whatnot)?