How many websocket connections are supported on container apps?

carlintveld 26 Reputation points
2024-11-07T08:16:43.9+00:00

We are considering to self-hosting our websocket server cluster which we now have in a private data center onto Azure Container Apps. What would be the constraint on the amount of websockets?

Azure Container Apps
Azure Container Apps
An Azure service that provides a general-purpose, serverless container platform.
469 questions
{count} votes

1 answer

Sort by: Most helpful
  1. JananiRamesh-MSFT 29,191 Reputation points
    2024-11-07T09:20:44.87+00:00

    @carlintveld Thanks for reaching out. We don't have a specific limit of the connection amount. The number of connections that can be supported depends on the CPU and memory resources available to the container instances, as well as the number of replicas of your container apps.

    By scaling the container instances (i.e., adding more replicas), you can increase the number of WebSocket connections that can be supported. Azure Container Apps provides automatic scaling based on CPU and memory usage, which can help ensure that there are enough resources available to support the WebSocket connections.

    do let me know incase of further queries, I would be happy to assist you. If you found the answer to your question helpful, please take a moment to mark it as Yes for others to benefit from your experience. Or simply add a comment tagging me and would be happy to answer your questions.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.