Nginx load balancer

September 23, 2016 121 views
Load Balancing

Hey there,
I manage a website with a particular feature: Against a seismic event, it receives thousands and thousands of queries in a few seconds.
I have deployed an intance of nginx as front-end using reverse proxy, caching and load balancing modules. It works really really well.
But i have another trouble: bandwidth.
This front-end instance return all the response to the clients. So data traffic grows as queries grows .
To scale and improve our service, I think on implement more front-ends like this.
So now I need -in front of them- a queries balancer, who recieve the client consultant, check the health of all front-ends, and redirect the client to one of them. So that the client can communicate with the front-end server without passing data through this new module.
My question is, is there any way to solve that using nginx load balancer module? or another module?
or maybe, there is another product to implement this.

2 Answers

I would look into using HAProxy

You need two or more machines for load balancing. Have you check the DO load balancing tutorials ?

Have another answer? Share your knowledge.