Hacker News new | past | comments | ask | show | jobs | submit login

Random question: why is rocket so low in the rankings? Especially since something like actix is very high.



Probably the lack of HTTP keep-alive support - it's explicitly disabled due to bugs in the older HTTP library the stable version uses (seen as a large number of errors in previous rankings), so each request needs a new TCP connection.

https://github.com/TechEmpower/FrameworkBenchmarks/blob/f340...


The latest stable rocket release doesn't use async, actix does.

The master branch of rocket does have async (and stable rust, not nightly!) support.


If there's one lesson to draw from benchmarks like these, it is how important non-blocking IO is to high-performance web services


It's super important for highly concurrent, low-compute web services. Whether that's actually your business requirement is very situational.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: