fortio / fortio

Fortio load testing library, command line tool, advanced echo server and web UI in go (golang). Allows to specify a set query-per-second load and record latency histograms and other useful stats.
https://fortio.org
Apache License 2.0
3.31k stars 251 forks source link

Follow up on large number of connections #954

Open ldemailly opened 2 months ago

ldemailly commented 2 months ago

Follow up on https://github.com/fortio/fortio/pull/927

We could use net.Dialer's Control to set SO_REUSEPORT

https://github.com/libp2p/go-reuseport/blob/master/control_unix.go#L17

tbd: whether that creates spurious failures and if it dynamically picks more/same source ports and "intelligently"