You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Shammon (Jira)" <ji...@apache.org> on 2022/10/14 02:41:00 UTC

[jira] [Created] (FLINK-29637) Improve to reuse threads in TaskManager for different tasks between jobs

Shammon created FLINK-29637:
-------------------------------

             Summary: Improve to reuse threads in TaskManager for different tasks between jobs
                 Key: FLINK-29637
                 URL: https://issues.apache.org/jira/browse/FLINK-29637
             Project: Flink
          Issue Type: Sub-task
          Components: Runtime / Task
    Affects Versions: 1.17.0
            Reporter: Shammon


Currently `TaskManager` will create multiple threads for each task, such as execution thread, cancel thread, source thread, flush thread and etc. These threads will be destroyed when the task is finished. In olap cluster, the `TaskManager` frequently creates and destroys threads, which causes a great waste of resources. We should improve the `TaskManager` to reuse these thread after the task is finished.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)