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 wrote an API in actix and I also created and event system that we use for handling intern events. (for example if an entity was created etc.)
It is based on the Tokio sync channels.
I've wondered what is the best way to implement web sockets on top of it?
I saw a lot of implementations on top of actors but our event system is not actor based.
I also saw the actix-ws crate but it doesn't seem to be maintained anymore.
So is there any other technology to use (like socket.io) or basically how/what is the best/a clean way to implement web sockets?
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
-
Hey,
I wrote an API in actix and I also created and event system that we use for handling intern events. (for example if an entity was created etc.)
It is based on the Tokio sync channels.
I've wondered what is the best way to implement web sockets on top of it?
I saw a lot of implementations on top of actors but our event system is not actor based.
I also saw the actix-ws crate but it doesn't seem to be maintained anymore.
So is there any other technology to use (like socket.io) or basically how/what is the best/a clean way to implement web sockets?
Edit:
If you need more information the whole backend ist open source:
https://github.com/financrr/financrr-app
Beta Was this translation helpful? Give feedback.
All reactions