Very simple: features. haproxy has a huge list of features for reverse proxying that nginx hasn't, varnish has the same for caching.
If you can do everything with nginx, go for it. But for more complex scenarios and if you really need the highest possible performance, you probably wanna stick to what the particular product does best. For example: haproxy does tcp splicing, that means the http payload not even touches the user-space, and the kernel just does a zero copy. Are you able to forward 20Gbps with nginx on a single machine? I doubt that. Lukas _______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx