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
It seems like socket.io does not support quality of service features yet like e.g. MQTT does like e.g. explained here. I'm not sure if it's possible to build some or all QoS features into socket.io. Or if it's possible at all because I don't know the socket.io architecture. However would be nice to have QoS features or at least some section in the docs about socket.io message transmission reliability.
Steps to reproduce (if the current behaviour is a bug)
NA
Expected behaviour
NA
Setup
NA
Other information (e.g. stacktraces, related issues, suggestions how to fix)
NA
The text was updated successfully, but these errors were encountered:
That would be interesting indeed. Currently the message transmission is a best effort process (which should translate to At most once in MQTT terminology). If the client looses connection to the server, the packets are buffered until it reconnects, but there's no acknowledgement or such.
I'm not sure how it could be implemented. Maybe some kind of extension above? Or directly in the protocol?
Exactly once semantics can be achieved by attaching an unique ID to each packet on the client side, and storing them in the same transaction when handling the packet on the server side.
You want to:
Current behaviour
It seems like socket.io does not support quality of service features yet like e.g. MQTT does like e.g. explained here. I'm not sure if it's possible to build some or all QoS features into socket.io. Or if it's possible at all because I don't know the socket.io architecture. However would be nice to have QoS features or at least some section in the docs about socket.io message transmission reliability.
Steps to reproduce (if the current behaviour is a bug)
NA
Expected behaviour
NA
Setup
NA
Other information (e.g. stacktraces, related issues, suggestions how to fix)
NA
The text was updated successfully, but these errors were encountered: