You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm investigate about some performance issue with many simultaneous connected client. The CPU usage is high after 4 clients.
The server is on a single thread and switch to other thread to handle the tcp connection, but the main thread keeps the connection open as bridge.
So I when to the code and I sa something quite strange.
Hi, I'm investigate about some performance issue with many simultaneous connected client. The CPU usage is high after 4 clients.
The server is on a single thread and switch to other thread to handle the tcp connection, but the main thread keeps the connection open as bridge.
So I when to the code and I sa something quite strange.
simple-websocket-server/SimpleWebSocketServer/SimpleWebSocketServer.py
Line 697 in a6ddef7
But in
serve_once()
there is a lot of loop to reinitiatilse the connections for each while loop. Is there something to improve here ?I can post my server configuration if needed
The text was updated successfully, but these errors were encountered: