100% with upstream / backup server

Piotr Sikora piotr.sikora at frickle.com
Tue Jan 26 20:31:43 MSK 2010

Hi Maxim,

> This patch has at least two problems I see right now:
> 1. It doesn't handle backup peers.

You are right, fixed version attached.

> 2. It does extra unneeded work on each request.

This is done on purpose. This patch is part of patch distributed with 
ngx_supervisord which enables you to start/stop backend servers on demand.

But I agree that it could be optimized for mainstream release with something 
like peers->none;

Best regards,
Piotr Sikora < piotr.sikora at frickle.com >
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ngx_round_robin_fix_v2.patch
Type: application/octet-stream
Size: 549 bytes
Desc: not available
URL: <http://nginx.org/pipermail/nginx/attachments/20100126/1ce83e4f/attachment.obj>

More information about the nginx mailing list