Code Monkey home page Code Monkey logo

skiptrie's Introduction

The SkipTrie

Low Depth Concurrent Search Without Rebalancing

  • Background
    • The SkipTrie is a probabilistically-balanced version of a Y-Fast Trie. The Y-Fast Trie is the combination of an X-Fast Trie that's linked to a series of balanced binary search trees. The SkipTrie distinguishes itself from the Y-Fast Trie by forgoing the balanced binary search trees and replacing it with a single skiplist. By eliminating the need for rebalancing, the SkipTrie is essentially a lock-free linearizable implementation of the Y-fast trie.

The Data Structures

  • The Skip List

    • The skip list used in this project is Doug Lea's implementation of his skip list. We modified his skip list structure by adding list search and the coin fipping that is needed for the skip trie structure. We also modified the add method.
  • The X-Fast Trie

    • Our implementation of the x-fast trie is essentially a pseudo-bitwise trie with a doubly linked list built on top of the leaf row in the trie. Each node has a concurrent hash map of its children.
  • The Hash Table

    • The hashing thats done in the x-fast trie is done with Java's ConcurrentHashMap class.
  • The Doubly Linked List

    • The doubly linked list is a direct port from Doug Lea's implementation of a concurrent doubly linked list.

The final product: The SkipTrie

  • By combining all of the components in the Data Structures section we build an extremely fast concurrent search structure, the skip trie.
    • TODO: Description of how the search structure works

The Team

Joseph Leavitt, Joseph Landry, Jason Berk, Harold Marcial

Bibliography

skiptrie's People

Contributors

jasondberk avatar joeleavitt avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

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.