You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’ve been experimenting with Rust web frameworks and wrote a simple HTTP server using Tokio to compare its performance against Actix-web. However, my wrk benchmark results show that my code lags far behind Actix-web in throughput, latency, and stability—my server even reports a ton of Socket errors. I’d love to get some insights from the community: why is there such a huge gap, and how can I optimize my implementation?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I’ve been experimenting with Rust web frameworks and wrote a simple HTTP server using Tokio to compare its performance against Actix-web. However, my wrk benchmark results show that my code lags far behind Actix-web in throughput, latency, and stability—my server even reports a ton of Socket errors. I’d love to get some insights from the community: why is there such a huge gap, and how can I optimize my implementation?
Actix-web Code and Results
Beta Was this translation helpful? Give feedback.
All reactions