klion26 commented on a change in pull request #8750: [FLINK-11606] Translate 
the "Distributed Runtime Environment" page in to Chinese
URL: https://github.com/apache/flink/pull/8750#discussion_r294121434
 
 

 ##########
 File path: docs/concepts/runtime.zh.md
 ##########
 @@ -26,102 +26,74 @@ under the License.
 * This will be replaced by the TOC
 {:toc}
 
-## Tasks and Operator Chains
+## 任务和算子链
 
-For distributed execution, Flink *chains* operator subtasks together into 
*tasks*. Each task is executed by one thread.
-Chaining operators together into tasks is a useful optimization: it reduces 
the overhead of thread-to-thread
-handover and buffering, and increases overall throughput while decreasing 
latency.
-The chaining behavior can be configured; see the [chaining 
docs](../dev/stream/operators/#task-chaining-and-resource-groups) for details.
+分布式计算中,Flink 将算子(operator)的 subtask *链接(chain)*成 task。每个 task 由一个线程执行。把算子链接成 
tasks 是一个很好的优化:它减少了线程间切换和缓冲的开销,并在降低延迟的同时提高了整体吞吐量。链接操作的配置详情可参考:[chaining 
docs](../dev/stream/operators/#task-chaining-and-resource-groups)
 
-The sample dataflow in the figure below is executed with five subtasks, and 
hence with five parallel threads.
+下图的 dataflow 由五个 subtasks 执行,因此具有五个并行线程。
 
 <img src="{{ site.baseurl }}/fig/tasks_chains.svg" alt="Operator chaining into 
Tasks" class="offset" width="80%" />
 
 {% top %}
 
-## Job Managers, Task Managers, Clients
+## Job Managers、Task Managers、客户端(Clients)
 
-The Flink runtime consists of two types of processes:
+Flink 运行时包含两类进程:
 
-  - The **JobManagers** (also called *masters*) coordinate the distributed 
execution. They schedule tasks, coordinate
-    checkpoints, coordinate recovery on failures, etc.
+  - **JobManagers** (也称为 *masters*)协调分布式计算。它们负责调度任务、协调 checkpoints、协调故障恢复等。
 
-    There is always at least one Job Manager. A high-availability setup will 
have multiple JobManagers, one of
-    which one is always the *leader*, and the others are *standby*.
+    至少需要一个 JobManager。高可用部署下会有多个 JobManagers,其中一个作为 *leader*,其余处于 *standby* 状态。
 
 Review comment:
   ```suggestion
       每个 Job 至少会有一个 JobManager。高可用部署下会有多个 JobManagers,其中一个作为 *leader*,其余处于 
*standby* 状态。
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to