Skip to content

Commit

Permalink
[FLINK-8849][docs] Fix links to chaining docs
Browse files Browse the repository at this point in the history
This closes #5630.
  • Loading branch information
kkrugler authored and neoremind committed Mar 6, 2018
1 parent a6cd130 commit a7a8e50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/concepts/runtime.md
Expand Up @@ -31,7 +31,7 @@ under the License.
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/datastream_api.html#task-chaining-and-resource-groups) for details.
The chaining behavior can be configured; see the [chaining docs](../dev/stream/operators/#task-chaining-and-resource-groups) for details.

The sample dataflow in the figure below is executed with five subtasks, and hence with five parallel threads.

Expand Down Expand Up @@ -98,7 +98,7 @@ job. Allowing this *slot sharing* has two main benefits:

<img src="../fig/slot_sharing.svg" alt="TaskManagers with shared Task Slots" class="offset" width="80%" />

The APIs also include a *[resource group](../dev/datastream_api.html#task-chaining-and-resource-groups)* mechanism which can be used to prevent undesirable slot sharing.
The APIs also include a *[resource group](../dev/stream/operators/#task-chaining-and-resource-groups)* mechanism which can be used to prevent undesirable slot sharing.

As a rule-of-thumb, a good default number of task slots would be the number of CPU cores.
With hyper-threading, each slot then takes 2 or more hardware thread contexts.
Expand Down

0 comments on commit a7a8e50

Please sign in to comment.