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

Explain what are the differences and advantages compared to RxDB #12

Closed
etienned opened this issue Aug 6, 2022 · 2 comments
Closed

Comments

@etienned
Copy link

etienned commented Aug 6, 2022

Sorry, it's not a real issue, but it's the only way I found to ask. So, what are the main differences between RxDB and ClientDB? What are the main advantages of clientDB over RxDB?

Thanks

@pie6k
Copy link
Collaborator

pie6k commented Aug 8, 2022

In many ways it is similar. A few differences I did notice:

  • all operations in clientdb are sync (in-memory) vs async/await for RxDB
  • clientdb includes sync server (work in progress sync-engine #10 ) that handles syncing any server with any client (and is not constrained to couchdb, etc)
  • there are no constrains on soft-deletes
  • clientdb server can track lost permissions syncing (eg. you set is_disabled on some of team memberships and given member will receive sync request to remove all team assets)
  • there are bunch of API choices, but this is matter of preference

@etienned
Copy link
Author

Thanks Adam for this info! I'll keep following your project.

Maybe you should put this info somewhere in your docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants