News for hackers. Stuff that matters.
Re:Zap – Blazingly fast backends in Zig by idiomaticrust on Wednesday June 14, 2023 @03:00PM (#36330873)
Faster than axum? Nice!
Re:Zap – Blazingly fast backends in Zig by dralley on Wednesday June 14, 2023 @03:21PM (#36331165)
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.

Re:Zap – Blazingly fast backends in Zig by giovannibonetti on Wednesday June 14, 2023 @03:38PM (#36331412)
The benchmarks only include throughput, not latency (P50, P95, P99), which are quite important.