-
Notifications
You must be signed in to change notification settings - Fork 21
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
Periodical instead of live sync #2100
Labels
released on @master
managed by CI (semantic-release)
released
managed by CI (semantic-release)
Status: Complex Issue
advanced, particularly challenging topic that requires extensive knowledge of the code base
Comments
sleidig
moved this from Priority (Core Team)
to Todo [help wanted]
in All Tasks & Issues
Jan 11, 2024
sleidig
added
Status: Complex Issue
advanced, particularly challenging topic that requires extensive knowledge of the code base
Status: Core Team Priority
labels
Feb 13, 2024
sleidig
added a commit
that referenced
this issue
Mar 22, 2024
🎉 This issue has been resolved in version 3.34.0-master.5 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
🎉 This issue has been resolved in version 3.34.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
released on @master
managed by CI (semantic-release)
released
managed by CI (semantic-release)
Status: Complex Issue
advanced, particularly challenging topic that requires extensive knowledge of the code base
We currently use the PouchDB/CouchDB live sync functionality. This is very easy to setup and offers very quick entity updates.
The downside of this approach is that we have very little information about which data is already synchronized and in case of an error, how the app should handle it. At the moment we just restart the live sync and hope nothing has been lost on the way.
An alternative approach would be to periodically (e.g. every 15s) trigger a sync ourselves. This would allow us to check which documents havent been synced yet. This also makes error handling much easier because we can then visualize to the user what data hasn't been synced and what might have been the issue.
The issue in our backend where it keeps using more RAM might also be linked to the live sync and could be resolved with this change.
Approach
The text was updated successfully, but these errors were encountered: