klion26 commented on a change in pull request #8995:
FLINK-13106][doc-zh]Translate Parallel Execution page into Chinese
URL: https://github.com/apache/flink/pull/8995#discussion_r300818439
##########
File path: docs/dev/parallel.zh.md
##########
@@ -22,29 +22,20 @@ specific language governing permissions and limitations
under the License.
-->
-This section describes how the parallel execution of programs can be
configured in Flink. A Flink
-program consists of multiple tasks (transformations/operators, data sources,
and sinks). A task is split into
-several parallel instances for execution and each parallel instance processes
a subset of the task's
-input data. The number of parallel instances of a task is called its
*parallelism*.
-
-If you want to use [savepoints]({{ site.baseurl }}/ops/state/savepoints.html)
you should also consider
-setting a maximum parallelism (or `max parallelism`). When restoring from a
savepoint you can
-change the parallelism of specific operators or the whole program and this
setting specifies
-an upper bound on the parallelism. This is required because Flink internally
partitions state
-into key-groups and we cannot have `+Inf` number of key-groups because this
would be detrimental
-to performance.
+本节描述了如何在 Flink 中配置程序的并发执行。一个 Flink 程序由多个任务 task 组成(转换/算子、数据源和数据流出)。一个 task
包括多个并发执行的实例,且每一个实例都处理某个 task 输入数据的一个子集。一个 task 的并发实例数被称为该 task 的 parallelism。
+
+使用 [savepoints]({{ site.baseurl }}/zh/ops/state/savepoints.html) 时,应该考虑设置最大
parallelism。当作业从一个 savepoint 恢复时,你可以改变特定算子或着整个程序的 parallelism,并且此设置会限定
parallelism 的上限。由于在 Flink 内部将状态划分为了 key-groups,且性能所限不能无限制地增加 key-groups ,因此设定最大
parallelism 是有必要的。
Review comment:
`并且此设置会限定 parallelism 的上限` --> `并且此设置会限定整个程序的 parallelism 上限`?
`key-groups ,因此设定最大 parallelism 是有必要的` -> `key-groups,因此设定最大 parallelism
是有必要的`
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services