From c08697352bf104d2dce370caf46b2e8f7a5e245f Mon Sep 17 00:00:00 2001 From: MaleDong Date: Mon, 29 Apr 2019 08:21:11 +0800 Subject: [PATCH] chore: Change the title from 'TL;DR' to 'Abstract' In order to give a good understanding of 'TL;DR', change it to 'Abstract' to make it more proper. Ref: https://github.com/nodejs/nodejs.org/issues/2210. --- locale/en/docs/guides/dont-block-the-event-loop.md | 2 +- locale/fa/docs/guides/dont-block-the-event-loop.md | 2 +- locale/it/docs/guides/dont-block-the-event-loop.md | 2 +- locale/ja/docs/guides/dont-block-the-event-loop.md | 2 +- locale/zh-cn/docs/guides/dont-block-the-event-loop.md | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/locale/en/docs/guides/dont-block-the-event-loop.md b/locale/en/docs/guides/dont-block-the-event-loop.md index 14c9a11dea842..e720f73b5d01b 100644 --- a/locale/en/docs/guides/dont-block-the-event-loop.md +++ b/locale/en/docs/guides/dont-block-the-event-loop.md @@ -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. diff --git a/locale/fa/docs/guides/dont-block-the-event-loop.md b/locale/fa/docs/guides/dont-block-the-event-loop.md index f4a21872b5b53..263cb8ee84747 100644 --- a/locale/fa/docs/guides/dont-block-the-event-loop.md +++ b/locale/fa/docs/guides/dont-block-the-event-loop.md @@ -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. diff --git a/locale/it/docs/guides/dont-block-the-event-loop.md b/locale/it/docs/guides/dont-block-the-event-loop.md index faad7224597e2..3b9c027f49f61 100644 --- a/locale/it/docs/guides/dont-block-the-event-loop.md +++ b/locale/it/docs/guides/dont-block-the-event-loop.md @@ -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. diff --git a/locale/ja/docs/guides/dont-block-the-event-loop.md b/locale/ja/docs/guides/dont-block-the-event-loop.md index 12982a0a85dca..c10f3c9278aa8 100644 --- a/locale/ja/docs/guides/dont-block-the-event-loop.md +++ b/locale/ja/docs/guides/dont-block-the-event-loop.md @@ -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. diff --git a/locale/zh-cn/docs/guides/dont-block-the-event-loop.md b/locale/zh-cn/docs/guides/dont-block-the-event-loop.md index 49e4022939f18..7d2035859794e 100644 --- a/locale/zh-cn/docs/guides/dont-block-the-event-loop.md +++ b/locale/zh-cn/docs/guides/dont-block-the-event-loop.md @@ -11,7 +11,7 @@ layout: docs.hbs 此文档是从 Node 服务器开发的角度编写的,但这些概念也同样适用于复杂的 Node 应用程序。 文章中如有涉及到不同操作系统的细节,仅以 Linux 系统为代表。 -## TL; DR +## 概述 Node.js 通过事件循环机制(初始化和回调)的方式运行 JavaScript 代码,并且提供了一个线程池处理诸如 文件 I/O 等高成本的任务。 Node 的伸缩性非常好,某些场景下它甚至比类似 Apache 等更重量级的解决方案表现更优异。 Node 可伸缩性的秘诀在于它仅使用了极少数的线程就可以处理大量客户端连接。