Welcome! Log In Create A New Profile

Advanced

Loadbalancing with Nginx has no effect

Posted by beg 
beg
Loadbalancing with Nginx has no effect
November 19, 2010 05:55PM
Hi all

I have setup a loadbalancing server with Nginx and 3 servers with static private IPs which the requests are directed to.

Apparently the setup is working as it should when accessed in the browser, pages are returned in a round robin (pages (same index.html) are sligthly different so I can see which server is used).

The thing is when tested with ab (apache benchmark) it makes no difference if I'm testing just one of the servers or the entire setup - all tests return the same number of Requests per second. I use this for testing:

./ab -n 100 -c 10 -t5 http://mydomain.com

I would have thought that adding more servers to the cluster would mean greater ability to answer requests. With cluster I even get Failed requests.

Thanks...
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 239
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready