hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron T. Myers (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8071) Avoid an extra packet in client code when nagling is disabled
Date Tue, 14 Feb 2012 07:27:00 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-8071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13207558#comment-13207558

Aaron T. Myers commented on HADOOP-8071:

+1, the patch looks good to me. Great find.
> Avoid an extra packet in client code when nagling is disabled
> -------------------------------------------------------------
>                 Key: HADOOP-8071
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8071
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: ipc
>    Affects Versions: 0.23.1
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Minor
>         Attachments: hadoop-8071.txt
> Currently, if you disable TCP_NODELAY in the IPC client, you get an extra packet for
each call which contains the call's length. This is unnecessary. Instead, we can just reserve
the 4 bytes in the buffer up front, then go back to fill it in before pushing the call to
the wire.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message