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

Revisit strategy for host vs transport fallbacks #605

Open
paddybyers opened this issue Aug 15, 2019 · 1 comment
Open

Revisit strategy for host vs transport fallbacks #605

paddybyers opened this issue Aug 15, 2019 · 1 comment
Labels
enhancement New feature or improved functionality.

Comments

@paddybyers
Copy link
Member

paddybyers commented Aug 15, 2019

From a recent incident report:

It is evident that the current ably-js behaviour in the browser is too eager to remove the transport preference. There are real use-cases where a client that was previously successfully connected with a websocket is then unable to use a websocket and must fall back to comet; however this will be a very rare situation in comparison with the case that the same transport can be used. Therefore, the ably-js behaviour ought to be to continue to retry using a websocket for a longer time, or seek to determine a specific reason not to use it, before falling back to comet. A simple retry strategy that attempted to resume only using websockets would probably have recovered much more quickly in this case. We will review whether this requires a strategy/algorithm change, or if it is simply a matter of adjusting the parameters used to retain or discard the transport preference.

┆Issue is synchronized with this Jira Task by Unito

@paddybyers paddybyers added the enhancement New feature or improved functionality. label Aug 15, 2019
@sync-by-unito sync-by-unito bot removed the enhancement New feature or improved functionality. label Feb 6, 2023
@VeskeR VeskeR added the enhancement New feature or improved functionality. label Jun 24, 2024
@VeskeR
Copy link
Contributor

VeskeR commented Jun 24, 2024

This is related to #1330 and transport 'no upgrade' work that has been done for ably-js v2 in #1645

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or improved functionality.
Development

No branches or pull requests

3 participants