From 0a991fa2c4f90a6a1d8db8add31d8005552d39b0 Mon Sep 17 00:00:00 2001 From: "jiachun.fjc" Date: Sat, 29 Sep 2018 11:32:58 +0800 Subject: [PATCH] doc update --- docs/static_files/high_performance_rpc_with_netty.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/static_files/high_performance_rpc_with_netty.md b/docs/static_files/high_performance_rpc_with_netty.md index 943d45e4..ac980258 100644 --- a/docs/static_files/high_performance_rpc_with_netty.md +++ b/docs/static_files/high_performance_rpc_with_netty.md @@ -355,7 +355,7 @@ __协议体__ * io.netty.maxDirectMemory * < 0:  不使用cleaner, netty方面直接继承jdk设置的最大direct memory size, (jdk的direct memory size是独立的, 这将导致总的direct memory size将是jdk配置的2倍) * == 0: 使用cleaner, netty方面不设置最大direct memory size - * > 0:  不使用cleaner, 并且这个参数将直接限制netty的最大direct memory size, (jdk的direct memory size是独立的, 不受此参数限制) + * '> 0:  不使用cleaner, 并且这个参数将直接限制netty的最大direct memory size, (jdk的direct memory size是独立的, 不受此参数限制) * 最佳连接数 * 一条连接有瓶颈, 无法有效利用cpu, 连接太多也白扯, 最佳实践是根据自己场景测试 * 使用PooledBytebuf时要善于利用 -Dio.netty.leakDetection.level 参数