Handling multiple parallel HTTP requests in Node.js

后端 未结 4 625
死守一世寂寞
死守一世寂寞 2021-01-07 19:12

I know that Node is non-blocking, but I just realized that the default behaviour of http.listen(8000) means that all HTTP requests are handled one-at-a-time. I

4条回答
  •  一个人的身影
    2021-01-07 19:34

    Browser blocks the other same requests. If you call it from different browsers then this will work parallelly.

提交回复
热议问题