I started with Rust recently, I come from PHP and Phyton, where serving Web at 100 requests per second is a triumph, I know well what is good and bad Web performance.
But in Rust I have no experience, I don't know what is considered good and bad, I know it is much faster, but I don't know comparatively what requests per second is considered good.
In addition I have always used “ab” for benchmark but I see that here is used a lot “wrk”, I do not know which is more convenient.
The thing is that I have these results from my template engine with a CPU at 4000MHz CPU:
wrk http://localhost:9090/
Running 10s test @ http://localhost:9090/
2 threads and 10 connections
Thread Stats Avg Stdev Max +/- Stdev
Latency 324.25us 66.31us 4.06ms 80.77%
Req/Sec 15.32k 622.19 16.65k 73.27%
307975 requests in 10.10s, 9.23GB read
Requests/sec: 30492.77
Transfer/sec: 0.91GB
Here: web-app · master · Neutral FW / neutralts · GitLab (It has all the elements of a Web in production without access to DB.)
Can I be happy?
On the other hand I have an AMD 7600x with with overclocking the CPU and memory, what I do is lower the CPU frequency to 4000, but I'm afraid my computer is faster than average.