Regarding using of nginx http load balancer

Piotr Sikora piotr at cloudflare.com
Tue Aug 5 08:51:04 UTC 2014


Hey,

> I want to parse http uri and based on some key present in uri, i want the
> backened server to be selected dynamically.
>
> I want to use consistent hash mechanism which will hash the key present in
> uri and gives me the server ip corresponding to that.

What's wrong with "hash" [1]?

[1] http://nginx.org/en/docs/http/ngx_http_upstream_module.html#hash

Best regards,
Piotr Sikora



More information about the nginx-devel mailing list