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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ISSUE] Reliable offline storage #169

Open
zs-dima opened this issue Aug 31, 2023 · 2 comments
Open

[ISSUE] Reliable offline storage #169

zs-dima opened this issue Aug 31, 2023 · 2 comments
Labels
duplicate This issue or pull request already exists enhancement New feature or request

Comments

@zs-dima
Copy link

zs-dima commented Aug 31, 2023

馃憻 Reproduction steps

Support ACID support when it is possible.
Access data from different isolates.

馃憤 Expected behavior

Thanks a lot for implementing so useful feature.
It could be nice to use the most relible local storage for every platform.
For example, the same as Drift library: https://drift.simonbinder.eu/web/
Mobile: SQLite (ACID + https://www.sqlite.org/testing.html)
Web: SQLite+Wasm when browser support it or IndexDB in other case.

Firebase use SQLite for mobile and IndexDB for web for example, that makes it relible and very fast.

馃憥 Actual Behavior

sembast leads to multiple issues, for example:
https://github.com/tekartik/sembast.dart/issues?q=is%3Aissue+isolate
moreover fixes issues rate to low for this library to account it as a good solution to access local storage: https://github.com/tekartik/sembast.dart/issues

Yes, they have warning in documentation, but it is not a solution:

sembast_sqflite should be used from the main isolate only

You can see how Drift solves all this issues or mabe even use Drift instead Sembast

@zs-dima zs-dima added the bug Something isn't working label Aug 31, 2023
@joeyouss
Copy link

Hi @zs-dima , would it be okay if I close this issue in favor of #67 since they are duplicates?

Also, it would be great if you could upvote the linked issue!

@joeyouss joeyouss added the duplicate This issue or pull request already exists label Aug 31, 2023
@joeyouss joeyouss changed the title Relible offline storage Feature: Reliable offline storage Aug 31, 2023
@joeyouss joeyouss added enhancement New feature or request and removed bug Something isn't working labels Aug 31, 2023
@zs-dima
Copy link
Author

zs-dima commented Aug 31, 2023

@joeyouss thanks fot reply, but it is completely different issue.
I mention !Reliable! offline storage, while current Sembast based solution can miss Reliability.

@zs-dima zs-dima changed the title Feature: Reliable offline storage [ISSUE] Reliable offline storage Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants