Nodejs is not ideal for CPU intensive tasks

programming permanent

  • At it’s core, NodeJS is single-threaded and works in an event-driven manner.
  • When a heavy task is running, it blocks the Node.js event loop from moving forward for a longer period of time. This is completely different than languages like Java or Go, which are multi-threaded and can perform several actions at the same time. Source

Last update : 23 novembre 2023
Created : 21 septembre 2023