pingora/pingora-ketama/test-data
Yuchen Wu 8797329225 Release Pingora version 0.1.0
Co-authored-by: Andrew Hauck <ahauck@cloudflare.com>
Co-authored-by: Edward Wang <ewang@cloudflare.com>
2024-02-27 20:25:44 -08:00
..
nginx.conf Release Pingora version 0.1.0 2024-02-27 20:25:44 -08:00
README.md Release Pingora version 0.1.0 2024-02-27 20:25:44 -08:00
sample-nginx-upstream.csv Release Pingora version 0.1.0 2024-02-27 20:25:44 -08:00
trace.sh Release Pingora version 0.1.0 2024-02-27 20:25:44 -08:00

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
  1. Generate trace
./trace.sh
  1. Collect trace
 cp /tmp/nginx-ketama/logs/access.log ./sample-nginx-upstream.csv