提交 7a116845 编写于 作者: 浅梦2013's avatar 浅梦2013

📝 更新压测说明,添加 tcp 连接数更改文档地址

上级 768d7fd3
......@@ -32,7 +32,8 @@ public class MqttBenchmark {
public static void main(String[] args) {
// 1. 模拟 1w 连接,在开发机(i5-7500 4核4线程 win10 MqttServer 6G)1万连连接很轻松。
// 注意: windows 上需要修改最大的 Tcp 连接数,不然超不过 2W。
int connCount = 1_0000;
// 《修改Windows服务器最大的Tcp连接数》:https://www.jianshu.com/p/00136a97d2d8
int connCount = 2_0000;
int threadCount = 1000;
String ip = "8.130.24.89";
ExecutorService executor = Executors.newFixedThreadPool(threadCount);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册