Re:NGINX open sources TCP load balancing
by sparaker on Monday April 20, 2015 @04:23PM
(#9410645)
HAProxy offers a better DDos mitigation configurables in comparison to nginx. Thats it.
[ Parent
| on HN ]
Re:NGINX open sources TCP load balancing
by phildougherty on Monday April 20, 2015 @07:53PM
(#9411539)
CloudFlare is build on top of OpenResty which is basically stock nginx with ngx_lua and a bunch of other modules built in. I would argue that if you want it to be, nginx can be much better at DDoS mitigation. You can use the modules limit_conn and limit_req to control how many connection individual IPs can make to your server for basic control.
You can add various things on top of nginx... but you can use stock haproxy to limit the number of connections by source IP.
This can also be achieved in nginx fairly easy:
http://nginx.org/en/docs/http/ngx_http_limit_conn_module.htm...