Welcome! Log In Create A New Profile


rbtree in ngx_http_upstream_fair_module.c

January 29, 2015 01:22PM

Just wanted to ensure my understanding of rbtree usage in Grzegorz Nosek's upstream fair load balancer is correct. I believe the rbtree is necessary because when nginx.conf is reloaded workers may continue to reference upstream server metadata from earlier versions aka generations of the nginx.conf file. The rbtree stores the metadata until none of the workers reference it. The extra complexity is needed because this load balancer tracks server load across requests and nginx.conf reloads. Does this seem accurate? If so, is this currently considered a recommended way to handle this situation?

Subject Author Posted

rbtree in ngx_http_upstream_fair_module.c

squonk January 29, 2015 01:22PM

Re: rbtree in ngx_http_upstream_fair_module.c

squonk January 29, 2015 09:39PM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 97
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready