Inrego
Inrego

Reputation: 1533

ASP.NET Core Max Concurrent Connections?

I have made a very simple asp.net core application with a static files binding to a folder with a video, and a html page with a video element that points to that video.

I wanted to test how many clients could stream the video at the same time. Once I hit 5 active players, the page will no longer load. So something tells me there's something somewhere that sets this limit. Can I change it anywhere?

Upvotes: 6

Views: 12053

Answers (1)

Sami Kuhmonen
Sami Kuhmonen

Reputation: 31193

ASP.NET Core itself doesn't have limitations and the servers it is run on can handle a lot of connections. The problem is in how you test the server. Browsers have limits on how many connections they open concurrently to a single server. This is why manually testing with a single browser you will run into a situation where nothing is downloaded. This is to make sure a single browser won't bombard a server down with lots of connections.

You should use actual benchmarking tools to test the system since they don't have these limitations.

Upvotes: 13

Related Questions