Skip to content

Commit

Permalink
doc update
Browse files Browse the repository at this point in the history
  • Loading branch information
jiachun.fjc committed Sep 29, 2018
1 parent c5c3395 commit 0a991fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/static_files/high_performance_rpc_with_netty.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 参数
Expand Down

0 comments on commit 0a991fa

Please sign in to comment.