Netty アプリケーションを作成しているときに、パイプライン ハンドラにどのスレッド プールを使用すればよいかわかりません。
一緒に行くべきか
// OrderedMemoryAwareThreadPoolExecutor impl
OrderedMemoryAwareThreadPoolExecutor pipelineExecutor = new OrderedMemoryAwareThreadPoolExecutor(
200, 1048576, 1073741824, 100, TimeUnit.MILLISECONDS,
new NioDataSizeEstimator(), new NioThreadFactory("NioPipeline"));
また
ThreadPoolExecutor pool = new MemoryAwareThreadPoolExecutor(
16, 65536, 1048576, 30, TimeUnit.SECONDS,
new MyObjectSizeEstimator(),
Executors.defaultThreadFactory());
2つの違いについてはわかりません。
どんな助けでも大歓迎です。