Re: [go-nuts] Detecting / Avoiding network bottleneck when sending concurrent HTTP requests to many hosts.

2023-03-07 Thread nohehf
Also, you don’t say what N is? > > Lastly you will get different errors for a dns or host error than a > resources exhausted. If you configure the maximum sockets/files allowed to > be open by the process you won’t DOS the machine. > > On Mar 6, 2023, at 8:07 AM, nohehf wrote:

[go-nuts] Detecting / Avoiding network bottleneck when sending concurrent HTTP requests to many hosts.

2023-03-06 Thread nohehf
Hi! I'm building a tool that needs to concurrently send request to multiple hosts (for fingerprinting purposes). I'm using github.com/valyala/fasthttp for the client but it works the same with net/http. The main program basically starts n workers and those will take endpoints to scan from a co