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

Sanjay Radia commented on HADOOP-9163:
--------------------------------------

{code}
message RequestProto {
  /** Name of the RPC method */
  required string methodName = 1;

  /** Bytes corresponding to the client protobuf request */
  optional bytes request = 2;
.....
}
{code}
The request should be moved out as a separate message to avoid copying of the 
request.

                
> The rpc msg in  ProtobufRpcEngine.proto should be moved out to avoid an extra 
> copy
> ----------------------------------------------------------------------------------
>
>                 Key: HADOOP-9163
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9163
>             Project: Hadoop Common
>          Issue Type: Sub-task
>            Reporter: Sanjay Radia
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to