Benchmarkt socket.io

前端 未结 3 1353
走了就别回头了
走了就别回头了 2021-02-03 14:42

I want to benchmark my socket.io server. I want to test how many parallel connections and messages the server can handle.

But my socket.io server crash after some minut

3条回答
  •  余生分开走
    2021-02-03 15:25

    You may check Akinji

    It opens concurrent sockets to server and listens given message and print them

    http://github.com/sonsuzdongu/akinji

    python akinji.py -c 100 --host localhost --port 3000 --waitFor 100 --on "some msg"
    

提交回复
热议问题