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 websocket connections a tomcat instance #52

Open
robinvk6 opened this issue Dec 10, 2014 · 2 comments
Open

Concurrent websocket connections a tomcat instance #52

robinvk6 opened this issue Dec 10, 2014 · 2 comments

Comments

@robinvk6
Copy link

This is more of a question.
What is the max number of concurrent websocket connections a tomcat instance can support? We are looking to serve 20000 connections at any given time. What would be the recommended number of tomcat instances to support the load?

@sreeshas
Copy link

A WebSocket is a TCP socket. The total number of websocket connections are determined by number of open file descriptors permitted by OS on which websocket server( tomcat instance in this case) is running.

@robinvk6
Copy link
Author

On a unix machine we have a hard limit of 75000 file descriptors but is there a Hard limit on tomcat's ability to spawn new sockets?

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