You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Huang Xingbo (Jira)" <ji...@apache.org> on 2022/01/20 09:04:00 UTC

[jira] [Created] (FLINK-25718) FLIP-206: Support PyFlink Runtime Execution in Thread Mode

Huang Xingbo created FLINK-25718:
------------------------------------

             Summary: FLIP-206: Support PyFlink Runtime Execution in Thread Mode
                 Key: FLINK-25718
                 URL: https://issues.apache.org/jira/browse/FLINK-25718
             Project: Flink
          Issue Type: New Feature
          Components: API / Python
    Affects Versions: 1.15.0
            Reporter: Huang Xingbo
            Assignee: Huang Xingbo


We have provided PyFlink Runtime framework to support Python user-defined functions since Flink 1.10. The PyFlink Runtime framework is called Process Mode, which depends on an inter-process communication architecture based on the Apache Beam Portability framework. Although starting a dedicated process to execute Python user-defined functions could have better resource isolation, it will bring greater resource and performance overhead.

In order to overcome the resource and performance problems on Process Mode, we will propose a new execution mode which executes Python user-defined functions in the same thread instead of a separate process.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)