代码拉取完成,页面将自动刷新
TL;DR
Proxy | Avg Latency | Avg Req/Sec/Thread |
---|---|---|
dam | 2.04ms | 107.869k |
gateway | 4.68ms | 43.827k |
linkered | 5.23ms | 41.988k |
zuul | 11.08ms | 22.757k |
none | 3.25ms | 161.243k |
cd static
./webserver # or ./webserver.darwin-amd64 on a mac
cd zuul
./mvnw clean package
java -jar target/zuul-0.0.1-SNAPSHOT.jar
cd gateway
./mvnw clean package
java -jar target/gateway-0.0.1-SNAPSHOT.jar
cd linkerd
java -jar linkerd-1.3.4.jar linkerd.yaml
cd dam
./mvnw clean package
java -jar target/dam-1.0-SNAPSHOT.jar
wrk
Ubuntu: sudo apt install wrk
Mac: brew install wrk
NOTE: run each one multiple times to warm up jvm
$ wrk -t 10 -c 200 -d 30s http://localhost:8082/hello.txt
$ wrk -t 10 -c 200 -d 30s http://localhost:8048/hello.txt
$ wrk -t 10 -c 200 -d 30s http://localhost:8081/hello.txt
$ wrk -H "Host: web" -t 10 -c 200 -d 30s http://localhost:4140/hello.txt
$ wrk -t 10 -c 200 -d 30s http://localhost:8000/hello.txt
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。