[ 
https://issues.apache.org/jira/browse/FLINK-33316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17777554#comment-17777554
 ] 

Rui Fan edited comment on FLINK-33316 at 10/20/23 3:51 AM:
-----------------------------------------------------------

Thanks for your explanation!

I will cherry-pick it to release-1.17 and 1.18 later, and don't block the 
release of 1.18.0.

 


was (Author: fanrui):
Thanks for your explanation!

I will cherry-pick them and don't block the release of 1.18.0.

 

> Avoid unnecessary heavy getStreamOperatorFactory
> ------------------------------------------------
>
>                 Key: FLINK-33316
>                 URL: https://issues.apache.org/jira/browse/FLINK-33316
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Runtime / Configuration
>    Affects Versions: 1.17.0, 1.18.0
>            Reporter: Rui Fan
>            Assignee: Rui Fan
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.19.0
>
>
> See FLINK-33315 for details.
> This Jira focus on avoid unnecessary heavy getStreamOperatorFactory, it can 
> optimize the memory and cpu cost of Replica_2 in FLINK-33315.
> Solution: We can store the serializedUdfClassName at StreamConfig, and using 
> the getStreamOperatorFactoryClassName instead of the heavy 
> getStreamOperatorFactory in OperatorChain#getOperatorRecordsOutCounter.



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

Reply via email to