SocketsHttpHandler Bandwidth Issue Under High Concurrency (WinHttpHandler Unaffected)
Hey, I encountered an issue where SocketsHttpHandler fails to fully utilize bandwidth under high-concurrency requests, even though the number of connections increases. No matter how I configure it, the bandwidth remains underutilized, whereas WinHttpHandler doesn't have this problem.
dotNET Version:
Microsoft.NETCore.App 8.0.13



1 Reply
I found the issue: the VS debugger collects request data from SocketsHttpHandler, which affects its behavior even when running the Release build. If I run the program without debugging, SocketsHttpHandler works as expected.