Hi all,
I am trying to port a multichannel application to Netty 4, which is currently working with Netty 3.
In the current setup with Netty 3, when I add my main handler to the pipeline I am using the OrderedMemoryAwareThreadPoolExecutor.
By this threadpool executor, I can monitor the current active threads, tasks in queue etc, so that I can understand when there is a lock or a heavy job that makes the system wait.
Now when I try to port to Netty 4, There is no OrderedMemoryAwareThreadPoolExecutor.
People say that I should use DefaultEventLoopGroup (with number of threads) instead which is not suitable for me as I can not get the active threads from DefaultEventLoopGroup etc.
So, to solve the problem I checked for a Multithreaded executor and I saw the UnorderedThreadPoolEventExecutor, but this has no ordering of channel events.
I will also need the ordering that OrderedMemoryAwareThreadPoolExecutor provided.
So how can I run a netty handler with a threadpool executor that also has the ordering ?
Thanks in advance