by bayindirh · 2w ago · 0 comments
So, even when you fix the issue, it takes a bit to clear up, and the load gauge stays at the red zone for a while.
This lets you start at a very small amount of load and gradually ramp up. But you can’t reject randomly or goodput stays at zero and the backlog never decreases.
I believe SDN systems can do that with ease, but what would be the equivalent method on older systems? Selectively allowing IPs to go through the trickle load into the system?
Distribution of users by /8 isn't very even and the order that customers will get online wouldn't be an order anyone would pick, but it should be reasonable to implement and synchronize (if needed) and it lets you make progress.
You could do similar in IPv6, start allowing IPs under 2001::, and bump it up little by little... probably each increment would be the 2nd byte, but you do need to increase the first byte too ... or you could be a terrible person and drop ipv6 while you modulate ipv4 and only let ipv6 in when ipv4 is at 100%.
Works better the earliest you can apply it... if your whole stack passes through requests and the origin is looking at X-Forwarded-For (or similar) headers to drop requests, your whole stack worked on it for nothing... Which could be ok, but your frontends might be much happier if they just dropped SYNs from IPs when the request will fail.
Another idea is to have different clients use different ports (enterprise customers on one port, SMB on another) and turn up in the order of SLA.