About 298,000 results
Open links in new tab
  1. Why is Node.js single threaded? - Stack Overflow

    Jul 31, 2013 · Also, Node.js contributors didn't choose single-threaded nature of JavaScript, the authors of JavaScript did. I can't think of a way JS could work in a multithreaded context, but even if there …

  2. Is NodeJS really Single-Threaded? - Stack Overflow

    Dec 10, 2019 · JavaScript is single threaded, so is event-model. But Node stack is not single-threaded. Node utilizes V8 engine for concurrency.

  3. how javascript single threaded and asynchronous

    Mar 14, 2016 · Under the hood, JavaScript operates within a single-threaded event loop model, where the main thread handles most tasks. However, this model integrates asynchronous operations like …

  4. event loop - Why is Node.js called single threaded when it maintains ...

    Jan 13, 2018 · Node.js maintains an event loop but then it also has by default four threads for the complicated requests. How this is single threaded when there are more threads available in the …

  5. node.js - How does Asynchronous programming work in a single …

    Jan 24, 2012 · I was going through the details of node.js and came to know that, It supports asynchronous programming though essentially it provides a single threaded model. How is …

  6. How the single threaded non blocking IO model works in Node.js

    Feb 10, 2013 · The event loop is what allows Node.js to perform non-blocking I/O operations — despite the fact that JavaScript is single-threaded — by offloading operations to the system kernel whenever …

  7. What does it mean by single thread in Nodejs - Stack Overflow

    Nov 26, 2013 · Node.js keeps a single thread for your code… It really is a single thread running: you can’t do any parallel code execution; doing a “sleep” for example will block the server for one second:

  8. Is really NodeJS Singlethread or Multithread? - Stack Overflow

    Oct 4, 2018 · The Node.js runtime is a multithreaded program written in C++. But the JavaScript programs you can run in Node.js are all single-threaded, since JavaScript is a single-threaded …

  9. What does it mean when they say JavaScript is single-threaded?

    Jan 18, 2016 · Details When you asked your question in 2016, JavaScript the language was silent on the topic of threading and your interpretation that it was really host environments (browsers, Node.js, …

  10. javascript - Node.js single-thread mechanism - Stack Overflow

    Jan 12, 2021 · I learnt Node.js is single-threaded and non-blocking. Here I saw a nice explanation How, in general, does Node.js handle 10,000 concurrent requests? But the first answer says The …