-
-
Notifications
You must be signed in to change notification settings - Fork 64
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
Question: How to synchronize sembast? #174
Comments
Not than I am aware of. Synchronization is a complex algorithm that depends on the backend. Whether you use sembast or any other local database does not make much difference. One common algorithm:
Full sync:
Incremental sync:
|
Is the data modified on both back-end and the phone? I'm toying with just beaming the entire local JSON For sync, I wonder if CouchDB could be worth a look because it's also a key/value store and works with JSON. |
(I'm assuming If instead of is). I don't recommend storing the whole db file itself. At least save the export using exportDatabase instead of the whole file. |
Is there a proven method how to synchronize the sembast database of my flutter app with a backend? Would be nice to have a tutorial for that.
The text was updated successfully, but these errors were encountered: