is there any rate limiting configuration in digitalocean load balancer?

February 3, 2018 1.8k views
Load Balancing

As we now that we can set maximum HTTP requests / second from a single client in Haproxy or Nginx load balancer. Is this configuration or an equivalent feature exists in Digitalocean load balancer?

2 Answers

DO’s load balancer is rate limited to 200 requests per second. Currently this is not a configurable option.

Allowing a hacker to hit a login, password reset or other security sensitive endpoint 200 times per second is too much. Will DO load balancers ever have configurable rate limiting?

  • You could also do rate limiting on the server(s) behind the load balancer.

    • Yes, you’re right. I will be doing that. Thanks for the reply :-) But it would make far more sense for this setting to exist just 1 time in the LB rather than me having to add code in every app.

Have another answer? Share your knowledge.