Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Perfomance issue with many handled connection #95

Open
CartierPierre opened this issue Jan 9, 2020 · 0 comments
Open

Perfomance issue with many handled connection #95

CartierPierre opened this issue Jan 9, 2020 · 0 comments

Comments

@CartierPierre
Copy link

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.


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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant