My understanding is that ASP.NET Core middleware is run when a request is ready to be processed. But if the app is under load and ASP.NET Core can not process all the requests as they come in, they are put in a "queue" somewhere? I don't know whether this is some managed queue inside Kestrel or whether it has something to do with libuv.
I would like to be able to know how long a given request is spent in this queue. Is there something on HttpContext that can tell me this?
Thanks in advance