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

add more efficient isEvent check to EventSerializer

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.0
    • Component/s: Network
    • Labels:
      None

      Description

      LocalInputChannel#getNextBuffer de-serialises all incoming events on the lookout for an EndOfPartitionEvent.
      Some buffer code de-serialises all incoming events on the lookout for an EndOfPartitionEvent
      (now applies to PartitionRequestQueue#isEndOfPartitionEvent()).

      Instead, if EventSerializer offered a function to check for an event type only without de-serialising the whole event, we could save some resources.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                NicoK Nico Kruber
                Reporter:
                NicoK Nico Kruber
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: