HACKER Q&A
📣 KingOfCoders

Why has Rust such a bad web performance?


We considered moving from Node to Rust for performance reasons (low memory for cloud instances).

When looking at

https://github.com/the-benchmarker/web-frameworks

Rust ranks on 78th (with salvo, actix and others are even lower) for performance, around 30% of the performance of the #1 spot (ActiveJ).

Why is this? (Especially compared to Go). What am I missing?


  👤 WnZ39p0Dgydaz1 Accepted Answer ✓
I'm not sure, but when measuring web server benchmarks I see most people referring to [0] and many Rust frameworks rank at the very top there. Proper benchmarking is hard.

[0] https://www.techempower.com/benchmarks/