Nodejs Multithreading

  node.js, question

Try to write a crawler, java is too heavy, python is currently in the learning stage, feeling slow, js is relatively handy, but js is event-driven, there is no concept of multithreading, if there are 10 pages to request at the same time, java can directly use 10 thread, node What’s to be done, does it send 10 asynchronous requests?

Initiate 10 asynchronous requests, faster than multithreading