Grasping the Node JS alternative to multithreading

后端 未结 5 1092
慢半拍i
慢半拍i 2020-11-28 18:58

If I understand correctly Node JS is non blocking...so instead of waiting for a response from a database or other process it moved on to something else and checks back later

5条回答
  •  离开以前
    2020-11-28 19:35

    Since this question asked almost 2 years ago. Things are getting different or there are alternative approaches to multithreading problem on Node.JS

    According to below blog post, using the incoming 'task' extension, some can benefit from other available cores directly.

    http://oguzbastemur.blogspot.com/2013/12/multithread-nodejs.html

提交回复
热议问题