Giter Club home page Giter Club logo

kubo's Introduction

Kubo

Star based block distribution system with a single point of failure (soon no point of failure). Fun for some, not for all.

Kubo is an emulated NBD that maps blocks to a bunch of smaller files. It can be run standalone or as a client where it attempts to distribute the current block state to a central repository atomically, slowly, but atomically.

Standalone Mode

Do whatever you want with the files. A log file will be written to the base of the storage directory that includes a list of all storage files and blocks with their relative path that have changed. This log file can be rotated as well as disabled.

Network Mode

Should be used for backups or with GFS2/OCFS2 and a DLM.

Writes are not complete until they have been uploaded to a central repository via a ZMQ Pair (over SSH if you want) socket and processed.

Processing means a ZMQ Publish socket is used to inform all clients to delete a specific block from their disk and optionally download it. By default KuboFS will not download blocks and will download them on demand. Once each KuboFS peer replies control is returned to the KuboFS peer that initiated the write and subsequently the filesystem driver using the block device.

Blocks are stored full and compressed initially. Deltas are stored during writes. Deltas are stored as deltas of flattened blocks using the previous deltas. This allows for much more optimized transactions.

Once a block has changed a certain amount of times previous deltas are applied and the block is flattened and the delta log is reset.

Features

  • Dedupe, of course
  • Sparse blocks, of ourse
  • Compression, of course

Requirements

kubo's People

Contributors

whardier avatar

Watchers

 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.