Report this

What is the reason for this report?

Nginx load balancer

Posted on September 23, 2016

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!



This textbox defaults to using Markdown to format your 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.

I would look into using HAProxy

You need two or more machines for load balancing. Have you check the DO load balancing tutorials https://www.digitalocean.com/community/tags/load-balancing?type=tutorials ?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.