RocMarshal commented on code in PR #27128:
URL: https://github.com/apache/flink/pull/27128#discussion_r2448627516


##########
docs/content/docs/deployment/tasks-scheduling/balanced_tasks_scheduling.md:
##########
@@ -0,0 +1,118 @@
+---
+title: Balanced Tasks Scheduling
+weight: 5
+type: docs
+
+---
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+# Balanced Tasks Scheduling
+
+This page describes the background and principle of balanced tasks scheduling, 
+how to use it when running streaming jobs.
+
+## Background
+
+When the parallelism of all vertices within a Flink streaming job is 
inconsistent,
+the [default strategy]({{< ref "docs/deployment/config" 
>}}#taskmanager-load-balance-mode)
+of Flink to deploy tasks sometimes leads some `TaskManagers` have more tasks 
while others have fewer tasks, 
+resulting in excessive resource utilization at some `TaskManagers` 
+that contain more tasks and becoming a bottleneck for the entire job 
processing.
+
+{{< img src="/fig/deployments/tasks-scheduling/tasks_scheduling_skew_case.svg" 
alt="The Skew Case of Tasks Scheduling" class="offset" width="50%" >}}
+
+As shown in figure (a), given a Flink job comprising two vertices, 
`JobVertex-A (JV-A)` and `JobVertex-B (JV-B)`, 

Review Comment:
   Thanks @davidradl for the review 
   
   The image is stored in SVG format with a transparent background, making the 
image title less visible on the GitHub preview page.



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to