MySQL Forums
Forum List  »  Connector/Node.js

Re: Why is Node.js Single-threaded?
Posted by: Sabela Carson
Date: December 18, 2023 05:05AM

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

Options: ReplyQuote


Subject
Written By
Posted
January 08, 2023 11:47PM
January 25, 2023 12:56AM
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.