[ 
https://issues.apache.org/jira/browse/BEAM-7574?focusedWorklogId=282318&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-282318
 ]

ASF GitHub Bot logged work on BEAM-7574:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 24/Jul/19 22:10
            Start Date: 24/Jul/19 22:10
    Worklog Time Spent: 10m 
      Work Description: je-ik commented on issue #8946: [BEAM-7574] fix Combine 
performance for SparkRunner
URL: https://github.com/apache/beam/pull/8946#issuecomment-514818460
 
 
   Run Spark ValidatesRunner
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 282318)
    Time Spent: 4h 40m  (was: 4.5h)

> Spark runner: Combine.perKey performance issues
> -----------------------------------------------
>
>                 Key: BEAM-7574
>                 URL: https://issues.apache.org/jira/browse/BEAM-7574
>             Project: Beam
>          Issue Type: Improvement
>          Components: runner-spark
>    Affects Versions: 2.13.0
>            Reporter: Jan Lukavský
>            Assignee: Jan Lukavský
>            Priority: Major
>          Time Spent: 4h 40m
>  Remaining Estimate: 0h
>
> Combine.perKey on current implementation uses technique of creating an 
> accumulator for each input key and then merge all these accumulators 
> together. Optimize this by:
>  * changing accumulator from Iterable to Map, and using addInput as much as 
> possible
>  * try to move the window explode to pre-shuffle (add window label to key for 
> non-merging windows), measure the impact, and if the impact is substantial, 
> implement that for at leasit window functions assigning to single (global) 
> window or single window per element (tumbling windows)



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to