You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Doug Cutting (Resolved) (JIRA)" <ji...@apache.org> on 2011/12/13 01:13:35 UTC

[jira] [Resolved] (AVRO-976) NettyServer: enable use of an ExecutionHandler

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

Doug Cutting resolved AVRO-976.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 1.6.2
         Assignee: Bruno Dumon
     Hadoop Flags: Reviewed

I committed this.  Thanks, Bruno!
                
> NettyServer: enable use of an ExecutionHandler
> ----------------------------------------------
>
>                 Key: AVRO-976
>                 URL: https://issues.apache.org/jira/browse/AVRO-976
>             Project: Avro
>          Issue Type: Improvement
>          Components: java
>            Reporter: Bruno Dumon
>            Assignee: Bruno Dumon
>            Priority: Minor
>             Fix For: 1.6.2
>
>         Attachments: AVRO-976.patch
>
>
> I noticed that when using a multi-threaded netty-based avro client, the server was only processing one request at a time. This is a problem if processing the request takes time (io wait).
> The solution Netty provides is the ExecutionHandler:
> http://docs.jboss.org/netty/3.2/api/org/jboss/netty/handler/execution/ExecutionHandler.html
> I will attach a patch which allows the user to provide, optionally, such an ExecutionHandler, which is then inserted into the Netty pipeline.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira