没有一个好的websocket测试工具我用nodejs大致写了一个,测试1核1g维持1000个websocket测试代码如下所示var WebSocketClient = require('websocket').client; let first = 0; for (let i = 0; i < 1000; i++) { let client = new WebSocketC...
没有一个好的websocket测试工具我用nodejs大致写了一个,测试1核1g维持1000个websocket测试代码如下所示var WebSocketClient = require('websocket').client; let first = 0; for (let i = 0; i < 1000; i++) { let client = new WebSocketC...