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

Support CRDTs #4

Open
marksteele opened this issue May 21, 2015 · 0 comments
Open

Support CRDTs #4

marksteele opened this issue May 21, 2015 · 0 comments

Comments

@marksteele
Copy link

I realize this is probably too wishful, but would be nice to have CRDT support of some sort.

Something like specify the buckettype/bucket/key, data type, then possibly a json describing mutations? (follows same semantics as HTTP and erlang interfaces)

Counter:

{"decrement": 3}

Sets:

{"remove": "Montreal","add_all":["Hamilton", "Ottawa"]}

Maps:

{
    "update": {
      "annika_info_map": {
        "update": {
          "purchase_map": {
            "update": {
              "first_purchase_flag": "enable",
              "amount_register": "1271",
              "items_set": {
                "add": "large widget"
              }
            }
          }
        }
      }
    }
  }

Would make it relatively to build up this mutations via a javascript step

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

No branches or pull requests

1 participant