Investigate and improve IP blacklisting performance #1256
Labels
evaluation needed
proposal needs to be validated or tested before fully implementing it in k6
performance
The current IP blacklisting code is very naive and unoptimized: https://github.com/loadimpact/k6/blob/a2e1c6f4e6207d69461a1b0f24c3aa2c72233101/lib/netext/dialer.go#L84-L88
We need to investigate whether that's an issue when we have hundreds of IP ranges blacklisted... If it is, we probably should use something like https://github.com/yl2chen/cidranger
The text was updated successfully, but these errors were encountered: