Giter Club home page Giter Club logo

ace-crdt's People

Contributors

maca avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ace-crdt's Issues

Question: how to create an RGA CRDT on server

Many thanks for sharing this clean and lightweight RGA example, I've learned much about CRDT by playing with it. I've implemented it in the beta branch of http://github.com/dansteingart/pithy, and it's working quite well. What i'm about to describe below is likely obvious to those practiced in CRDT, so thank you in advance for your patience.

There's a set of edges case (I guess a surface?) where history request conflicts with an initial load of data from the sever, I think it's because the clients are using RGA but the server is not. Thus, the standard GET/POST I'm using to read and write data is sometimes in a race condition with the client CRDT. Is there a simple way to implement an RGA point on server from which the data store is served/written so I can avoid this other pathway?

I've checked out y.js and other libraries that seem to do this, but it's buried under the hood and I'd like to avoid the code bloat and bundling overhead these other libraries introduce.

Thanks for your time.

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.