HAProxy vs. Nginx for load balancing (2016)
I'm pretty much in love with Nginx' simplicity and capabilities as a swiss army knife for all kinds of HTTP magic.I had some doubts about Nginx' direction and feature development, but most really great features (like stream proxy with SNI support) make their way into the open source release. Built in monitoring sucks though. There are options for better monitoring your requests with Prometheus.This project implements prometheus metrics using Lua scripting inside Nginx:https://github.com/knyar/nginx-lua-prometheusThis project is indended as a sidecar service to nginx and receives access logs and timings using syslog protocol (Nginx has a native syslog over UDP capabilities) so no scripting inside Nginx is necessary:https://github.com/markuslindenberg/nginx_request_exporter(I'm the author of this exporter)