Last post Oct 09, 2019 03:33 PM by bruce (sqlwork.com)
Oct 08, 2019 05:13 AM|kedarkdr|LINK
Is there a way to find the request wait time at server for .net core web app? I am trying to find request wait time, processing time.
any inputs are appreciated.
Oct 08, 2019 06:30 AM|Mikesdotnetting|LINK
You can do it with middleware: https://www.learnrazorpages.com/middleware#creating-middleware
Oct 08, 2019 07:39 AM|kedarkdr|LINK
does this provide the request wait time when the server is busy serving other requests? say there are 500 concurrent users.
Oct 09, 2019 09:26 AM|Lewis Lu|LINK
Could you tell us the specific start time and end time of your "wait time"?This will help us solve your problem because "wait time" is too wide.
Oct 09, 2019 12:42 PM|kedarkdr|LINK
I meant to say how long the request has to wait at the server before the controller's action method executes it.
Oct 09, 2019 03:01 PM|kedarkdr|LINK
for example .net core logs says Request finished in 97.9954ms 200, but in postman says it took 142 ms, so there is difference of 50ms. When concurrent threads are executed I see a bigger gap between what .net core logs says and the average response time
shown in load test tool.
Hence I suspect that the requests are waiting for processing and want to get that wait time.
Oct 09, 2019 03:33 PM|bruce (sqlwork.com)|LINK
postman timing includes the connect time (dns lookup and open socket) and transfer time. these are not included in the .net core log.
typically if you need overall timing, the request should include server logging, client tracks its timing and logs its overhead.