Why is node.js only processing six requests at a time?

前端 未结 6 1793
长情又很酷
长情又很酷 2020-11-27 10:35

We have a node.js server which implements a REST API as a proxy to a central server which has a slightly different, and unfortunately asymmetric REST API.

Our client

6条回答
  •  孤城傲影
    2020-11-27 11:16

    Are you sure it just returns the results to the client? Node processes everything in one thread. So if you do some fancy response parsing or anything else which doesn't yield, then it would block all your requests.

提交回复
热议问题