Skip to content

Concurrent websocket connections a tomcat instance #52

Open
@robinvk6

Description

@robinvk6

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?

Activity

sreeshas

sreeshas commented on Dec 10, 2014

@sreeshas

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

robinvk6 commented on Dec 11, 2014

@robinvk6
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @sreeshas@robinvk6

        Issue actions

          Concurrent websocket connections a tomcat instance · Issue #52 · rstoyanchev/spring-websocket-portfolio