Does map_hash_max_size and map_hash_bucket_size influence uniformity of load distribution in consistent hashing(ip-hash) in nginx
Does the value set by map_hash_bucket_size and map_hash_max_size has any influence or relation on how uniform the load is distributed in nginx while using hash or ip-hash directives which inernally uses consistent hashing.
Does Nginx uses consistent hashing with Virtual nodes for load balancing using hash / ip_hash
Under ngx_http_upstream_module module we have hash and ip_hash directive which is used to route requests from same client to a single pod every time using client’s ip or any other key. These directives uses consistent hashing to distribute the load to dynamic set of servers/pods. On the internet I read that just consistent hashing alone doesn’t lead to uniform distribution of load, so Virtual nodes are introduced to improve uniform distribution and to prevent skewing hotspots.