-
Notifications
You must be signed in to change notification settings - Fork 56
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
[Full-stack Signals] Add automatic resynchronization #2653
Comments
Workflow notes:
|
Edit: Extracted to #2712. |
Some parts of this issue have been extracted to separate tickets so that the core reliability feature can be implemented more easily: |
Note: reusing Flux is not in the scope of this ticket. We assume here that the server has disposed the Flux instance. |
For now, let us drop the concept of buffering the outgoing operations. At the same time, we have no guarantee yet on wether the outgoing operations were received by the server or not. We'll come back to this when we have a proper event log. |
Buffering operations and making sure they are delivered exactly once is now described in #2721. |
A signal instance that has subscribers will automatically resynchronize with the server when the client reconnects to the server after having been disconnected. While disconnected, the signal value remains set to the value that was last seen before going losing the connection, supplemented with latency compensation for any pending operations. Pending operations that have been performed while disconnected will be sent to the server when the connection is restored (assuming the same client-side instance is still in active use).
Note that the implementation should also recover from network connectivity issues that cause the connection with the server to be broken even though the browser fires no
offline
andonline
events.The text was updated successfully, but these errors were encountered: