- repo: github.com/lxzan/gws
- conditions: 1000 conn, 1000 * 1000 requests, 1000 byte payload, 2 * vCPU
- testing code: go-websocket-testing
Command
tcpkali --connect-rate 500 \
-c 1000 -r 1000 -T 30s -f ./assets/1K.txt \
--ws 127.0.0.1:8000/connect
Results
gws: 5122.536↓, 5095.814↑ Mbps
gorilla: 1542.875↓, 1496.513↑ Mbps
nhooyr: 845.277↓, 814.357↑ Mbps
gobwas: 906.958↓, 909.138↑ Mbps