[ 
https://issues.apache.org/jira/browse/HADOOP-1841?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

dhruba borthakur updated HADOOP-1841:
-------------------------------------

    Attachment: asyncRPC-4.patch

This patch is in response to Doug's comments that we need to show improvement 
in performance in the face of slow clients.

This patch has a unit test that creates a server with one handler thread. One 
thread makes an RPC and stops processing the response. Another thread then 
issues another RPC and it completes successfully even though the first thread 
has not yet consumed the RPC response. This test passes successfully with this 
patch whereas it fails with trunk.

Please let me know is it addresses your concerns. If so, then the only 
remaining thing to make this patch committable is to demonstrate that it does 
not degrade performance for sort runs.

> IPC server should write repsonses asynchronously
> ------------------------------------------------
>
>                 Key: HADOOP-1841
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1841
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: ipc
>            Reporter: Doug Cutting
>            Assignee: dhruba borthakur
>         Attachments: asyncRPC-2.patch, asyncRPC-4.patch, asyncRPC.patch, 
> asyncRPC.patch
>
>
> Hadoop's IPC Server currently writes responses from request handler threads 
> using blocking writes.  Performance and scalability might be improved if 
> responses were written asynchronously.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to