You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@avro.apache.org by GitBox <gi...@apache.org> on 2020/05/27 04:07:05 UTC

[GitHub] [avro] dkulp commented on pull request #887: [AVRO-2806] Upgrade from Netty 3 -> Netty 4

dkulp commented on pull request #887:
URL: https://github.com/apache/avro/pull/887#issuecomment-633975968


   > NettyServer -> new DefaultEventLoopGroup (16);
   > I am not sure whether the number of threads 16 meets the needs of the job.
   > In practice and application, regardless of memory consumption, I like to use the thread number formula to calculate
   > Nthreads = Ncpu * Ucpu * (1 + w / c);
   > So I think 16 can be used as the default value and the settings can be passed in through the constructor.
   
   I updated NettyServer to allow passing EventLoopGroup objects for each of the three groups it uses.   Thus, the user could configure each of the three as needed.   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org