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

Remove unnecessary synchronisation in RecordSerializer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3.2, 1.4.0
    • 1.5.0
    • Runtime / Network
    • None

    Description

      While writing the records, RecordSerializer is the only owner of the `Buffer` into which data are written. Yet we are synchronisation twice per record while accessing MemorySegment. Removing this synchronisation speeds up the Network throughput in point to point benchmark by a factor of two (from ~12500records/ms up to 23000 records/ms).

      Attachments

        Issue Links

          Activity

            People

              pnowojski Piotr Nowojski
              pnowojski Piotr Nowojski
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: