online Node.js server

前端 未结 4 788
粉色の甜心
粉色の甜心 2021-01-03 00:38

Is Node.js mature enough to make entire web applications in it? I mean entirely in Node.js. I read somewhere that for some reason there should be (for example) nginx behind

4条回答
  •  醉话见心
    2021-01-03 01:22

    node v0.6 introduced cluster, allowing multiple processes to fork and listen to a single socket. This allows node to take advantage of multiple cores/cpus. This was one of the big reasons to use something like nginx, as before cluster, a single node process would hog up an entire ip/port.

提交回复
热议问题