You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (JIRA)" <ji...@apache.org> on 2018/02/05 13:29:00 UTC
[jira] [Commented] (FLINK-8172) Remove unnecessary synchronisation
in RecordSerializer
[ https://issues.apache.org/jira/browse/FLINK-8172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16352373#comment-16352373 ]
Chesnay Schepler commented on FLINK-8172:
-----------------------------------------
[~pnowojski] Was this issue subsumed by FLINK-8178?
> Remove unnecessary synchronisation in RecordSerializer
> ------------------------------------------------------
>
> Key: FLINK-8172
> URL: https://issues.apache.org/jira/browse/FLINK-8172
> Project: Flink
> Issue Type: Improvement
> Components: Network
> Affects Versions: 1.4.0, 1.3.2
> Reporter: Piotr Nowojski
> Assignee: Piotr Nowojski
> Priority: Major
> Fix For: 1.5.0
>
>
> 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).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)