Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-2674

Rework windowing logic

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 0.10.0
    • Fix Version/s: 1.0.0
    • Component/s: API / DataStream
    • Labels:
      None

      Description

      The windowing logic needs a major overhaul. This follows the design documents:

      Specifically, the following shortcomings need to be addressed:

      • Global parallel windows should be dropped
        -> for time, local windows are aligned and serve the same purpose
        -> there is currently no known robust and efficient parallel implementation of custom strategies
      • Event time and out of order arrival needs to be supported
      • Eviction of not accessed keys does not work. Non-accessed keys linger infinitely
      • Performance is currently bad for time windows, due to a overly general implementation
      • Resources are leaking, threads are not shut down
      • Elements are stored multiple times (discretizers, window buffers)
      • Finally, many implementations are buggy, produce wrong results

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sewen Stephan Ewen
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: