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

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -