rongwj / ngx_http_upstream_ketama_chash

nginx load-balancer module implementing ketama consistent hashing.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ngx_http_upstream_ketama_chash_module

Introduction

The usptream_ketama_chash module is a load balancer which provides upstream load distribution by hashing a configurable variable using ketama consistent hashing algorithm.

Synopsis

upstream backend {
    ...
    ketama_chash    $uri;
}

Installation

cd nginx-*version*
./configure --add-module=/path/to/this/directory
make
make install

Author

FengGu flygoast@126.com

About

nginx load-balancer module implementing ketama consistent hashing.


Languages

Language:C 100.0%