News for hackers. Stuff that matters.
Re:Why Use Nginx? by icebraining on Sunday March 24, 2013 @09:03PM (#5434674)
An HTTP level load balancer like nginx can do session affinity, which is helpful when your application server isn't stateless.

I guess a TCP load balancer could do them based on IP as well, but IPs don't identify sessions as well as cookies can.

Re:Why Use Nginx? by AaronBBrown on Monday March 25, 2013 @08:59AM (#5436711)
As can haproxy or any other L7 load balancer.
Re:Why Use Nginx? by icebraining on Monday March 25, 2013 @11:28AM (#5437489)
Sure, but those aren't TCP load balancers (at least, not if you enabled that functionality), since they work at the HTTP level. I wasn't claiming nginx was the only way to do session affinity, just that it's a reason to use it over a TCP load balancer.