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

add more efficient isEvent check to EventSerializer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.3.0
    • Runtime / Network
    • 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

              nkruber Nico Kruber
              nkruber Nico Kruber
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: