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

CRDTs and CubDB? #18

Open
andyl opened this issue Apr 16, 2020 · 1 comment
Open

CRDTs and CubDB? #18

andyl opened this issue Apr 16, 2020 · 1 comment

Comments

@andyl
Copy link

andyl commented Apr 16, 2020

I'm working on a mobile Nerves app that will experience periods of disconnection. Disconnected users will create/update/delete records, then re-sync upon connection.

I think this would be a good use-case for CRDTs. I'm curious if anyone has used CubDB with CRDTs, or if people can suggest other sync-strategies for disconnected updates.

@lucaong
Copy link
Owner

lucaong commented Apr 16, 2020

Not specifically for CRDTs, but for similar scenarios in embedded software where I needed to keep a queue for re-syncing when possible, I recently open-sourced CubQ, a durable queue and stack abstraction on top of CubDB. CubQ supports "at most once" and "at least once" semantics (for the latter, check the dequeue_ack/2 function).

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