Node.js: More Threads Than You Think

Node.js was announced in 2009 as a single-threaded JavaScript runtime. In 2018, it became multi-threaded, and no one noticed. What can worker_threads do? What are they useful for? What's the best way of communicating between two threads? Scaling Node.js applications efficiently has long been a challenge for teams. Traditionally, Node.js runs on a single thread […]