Nginx worker processes

Is it true to say that every worker process in nginx has its own
round-robin
counters and that they are not aware of the other workers counters?

Thanks!

Jonathan

Jonathan L. Wrote:

Is it true to say that every worker process in
nginx has its own round-robin
counters and that they are not aware of the other
workers counters?

Yes, take a look at ngx_http_upstream_round_robin.c.

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,198006,198008#msg-198008

Thanks, it’s been a while since I last developed in c, so I wanted
someone else’s opinion.
I saw that there is a fair round-robin module and I also saw that it
uses shared memory to store something. Does it mean that using that
module counters and servers state (either it is up or down) are
shared?