News for hackers. Stuff that matters.
Re:Getting Started with Axum – Rust's Most Popular Web Frame... by goddtriffin on Thursday December 07, 2023 @01:42PM (#38560057)
I used to use Actix for a web project, but the Websocket story was severely lacking. Actix is non-work-stealing multi-threaded (to achieve "performance", I presume) and thus it has to use a non-async Actor model for inter-Websocket interactions. This meant that I could not use an async DB pool or an async HTTP requests library within my Websocket code.

Alternatively, Axum is built by the same people that made tokio, is work-stealing multi-threaded, and the Websocket code is async be default. It is just overall a better library.

There are no comments on this comment yet.