Tree Xie

Results 169 comments of Tree Xie

@WENPIN1 Please try the latest version. And the host should be `localhost:6188`. > Host: localhost:6188

I made a mistake about http host and host. I will look up how other reverse proxies handle it and decide how to adjust it.

My test result: ```bash cargo build --release ./target/release/pingap -c=~/github/pingap/conf/pingap.toml ``` ```bash wrk 'http://127.0.0.1:6188/stats' --latency Running 10s test @ http://127.0.0.1:6188/stats 2 threads and 10 connections Thread Stats Avg Stdev Max +/-...

Try to remove the access log: ```toml # access_log = "tiny" ```

Your nginx test result is `Requests/sec: 15841.06`, and pingap is `Requests/sec: 4159.49`. Please check the following differences: - nginx worker_processes (pingap default is 1) - nginx access log and how...

Is it possible to provide all TOML configuration? Pingora may be slower than nginx, but not too much. https://github.com/cloudflare/pingora/issues/143#issuecomment-2009001359

My test result, CPU(M2): ```bash wrk -c 50 -t 4 -d 30s http://127.0.0.1:6188/stats Running 30s test @ http://127.0.0.1:6188/stats 4 threads and 50 connections Thread Stats Avg Stdev Max +/- Stdev...

I will show my test result later. By the way, the stats of pingap is not a each response, it gets the memory of process, get accepted and processing request,...

My nginx test result: ```bash wrk -c 50 -t 4 -d 30s http://127.0.0.1:9080/stats Running 30s test @ http://127.0.0.1:9080/stats 4 threads and 50 connections Thread Stats Avg Stdev Max +/- Stdev...