Hacker News new | ask | show | jobs
by toast0 15 days ago
The issue with a better range map is when you're in overload, you don't want to spend a lot of compute on connections/requests you're dropping. Looking up an ip in a table can be a lot more work than checking if the ip is less than the current max value.

You probably could do work ahead of time to measure traffic proportions, so you could more accurately modulate and indicate the proportion of traffic allowed. It's nice to be able to increase traffic in measured steps, but it's hard to guess how much traffic will increase for each /8 you add, other than ones that should be zero.