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

Luke Lu commented on HADOOP-9421:
---------------------------------

bq. Given today's network speeds, I'm not going to fret over a handful of bytes 
that greatly enhance the design of the authentication layer.

It's not the bytes but a whole new network/rpc round trip that can be easily 
avoided. In WAN and/or when the network is busy the round trip latency can 
easily be in hundreds of ms.

bq. That patch resulted in an average 1% penalty and a median 2% penalty to the 
first RPC call using kerberos authentication - which translates to less than 
10ms.

10ms / 1% means the total latency is 1 second! Something is not right here.

bq. I can likely erase it by removing the unnecessary connection context

I doubt it, the unnecessary connection context is in the noise compared with a 
network/rpc round trip. 
                
> Convert SASL to use ProtoBuf and add lengths for non-blocking processing
> ------------------------------------------------------------------------
>
>                 Key: HADOOP-9421
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9421
>             Project: Hadoop Common
>          Issue Type: Sub-task
>    Affects Versions: 2.0.3-alpha
>            Reporter: Sanjay Radia
>            Assignee: Daryn Sharp
>         Attachments: HADOOP-9421.patch, HADOOP-9421.patch, HADOOP-9421.patch, 
> HADOOP-9421.patch, HADOOP-9421-v2-demo.patch
>
>


--
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