You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Shaun Williams (Updated) (JIRA)" <ji...@apache.org> on 2012/01/20 18:58:40 UTC

[jira] [Updated] (AVRO-1001) Adding thread pool to NettyServerAvroHandler

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

Shaun Williams updated AVRO-1001:
---------------------------------

    Attachment: mt_request_handling_netty.patch

patch for non-blocking request handling in NettyServer.
                
> Adding thread pool to NettyServerAvroHandler
> --------------------------------------------
>
>                 Key: AVRO-1001
>                 URL: https://issues.apache.org/jira/browse/AVRO-1001
>             Project: Avro
>          Issue Type: Improvement
>          Components: java
>    Affects Versions: 1.6.1
>            Reporter: Shaun Williams
>              Labels: patch
>         Attachments: mt_request_handling_netty.patch
>
>
> Request code review.
> The current NettyServer implementation processes each request/response sequentially on a single channel.  Thus in the case where a second request is received from the same client while a request is still being processed, the behavior is undefined.
> This patch updates NettyServerAvroHandler.messageReceived() to process each request in a separate thread using an ExecutorService. 

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