Git Product home page Git Product logo

stablestorage's Introduction

Stable Storage

  • Container
  • Bucket

Container

Container: Container - Bucket 两层结构, Container作为Bucket的管理层与第一次query(查询key在哪个Bucket)的处理层

  • 负责:
  • 生成新的Container Canister
  • 生成新的Bucket Canister
  • 对Bucket充值Cycle
  • 处理询问: 数据是否存在于本Container-Bucket组, 不存在则返回false/null, 存在则返回{Bucket_Canister_id : Principal, key : Blob}

TODO

  • 集成Bucket布隆过滤器及其对应措施
  • Container自管理(自动扩容,Cycle等)

Bucket

Bucket主要作为一个存储Canister的模板, 提供基础的增删改查

  • 负责:
  • 对数据的增删改查

TODO

  • 完善存储树, 现在为Hashmap, 带补充TrieMap, RBTree-Map, BinarySearchTree ···
  • 集成布隆过滤器
  • Compacting GC 版 和 Coping GC 版

stablestorage's People

Contributors

eliezhao avatar

Watchers

James Cloos 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.