an ASP.NET performance bottleneck mystery

前端 未结 7 1371
心在旅途
心在旅途 2021-02-10 16:28

A classic ASP.NET app - AppSrv + MS SQL DB. Both servers are heavy-lifters 8 cores, 20 GB of RAM. When load testing, the throughput goes somewhere to 400 VirtualUsers (according

7条回答
  •  暗喜
    暗喜 (楼主)
    2021-02-10 16:48

    Add logging to your app with some appropriate unique request ID so you can effectively trace how long each operation within a page load takes. For instance, logging before and after every database call will show whether the database calls are taking a long time or not.

    As others have suggested, adding logging/profiling on the database side will show whether that's deadlocked (or similar).

提交回复
热议问题