Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Update index.md (#488)
Browse files Browse the repository at this point in the history
Changed a section of paragraph 4 from "needs to perfotm" to "performs"
  • Loading branch information
kelvinotundoKE committed Apr 3, 2020
1 parent 0a048dd commit 0a84d3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/documentation/0001-node-introduction/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Node.js runs the V8 JavaScript engine, the core of Google Chrome, outside of the

A Node.js app is run in a single process, without creating a new thread for every request. Node.js provides a set of asynchronous I/O primitives in its standard library that prevent JavaScript code from blocking and generally, libraries in Node.js are written using non-blocking paradigms, making blocking behavior the exception rather than the norm.

When Node.js needs to perform an I/O operation, like reading from the network, accessing a database or the filesystem, instead of blocking the thread and wasting CPU cycles waiting, Node.js will resume the operations when the response comes back.
When Node.js performs an I/O operation, like reading from the network, accessing a database or the filesystem, instead of blocking the thread and wasting CPU cycles waiting, Node.js will resume the operations when the response comes back.

This allows Node.js to handle thousands of concurrent connections with a single server without introducing the burden of managing thread concurrency, which could be a significant source of bugs.

Expand Down

0 comments on commit 0a84d3d

Please sign in to comment.