[
https://issues.apache.org/jira/browse/HADOOP-7557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13100433#comment-13100433
]
Todd Lipcon commented on HADOOP-7557:
-------------------------------------
IMO key-value pairs as used in HTTP/etc are not appropriate for RPC due to
their lack of compactness. A typical HTTP payload is many KB, so a
multi-hundred-byte header seems fine. A typical Hadoop RPC payload may only be
a few bytes, so a lengthy header ("X-Hadoop-RPC-Version: 1.0") is a lot of
overhead. The obvious solution is to have well-defined numeric tags for each
header maintained centrally, and then just use those tags instead. And that's
basically protocol buffers :)
> Make IPC and RPC headers be extensible
> ---------------------------------------
>
> Key: HADOOP-7557
> URL: https://issues.apache.org/jira/browse/HADOOP-7557
> Project: Hadoop Common
> Issue Type: Improvement
> Reporter: Sanjay Radia
>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira