bun icon indicating copy to clipboard operation
bun copied to clipboard

Fix WebSocket client stability issues

Open Jarred-Sumner opened this issue 3 years ago • 1 comments

Bun's WebSocket client does not seem perform as well under load on Linux as it does on macOS. We need to dig into why.

Note that this is unrelated to the WebSocket server because the code is entirely different.

Jarred-Sumner avatar Oct 19 '22 02:10 Jarred-Sumner

Running this file on Linux with a server running: https://github.com/oven-sh/bun/blob/main/bench/websocket-server/chat-client.mjs

reproduces the bug

Jarred-Sumner avatar Oct 27 '22 18:10 Jarred-Sumner

Duplicate of #6686

Electroid avatar Oct 24 '23 23:10 Electroid