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

CRDT #2

Open
metasean opened this issue Dec 17, 2015 · 5 comments
Open

CRDT #2

metasean opened this issue Dec 17, 2015 · 5 comments

Comments

@metasean
Copy link
Contributor

We need to provide some mechanism to do distributed math. This will most likely be via a CRDT module or extension.

@PsychoLlama
Copy link
Contributor

Here is a link to a proof of concept addition/subtraction CRDT extension, on which more complex mechanisms can be built. For non-commutative ops, a linked-list could be used. If there's more interest in this, I can post a gist with more robust examples. An npm module is in the works...

@des-des
Copy link

des-des commented Jul 22, 2018

@PsychoLlama

An npm module is in the works

Did you get anywhere with this, would be interested to see where you got..

@PsychoLlama
Copy link
Contributor

@des-des Nope 😞 IIRC I was pulled off the project shortly after the first proof of concept.

@amark
Copy link
Contributor

amark commented Jul 22, 2018

@PsychoLlama wasn't your link (now at https://gun.eco/docs/Counter ) it?

GUN itself is a CRDT, and like Jesse demonstrated, you can build other CRDT's on top of GUN in just 12 lines!

@des-des does the link he gave suffice?

@des-des
Copy link

des-des commented Jul 23, 2018

@PsychoLlama @amark thanks both for the quick response. Yeah I have seen the counter example. I need some kind of crdt on a sorted set/list, I will post back here if I find time to build it.

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

No branches or pull requests

4 participants