lua-resty-checkups icon indicating copy to clipboard operation
lua-resty-checkups copied to clipboard

Request distributed Uneven with consistent_hash method

Open xiaoxuanzi opened this issue 8 years ago • 2 comments

I did a test found Request distributed Uneven with consistent_hash method. upstream test have two servers: upstream test{ server 192.168.46.111:80; server 192.168.46.110:80; }

hash arguments is cid. I use 10w cid to test. I found that the request deliver to server 192.168.46.111:80 is about 89036 . More than eighty percent

BUT i also test original nginx with consistent method,the number of request forward to two server is equality.

DO YOU encounter the same problem? OR What is wrong with me?

xiaoxuanzi avatar Feb 20 '17 09:02 xiaoxuanzi

Can you share your 10w cid?We will check if there is something wrong.

yejingx avatar Mar 09 '17 02:03 yejingx

@xiaoxuanzi why consistent method come to equal for requests

hy05190134 avatar Feb 05 '18 03:02 hy05190134