Hello, If I have the following config upstream ImageCluster { server 10.1.1.1; server 10.1.1.2; server 10.1.1.3; hash $cachekey consistent; } and wish to swap 10.1.1.3 to 10.1.1.5 would it be better to delete 10.1.1.3, restart and wait for the hash keys to update, add 10.1.1.5 and then restart, or just delete and swap 10.1.1.3 with 10.1.1.5 all at once? Also do you think it's a goodby highclass99 - Nginx Mailing List - English
Thank you for your reply. You replied: > With Config1 and Config2 you have 160 hash points per each server (duplicates are removed) Does that mean I could just shorten the whole config to upstream ImageCluster { server 10.1.1.1; server 10.1.1.2; server 10.1.1.3; hash $cachekey consistent; } and it would be exactly the same and keep the hashes exactly the same as before? If I wby highclass99 - Nginx Mailing List - English
I have a question about "hash $cachekey" consistent; Would the following Config 1, Config 2, Config 3 be exactly the same of different? i.e. if I swap the configurations would the cache keys stay consistent? The reason I am asking is I have a large configuration similar to Config 2 and am not sure it would be "safe" to clean up the order and merge duplicates as weighted configby highclass99 - Nginx Mailing List - English
upstream myCloud{ server 10.0.0.1 weight=10; server 10.0.0.2 weight=20; } For 30 sequential requests, will it work like A. 10.0.0.1 10.0.0.2 10.0.0.2 -> 10.0.0.1 10.0.0.2 10.0.0.2 -> ... total 10 times repeat or will it work like B. 10.0.0.1 ... 10 times repeat -> 10.0.0.2... 20 times repeat Because if it works like A, it would be helpful to use large numbers to fineby highclass99 - Nginx Mailing List - English
>Is there any reason to indicate that the weighting used in nginx plus is not the same as used in the OSS version? First of all this is a nginx plus only feature. It is NOT available in the OSS version. > If so, could you not just look at the module to examine how the weighting is determined? Also, just because it is OSS doesn't mean everybody can easily look through the C code.by highclass99 - Nginx Mailing List - English
Hello, Anyone know how the least_conn upstream option works in nginx plus? http://nginx.org/en/docs/http/ngx_http_upstream_module.html#least_conn says "Specifies that a group should use a load balancing method where a request is passed to the server with the least average response time and least number of active connections, taking into account weights of servers" How does ngiby highclass99 - Nginx Mailing List - English