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

Concurrent SSL Handshakes causes threads to stay busy for long time - resulting timeout #3247

Open
The-Robin-Hood opened this issue Oct 18, 2024 · 3 comments

Comments

@The-Robin-Hood
Copy link

Upon establishing 1,000 concurrent WebSocket connections, the initial 400 connections are successfully established. However, due to a delay in the SSL handshake, the remaining WebSockets time out.

Steps to reproduce :
This happens in even minimal-ws-server
Make a concurrent connection to that server (min 500) - and keep adding clients

@lws-team
Copy link
Member

What do you think should happen about that?

@The-Robin-Hood
Copy link
Author

Is there any way to create multiple context ?? After a threshold ?

@lws-team
Copy link
Member

You can create multiple contexts, for example just by creating multiple processes.

Each process will have its own event loop thread.

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

2 participants