rbtree in ngx_http_upstream_fair_module.c

squonk nginx-forum at nginx.us
Fri Jan 30 02:39:12 UTC 2015

I think i underatand a bit better now. The tree is storing metadata for
potentially multiple upstream groups per generation.  It seems like a
reasonable implementation given the expected short duration of threads
referencing data from older generations (hence a shallow tree) and the fact
there is only one read from the tree per request. Anyway.. i asked the
question so i'll fill in what i find out. I may well have missed something..
any help appreciated.

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

More information about the nginx mailing list