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

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

    Attachment: asyncRPC-7.patch

Incorporated Doug's review comments.

1. Cleaned up imports to reduce patch noise
2. I kept the Listener and the Responder as separate threads. These two 
functions are inherently parallel. The Responder needs to take locks on the 
response queue and putting this functionality in the Listener might interrupt 
the consumption rate of incoming RPCs.
3. Fixed processResponse to be inside a try-finally clause.
4. Renamed variable "status" as "more".

> 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
>             Fix For: 0.16.0
>
>         Attachments: asyncRPC-2.patch, asyncRPC-4.patch, asyncRPC-5.patch, 
> asyncRPC-6.patch, asyncRPC-7.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