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

ASF GitHub Bot commented on FLINK-7684:
---------------------------------------

Github user StephanEwen commented on the issue:

    https://github.com/apache/flink/pull/4723
  
    I think this needs a lot more description of what is happening.
    For example, this introduces a prominent new configuration setting on the 
`ExecutionConfig` that is nowhere described, making it hard to review this. The 
javadocs on the `OptimizationTarget` are minimal, and no other docs have been 
added.
    
    As a general thought: I am very skeptical about adding such new setting, I 
would actually like us to go the opposite way and reduce the number of nobs 
further and further over time. Unless there are vast differences in the 
behavior, I find that an opinionated good implementation or choice of technique 
is better for users than offering a knob.


> Avoid multiple data copies in MergingWindowSet
> ----------------------------------------------
>
>                 Key: FLINK-7684
>                 URL: https://issues.apache.org/jira/browse/FLINK-7684
>             Project: Flink
>          Issue Type: Improvement
>          Components: Streaming
>    Affects Versions: 1.2.0, 1.3.0, 1.2.1, 1.3.1, 1.3.2
>            Reporter: Piotr Nowojski
>            Assignee: Piotr Nowojski
>
> Currently MergingWindowSet uses ListState of tuples to persists it's mapping. 
> This is inefficient because this ListState of tuples must be converted to a 
> HashMap on each access.
> Furthermore, for some cases it might be inefficient to check whether mapping 
> has changed before saving it on state.
> Those two issues are causing multiple data copies and constructing multiple 
> Lists/Maps per each processed element, which is a reason for noticeable 
> performance issues.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to