Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 895 Bytes

README.md

File metadata and controls

34 lines (21 loc) · 895 Bytes

err insufficent resources

Does your Chrome tell you that, upon making thousands of requests, it no longer has sufficient resources?

This repository reproduces the infamous ERR_INSUFFICIENT_RESOURCES bug that is in Chrome and possibly less prone to occur in browsers.

Discovery

We notice that at around 7000 "concurrent" requests, Chrome's network stack begins to fail. Firefox seems to have a better internal buffer or queue to handle outgoing requests and returning responses.

For the purpose of this test, we use 8000 requests and await on them, and increment a simple counter after each completed request.

Please see the screenshots directory for examples of failure in Chrome but success in Firefox.

Running

In a terminal:

cd backend
yarn start:dev

In another terminal:

cd frontend
yarn start

Tech

  • NestJS on backend API
  • CRA React on frontend UI