Hacker News new | ask | show | jobs
by idiomaticrust 1099 days ago
Faster than axum? Nice!
2 comments

Keep in mind that microbenchmarks aren't necessarily representative of production performance.

* Some webservers "cheat" and skip a lot of request headers which one may want to use in a production scenario to get better numbers.

* Some web server architectures can do very well on many small uniformly sized requests but poorly on a mixture of request sizes.

* Some web server architectures can get very good average latency but poor p99 latency.

* Some benchmarking tools don't measure correctly: https://medium.com/@siddontang/the-coordinated-omission-prob...

etc.

The benchmarks only include throughput, not latency (P50, P95, P99), which are quite important.