News for hackers. Stuff that matters.
Re:Visual Studio Code 1.7 overloaded npmjs.org, release reve... by chrismorgan on Wednesday November 02, 2016 @11:00PM (#12861304)
Yeah, 404 generation needs to be efficient for cases like this. Sounds like npm simply hadn’t encountered a situation where this mattered.
Re:Visual Studio Code 1.7 overloaded npmjs.org, release reve... by IsaacSchlueter on Thursday November 03, 2016 @11:56AM (#12865067)
404 generation needs to be efficient for cases like this.

Indeed!

In general, it is an extremely efficient response. It took a huge number of users all hammering on the same set of 404 handling routes to get our attention, and we were able to handle the load, though it wasn't trivial to do so. The end user impact was minimal.

If it hadn't been a known-good actor, we had some options to shut down the flood a bit more forcefully, but we didn't want to inadvertently cause errors for vscode users. Like my colleagues have said in this thread already, we really dig what VSCode is doing, and as operational fires go, this one got put out very swiftly and did very little harm.

All that being said, knowing the npm devops team, this will no doubt be a source of insights for making the registry even more resilient in the future :)