Nginx load balancer

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. Thanks!


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

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

I would look into using HAProxy