Skip to content

Instantly share code, notes, and snippets.

View the-wrong-guy's full-sized avatar
😶‍🌫️
Figuring Out

BHARGAB KALITA the-wrong-guy

😶‍🌫️
Figuring Out
View GitHub Profile
@tripathi-suraj
tripathi-suraj / NodeJs.md
Last active October 4, 2026 18:41
NodeJs Interview Questions

1.What is Nodejs?

Node.js is an extremely powerful framework developed on Chrome’s V8 JavaScript engine that compiles the JavaScript directly into the native machine code. Node.js is perfect for data-intensive applications as it uses an asynchronous, event-driven model. You can use I/O intensive web applications like video streaming sites.

How Nodejs Works

2.What is Node.js Process Model?

Node.js runs in a single process and the application code runs in a single thread and thereby needs less resources than other platforms. All the user requests to your web application will be handled by a single thread and all the I/O work or long running job is performed asynchronously for a particular request. So, this single thread doesn't have to wait for the request to complete and is free to handle the next request. When asynchronous I/O work completes then it processes the request further and sends the response.

3.How do