[
https://issues.apache.org/jira/browse/HADOOP-13426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daryn Sharp updated HADOOP-13426:
---------------------------------
Attachment: HADOOP-13426.patch
Use an auto-framing buffer to add size. Removes need to create instances such
as DataOutputStreams for every responses. Use thread local to ensure maximum
reuse of buffers even in cases of SASL and exceptions.
> More efficiently build IPC responses
> ------------------------------------
>
> Key: HADOOP-13426
> URL: https://issues.apache.org/jira/browse/HADOOP-13426
> Project: Hadoop Common
> Issue Type: Sub-task
> Reporter: Daryn Sharp
> Assignee: Daryn Sharp
> Attachments: HADOOP-13426.patch
>
>
> The call response buffer is allowed to dynamically grow until a max size is
> reached. Often times the full size of the response can be known in advance
> which avoids copies. This is very advantageous for large responses.
> Automatic framing of the response buffer will also prevent unnecessary
> allocations and copies when the size is/isn't known.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]