Skip to content

Why was actix_web_actors deprecated in favour of actix-ws? #535

Answered by robjtede
LucaCappelletti94 asked this question in Q&A
Discussion options

You must be logged in to vote

The actix actor system is very outdated and is soft-deprecated since there's no one on the current team interested in developing it any more. Therefore, the pieces of Actix Web that rely on it needed proper alternatives first. The actix-ws crate fits much better in today's async-first Rust, something that anything based on actix fails to do.

For new projects, I will advise those intersted in using the actor model to use the Actors with Tokio pattern or use one of the async-native actor frameworks such as ractor. Our actor-based WebSocket echo example was converted to use ractor.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by robjtede
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants