Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document best practice for WebSocket keep alives #133

Open
andrewbonney opened this issue Nov 11, 2019 · 1 comment
Open

Document best practice for WebSocket keep alives #133

andrewbonney opened this issue Nov 11, 2019 · 1 comment

Comments

@andrewbonney
Copy link
Contributor

TCP Keep Alives and WebSocket Ping/Pong are optional for clients/servers to implement. Whilst clean disconnections will be gracefully managed by WebSocket clients and servers, unexpected connection interruptions may not be detected on the client or server side until the next message is sent. This presents the greatest issue for a client as the Query API WebSocket messaging is only mandated as unidirectional from server to client. Best practice should be documented in order to avoid situations where a client fails to observe a loss of connection and becomes out of sync with the registry.

@garethsb
Copy link
Contributor

garethsb commented May 5, 2021

This could go in a future AMWA INFO-xxx implementation guide?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants