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:
- is minimum limit worker executor thread pool size internal netty?
- is number of netty i/o workers same worker executor thread pool size?
- if not how these 2 sizes related ?
thanks, sudha
you should use executors.newcachedthreadpool() , limit number of workers int in *channelfactory instance
Comments
Post a Comment