What is the default queue size and max concurrent connections/requests supported by kestrel?

Viewed 183

I am reading that kestrel theoretically supports unlimited concurrent connections.

  1. Is there a default value of the max number of concurrent connections and requests?

  2. If the value goes beyond then is there some kind of queue and if so then what is the queue size for conndctions/requests?

1 Answers

Is there a default value of the max number of concurrent connections?

No, it is infinity.

If the value goes beyond then is there some kind of queue and if so then what is the queue size?

If configured, it will start to reject connections, it won't queue them.

I assume you meant to ask about connections and not requests? For requests we have https://www.nuget.org/packages/Microsoft.AspNetCore.ConcurrencyLimiter/

Related