Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion locale/en/docs/guides/dont-block-the-event-loop.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ If you're writing anything more complicated than a brief command-line script, re
This document is written with Node servers in mind, but the concepts apply to complex Node applications as well.
Where OS-specific details vary, this document is Linux-centric.

## TL; DR
## Summary
Node.js runs JavaScript code in the Event Loop (initialization and callbacks), and offers a Worker Pool to handle expensive tasks like file I/O.
Node scales well, sometimes better than more heavyweight approaches like Apache.
The secret to Node's scalability is that it uses a small number of threads to handle many clients.
Expand Down
2 changes: 1 addition & 1 deletion locale/fa/docs/guides/dont-block-the-event-loop.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ If you're writing anything more complicated than a brief command-line script, re
This document is written with Node servers in mind, but the concepts apply to complex Node applications as well.
Where OS-specific details vary, this document is Linux-centric.

## TL; DR
## Summary
Node.js runs JavaScript code in the Event Loop (initialization and callbacks), and offers a Worker Pool to handle expensive tasks like file I/O.
Node scales well, sometimes better than more heavyweight approaches like Apache.
The secret to Node's scalability is that it uses a small number of threads to handle many clients.
Expand Down
2 changes: 1 addition & 1 deletion locale/it/docs/guides/dont-block-the-event-loop.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ If you're writing anything more complicated than a brief command-line script, re
This document is written with Node servers in mind, but the concepts apply to complex Node applications as well.
Where OS-specific details vary, this document is Linux-centric.

## TL; DR
## Summary
Node.js runs JavaScript code in the Event Loop (initialization and callbacks), and offers a Worker Pool to handle expensive tasks like file I/O.
Node scales well, sometimes better than more heavyweight approaches like Apache.
The secret to Node's scalability is that it uses a small number of threads to handle many clients.
Expand Down
2 changes: 1 addition & 1 deletion locale/ja/docs/guides/dont-block-the-event-loop.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ If you're writing anything more complicated than a brief command-line script, re
This document is written with Node servers in mind, but the concepts apply to complex Node applications as well.
Where OS-specific details vary, this document is Linux-centric.

## TL; DR
## Summary
Node.js runs JavaScript code in the Event Loop (initialization and callbacks), and offers a Worker Pool to handle expensive tasks like file I/O.
Node scales well, sometimes better than more heavyweight approaches like Apache.
The secret to Node's scalability is that it uses a small number of threads to handle many clients.
Expand Down
2 changes: 1 addition & 1 deletion locale/zh-cn/docs/guides/dont-block-the-event-loop.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ layout: docs.hbs
此文档是从 Node 服务器开发的角度编写的,但这些概念也同样适用于复杂的 Node 应用程序。
文章中如有涉及到不同操作系统的细节,仅以 Linux 系统为代表。

## TL; DR
## 概述
Node.js 通过事件循环机制(初始化和回调)的方式运行 JavaScript 代码,并且提供了一个线程池处理诸如 文件 I/O 等高成本的任务。
Node 的伸缩性非常好,某些场景下它甚至比类似 Apache 等更重量级的解决方案表现更优异。
Node 可伸缩性的秘诀在于它仅使用了极少数的线程就可以处理大量客户端连接。
Expand Down