Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ASP.NET Core Max Concurrent Connections?

Tags:

asp.net-core

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?

like image 245
Inrego Avatar asked Jan 04 '17 16:01

Inrego


People also ask

How many requests per second can ASP.NET Core handle?

7+ Million HTTP requests per second from a single server.

How many connections can Kestrel handle?

The default value is 4096.

How many concurrent requests can a Web API handle?

In the API Console, there is a similar quota referred to as Requests per 100 seconds per user. By default, it is set to 100 requests per 100 seconds per user and can be adjusted to a maximum value of 1,000. But the number of requests to the API is restricted to a maximum of 10 requests per second per user.

How many concurrent requests can IIS handle?

Has a maximum of 10 concurrent connections before an HTTP 403.9 error message is returned. HTTP 403.9 returns Access Forbidden: Too many users are connected.


1 Answers

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.

like image 106
Sami Kuhmonen Avatar answered Nov 11 '22 07:11

Sami Kuhmonen