总用户数30W,我推测平均TPS不超过10,因此NGINX是没有性能问题的。实际压测中测试的是后端的性能。 HTTP的最大TPS和并发数测试可以使用ab和wrk来测试。如果需要post,可以使用ab -p ./body.txt -T "application/x-www-form-urlencoded" 参数可以直接写在url的后面,如ab -n 10 -c 1 http://example.com/cgi?name=value
ab -p ./body.txt -T "application/x-www-form-urlencoded"
ab -n 10 -c 1 http://example.com/cgi?name=value