[ 
https://issues.apache.org/jira/browse/FLUME-1330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13402649#comment-13402649
 ] 

Mubarak Seyed commented on FLUME-1330:
--------------------------------------

@Mike,
If you are not working on it, can i take a look? Thanks.

I think the fix is only one boss thread and N number of worker thread pool(when 
pool size is specified)

{code}
 server = new NettyServer(responder, new InetSocketAddress(bindAddress, port),
              new NioServerSocketChannelFactory(Executors.newFixedThreadPool(1),
                      Executors.newFixedThreadPool(maxThreads)));
{code}
                
> Avro Source should not use Fixed thread pool for boss threads when pool size 
> is specified
> -----------------------------------------------------------------------------------------
>
>                 Key: FLUME-1330
>                 URL: https://issues.apache.org/jira/browse/FLUME-1330
>             Project: Flume
>          Issue Type: Improvement
>            Reporter: Mike Percy
>
> Currently, AvroSource uses the same number of threads for the boss pool as 
> the worker pool when the pool size is specified. Specified pool size should 
> only affect the workers, not the boss.

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

        

Reply via email to