Re: Why is Node.js Single-threaded?
Because, it uses an event-driven architecture, which means that it listens for events and triggers a callback function when an event occurs. This allows it to handle multiple requests concurrently, without the need for multiple threads.
Sabela Carson
Web Developer at YES IT Labs
Subject
Written By
Posted
November 06, 2023 10:18PM
Re: Why is Node.js Single-threaded?
December 18, 2023 05:05AM
Sorry, only registered users may post in this forum.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.