has any god done a stress test on the Websocket
server on the Linux
system, and what tools are available? Like the apachebench
tool, it seems that you cannot be used to test the Websocket
server.
has any god done a stress test on the Websocket
server on the Linux
system, and what tools are available? Like the apachebench
tool, it seems that you cannot be used to test the Websocket
server.
you can use this npm package to test websocket-bench
because I use the websocket
framework based on workerman
, I found a post in the Q & A community
of workerman
, which you can refer to. Link
there are other ways:
(2) is to write a js file that contains the code to connect to the WS server. If you want to test several protocols, you can write your own code for several protocols, and then connect to the test.
if you want stress testing or high concurrency, you can achieve the effect of stress testing by running multiple examples at the same time.
recently encountered a strange thing, using nodejs to write a file packaging script , the corresponding file to generate a compressed package . However, the files are inconsistent when the generated package is unzipped on the Ubuntu and Window s...