Netty Worker Executor pool size and number of Netty I/O workers -


i using fixed thread pool of size 8 netty worker executor. tried send same curl requests again , again server. find curl requests hang after 7 or 8 times consistently. tried increase worker executor pool size 16 , able more curl requests earlier still hangs after 15 18 times. these questions:

  1. is minimum limit worker executor thread pool size internal netty?
  2. is number of netty i/o workers same worker executor thread pool size?
  3. if not how these 2 sizes related ?

thanks, sudha

you should use executors.newcachedthreadpool() , limit number of workers int in *channelfactory instance


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -