Skip to content

Request distributed Uneven with consistent_hash method #9

@xiaoxuanzi

Description

@xiaoxuanzi

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions