Uploaded image for project: 'Gossip'
  1. Gossip
  2. GOSSIP-75

Voting interface

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.1.3
    • None

    Description

      Gossip has CRDT support. This is an important building block to doing higher level things. The next piece is being able to act on an object when we receive it. For example lets take the most simple case. I want the cluster to vote on something such as "who asked for this lock first". Currently we replicate objects lazily through a thread, what we want to do is on reception of an object apply some function such that we can modify the object being received.

      The way I want to go about this is voting objects can be injected with a type like VoteContext

      http://stackoverflow.com/questions/27133161/how-to-pass-constructors-parameters-with-jackson

      Users can register Voter implementations. On receiving an object the interface allows logic to be run. In the case of a Voting each node appends its vote as the object moves around over time you can poll your local copy and determine the result of the vote.

      Attachments

        Issue Links

          Activity

            People

              mirage20 Mirage Abeysekara
              appodictic Edward Capriolo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: