KarmaGYZ commented on a change in pull request #16561:
URL: https://github.com/apache/flink/pull/16561#discussion_r681380835



##########
File path: docs/content/docs/deployment/finegrained_resource.md
##########
@@ -0,0 +1,320 @@
+---
+title: Fine-Grained Resource Management
+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.
+-->
+
+# Fine-Grained Resource Management
+
+Apache Flink allows you to control the resource consumption of your workload 
in a finer granularity, namely **fine-grained resource management**.
+It provides means for users to further improve Flink’s resource efficiency 
with knowledge of their specific scenarios. 
+
+This page describes the fine-grained resource management’s usage, applicable 
scenarios, and how it works.
+
+{{< hint warning >}}
+**Note:** This feature is currently an MVP (“minimum viable product”) feature 
and only available to [DataStream API]({{< ref "docs/dev/datastream/overview" 
>}}).
+{{< /hint >}}
+
+## Applicable Scenarios
+
+Typical scenarios that potentially benefit from fine-grained resource 
management are where:
+
+  - Tasks have significantly different parallelisms.
+
+  - The resource needed for an entire pipeline is too much to fit into a 
single slot/task manager.
+
+  - Batch jobs where resources needed for tasks of different stages are 
significantly different
+
+An in-depth discussion on why fine-grained resource management can improve 
resource efficiency for the above scenarios is presented in [How it improves 
resource efficiency](#how-it-improves-resource-efficiency).
+
+## How it works
+
+As described in [Flink Architecture]({{< ref 
"docs/concepts/flink-architecture" >}}#anatomy-of-a-flink-cluster),
+the resource for task execution in TaskManager is split into a bunch of slots, 
where job tasks are scheduled.
+The slot is the basic unit of both resource scheduling and resource 
requirement in Flink runtime.

Review comment:
       Maybe `Flink's`?




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