-
Notifications
You must be signed in to change notification settings - Fork 0
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
Effortless synchronization #46
Comments
Implemented a working version that's fast enough and does not exceed maximum stack size. Needs some work before I feel comfortable including it in Methodoly though. |
Hi @A5308Y. This sounds intriguing. I've been investigating using CRDTs in Elm for syncing. Are you open to sharing your initial working implementation on GitHub? |
Sure. I put it up at https://github.com/A5308Y/elm-crdt there are still edge cases that need to be addressed. I'd be happy to have a short call about this if you're up for it. |
Great! Thank you for the offer - I think I'll take you up on that. I'll try it out first and get back to you with questions. |
Possible Solutions
CRDTs
Seems to be the "correct" solution. Is this memory intensive?
Possible Implementations:
Everything manually
When to save to localStorage?
When to save to server?
Scenario:
Client 1 checks off an action offline
Client 2 renames the same action offline
Client 1 goes online and saves its action
What happens?
The text was updated successfully, but these errors were encountered: