hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enis Soztutar (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-1841) IPC server should write repsonses asynchronously
Date Wed, 10 Oct 2007 15:10:50 GMT

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

Enis Soztutar commented on HADOOP-1841:

Hi Dhruba, 

I had written a similar architecture having a pseudo-code something like below, but could
not made it pass the tests. 


OutputHandler#run() {
 while(running) {
  //write data
  //register pending calls to selector

Handler#run() {
  //handle the call
  //prepare ByteBuffer
  //add call to the response queue


now looking at your patch, the reason mine did not work is that i've used SelectionKeys and
ResponseQueues per Call, rather that Connections. 

Anyway i'm +1 for this after we justify its necessity.  

> 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: Enis Soztutar
>         Attachments: 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.

View raw message