4 ms·
I prefer some extensions to Netty EventLoop and EventLoopGroup classes. You get very clear semantics on the pool of threads you create. Running additional cal
by mleo 5y ago
I prefer some extensions to Netty EventLoop and EventLoopGroup classes. You get very clear semantics on the pool of threads you create. Running additional calls in async manner lets you add tasks back to the same thread in an orderable way. They implement ExecutorService so existing code won’t be impacted.
As far as Runnable semantics, use CompletableFuture or lambda enclosures and very little of the reuse issues appear.