apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "bright chen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (APEXMALHAR-2359) Optimise fire trigger to avoid go through all data
Date Tue, 29 Nov 2016 19:54:59 GMT
bright chen created APEXMALHAR-2359:
---------------------------------------

             Summary: Optimise fire trigger to avoid go through all data
                 Key: APEXMALHAR-2359
                 URL: https://issues.apache.org/jira/browse/APEXMALHAR-2359
             Project: Apache Apex Malhar
          Issue Type: Improvement
            Reporter: bright chen
            Assignee: bright chen


KeyedWindowedOperatorImpl.fireNormalTrigger(Window, boolean) currently go through each window
and key to check value. The data collection could be very huge as the discard period could
be relative long time. If fireOnlyUpdatedPanes is false probably there don't have much space
to improve. But if fireOnlyUpdatedPanes is true, we don't have to go through the whole data
collection. We only need to go through the window and key which handle after last trigger.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message