Whats the best way to do load balancing on rails app, for a non aws setup? Nginx/Haproxy seems currently the best option.
2 node setup, one node also has haproxy on it
Load balancer: nginx listens on port 80/443 and proxy_forwards to haproxy on 8080 on the same server to load balance between the multiple nodes.
Nodes: nginx on the node listens to requests coming from haproxy on 8080 and processes it accordingly Vinny