Open lishixnew opened 6 years ago
What is mean '2W'?
@hangsucho Performance test, when the number of online connections reaches 2W CPU will reach 100%, how to solve?
@hangsucho He means 20000.
@lishixnew ,do you have use jstack or use Java Flame Graphs tools dump thred info analysis?
Ramp up time? 20K websocket. (concentrated at once? ping-pong packet)
and check JVM memory usage. jstat -gcutil PID
Computer config: CPU cores 8, Memory 16G JVM config: -Xmn512m -Xss256k -Xms2048m -Xmx2048m -XX:SurvivorRatio=8 -XX:MaxPermSize=128m
Perform pressure test on a single machine. When the current test limit reaches 2W, CPU 100% When deploying multiple socket.io servers on a single machine, each application can be tested up to 2W Why?
请问socket.io 单个应用最大连接数是多少?当前测试上限达到2W时,CPU100% computer config: CPU cores 8,Memory 16G JVM config: -Xmn512m -Xss256k -Xms2048m -Xmx2048m -XX:SurvivorRatio=8 -XX:MaxPermSize=128m
单台机器上进行压测,当前测试上限达到2W时,CPU100% 单台机器上部署多个socket.io服务端时,每个应用测试上限都可达到2W 为什么呢?