Uploaded image for project: 'Apache Apex Malhar'
  1. Apache Apex Malhar
  2. APEXMALHAR-2359

Optimise fire trigger to avoid go through all data

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.7.0
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              brightchen Bright Chen
              brightchen Bright Chen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 144h
                  144h
                  Remaining:
                  Remaining Estimate - 144h
                  144h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified