Why was actix_web_actors deprecated in favour of actix-ws?
#535
-
|
Hi all, I see that From what I understand, deprecated implies that In my current use case, I have a Such a After trying (and admittedly struggling) to understand the chat-actorless example I am left puzzled. Could you clarify the motivation behind deprecating Thanks in advance for your time and insights, and have a great day! Best, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
The 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 |
Beta Was this translation helpful? Give feedback.
The
actixactor 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. Theactix-wscrate fits much better in today's async-first Rust, something that anything based onactixfails 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 useractor.