Coder Social home page Coder Social logo

tstree's Introduction

TS-Tree

Implementation of a TS Tree for WORM data (i.e. for fact-totem).

Based on the white paper "TS-Trees: A Non-Alterable Search Tree Index for Trustworthy Databases on Write-Once-Read-Many (WORM) Storage∗" by Jian Pei, Man Ki Mag Lau, Philip S. Yu.

Properties of a good index for Trustworthy Databases (WORM):

  1. When committing a record to WORM storage, the id and path to access must be committed and immutable
  2. Index must be incrementally maintainable, and scale to large databases
  3. Data must be searchable using index efficiently
  4. Cost of index space must be reasonable
  5. Record must be destroyed once it expires

Goals of TS Trees:

  1. Maintain virtual sorted list of records
  2. Relatively balanced data structure
  3. Provide effective mechanism to detect adversarial changes

Alternatives: General Hashting Trees (GHT), non-ordered and allows probing queries but no range queries

Intent

TS-Tree tracks the keys and the path to the value. The Value blobs are stored in blob storage, and the semantics are for Append only operations. I.e. key/paths can be added but not altered or removed.

tstree's People

Contributors

bloritsch avatar

Watchers

 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.