Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm set up nginx to proxy requests to a pool of web servers. I'd like nginx to limit the number of concurrent requests to each web server, by waiting to forward the request, so that a web server isn't overwhelmed. Is there a way to do this in nginx?

share|improve this question

1 Answer 1

UpstreamFair module can handle other load balancing modes besides round robin. For example: with the weight parameter you can tell nginx doesn't send more than weight requests to any single backend.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.