Coder Social home page Coder Social logo

Comments (5)

cmeiklejohn avatar cmeiklejohn commented on May 23, 2024

Assigning to the first milestone. Who wants to pick this one up?

from antidote.

bieniusa avatar bieniusa commented on May 23, 2024

Started with documenting the API, but there is not enough information available.... See branch spec_fix.

Chris: You suggested removing the type from the read such that it resembles the append.
But it seems that the type is needed in order to materialise the object.
One solution would be to add the type to the stored object.
What do you think?

One other issue:
What about creation of CRDTs? Is it done during read or during append?

from antidote.

aletomsic avatar aletomsic commented on May 23, 2024

right now the creation of the crdt is done in the read.
I think it would be good to set the type on create (as manuel had suggested in the beginning) or just add an update operation with the type. In this last case, I think we have two options:

  1. insert the type in every update.
  2. just insert the type in the update that creates the crdt (this would be like a create).
    what do you think?
    best,

Alejandro Z. Tomsic
[email protected]

On Jun 23, 2014, at 0:10, bieniusa [email protected] wrote:

Started with documenting the API, but there is not enough information available.... See branch spec_fix.

Chris: You suggested removing the type from the read such that it resembles the append.
But it seems that the type is needed in order to materialise the object.
One solution would be to add the type to the stored object.
What do you think?

One other issue:
What about creation of CRDTs? Is it done during read or during append?


Reply to this email directly or view it on GitHub.

from antidote.

runesl avatar runesl commented on May 23, 2024

We should not distinguish initial update from subsequent updates in the API, as CRDTs are all about ensuring the same behaviour nomatter the order of operations... So specify type on all updates.

To avoid different types with same id clashing, we can use a combined key internally: key_type. This would allow CRDTs with the same (external) key and different types to coexist.

from antidote.

cmeiklejohn avatar cmeiklejohn commented on May 23, 2024

#69, just merged, provides this support. Document @bieniusa is authoring is addressing this issue in the subversion repository.

from antidote.

Related Issues (20)

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.