GithubHelp home page GithubHelp logo

Comments (3)

edescourtis avatar edescourtis commented on June 19, 2024

+1 that

from loom.

asonge avatar asonge commented on June 19, 2024

I'm not sure what that would look like. I've been thinking about this and the common use cases for client-side CRDT's and how to evaluate the security implications of merging values from users with different permissions. The only thing I can come up with is that clients that aren't trusted need to use ops-based CRDT's. Doing this in a state-based way seems a lot more difficult and prone to bugs. I'd only use this state-based stuff for maintaining trusted/server state and syncing servers.

When it comes to a javascript companion library that covers most use-cases (and defines a set of json datastructures), it's definitely on my to-do list. My day job should start slowing down soon, so this repo is about to get active again. I think once you have that, it should be possible to write stuff in other languages that obeys the basic json contract.

As far as a protocol goes, this stuff can be made fairly rigorous because actions are idempotent. A complicated protocol doesn't seem to be needed.

from loom.

jeregrine avatar jeregrine commented on June 19, 2024

Just like defining and sticking to a protocol even if its simple can go a long way.

On Wed, Jun 17, 2015 at 5:03 PM, Alexander Songe [email protected]
wrote:

I'm not sure what that would look like. I've been thinking about this and the common use cases for client-side CRDT's and how to evaluate the security implications of merging values from users with different permissions. The only thing I can come up with is that clients that aren't trusted need to use ops-based CRDT's. Doing this in a state-based way seems a lot more difficult and prone to bugs. I'd only use this state-based stuff for maintaining trusted/server state and syncing servers.
When it comes to a javascript companion library that covers most use-cases (and defines a set of json datastructures), it's definitely on my to-do list. My day job should start slowing down soon, so this repo is about to get active again. I think once you have that, it should be possible to write stuff in other languages that obeys the basic json contract.

As far as a protocol goes, this stuff can be made fairly rigorous because actions are idempotent. A complicated protocol doesn't seem to be needed.

Reply to this email directly or view it on GitHub:
#1 (comment)

from loom.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.