pingora-ketama 0.8.0

Rust port of the nginx consistent hash function
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Steps to generate nginx upstream ketama hash logs

1. Prepare nginx conf
```
mkdir -p /tmp/nginx-ketama/logs
cp nginx.conf /tmp/nginx-ketama
nginx -t -c nginx.conf -p /tmp/nginx-ketama
```

2. Generate trace
```
./trace.sh
```

3. Collect trace
```
 cp /tmp/nginx-ketama/logs/access.log ./sample-nginx-upstream.csv
```