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)