Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Stack and PagedLinkedList library #52

Merged
merged 2 commits into from

2 participants

@jasonko

Two Collections useful for iterating across items

  • VStack - Linked list stack implementation on top of voldemort. Nodes within the stack are identified by their id. Only adding and setting nodes are allowed. Removing is unsupported due to possible stack corruption.
  • VLinkedPagedList - keeps track of a value in relation to its position in a sorted key. Items are placed in the LinkedPagedList in descending order. New elements are added to the front of the list.
@vinothchandar
Collaborator

Summarizing the discussions during the code review of this pull request :

-- The data structure requires a strict quorum to be eventually consistent.
-- Without a quorum, a custom conflict resolver may be required to merge the diverging stacks, in the face of failures.

@vinothchandar vinothchandar merged commit e8ec37b into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Sep 16, 2011
  1. Initial commit for Voldemort backed stack (VStack) and indexed linked…

    Jason Ko authored
    … list (VLinkedPagedList)
  2. formatting cleanup

    Jason Ko authored
Something went wrong with that request. Please try again.