Coder Social home page Coder Social logo

fxfactorial / alba Goto Github PK

View Code? Open in Web Editor NEW

This project forked from openvstorage/alba

0.0 2.0 0.0 20.63 MB

Open vStorage alternate backend creates a replicated or flexible network raid’ed object storage backend out of Seagate Kinetic drives and local disk supporting compression, encryption.

License: Other

Makefile 0.39% Shell 0.38% Python 3.18% M4 0.01% C++ 9.67% OCaml 85.42% Standard ML 0.04% C 0.91%

alba's Introduction

Alba

Build Status

Alba (ALternative BAckend) is a distributed object store, like Swift, Ceph and Amplistor. Alba is highly optimised for Open vStorage and aggregates a set of OSDs like Alba's ASDs or Seagate's Kinetic Drives into a pool of storage that you can use as a storage backend for Open vStorage.

Alba supports the following high-end set of features:

  • erasure coding
  • replication
  • (optional) compression
  • (optional) encryption
  • partial reads
  • namespaces
  • repair
  • rebalancing
  • flash acceleration
  • global and local recovery
  • ...

Unlike most alternatives, Alba is a consistent store. Since it is optimised for the types of objects Open vStorage's volume driver needs to store and retrieve, Alba has become the default object storage backend for Open vStorage.

This also means Alba is not a general purpose object store. Currently, you might have problems storing gigabyte size objects.

License

ALBA is licensed under the GNU Affero General Public License v3.

Documentation

You can consult a GitBook with all ALBA documenation online by visiting https://openvstorage.gitbooks.io/alba.

Building Alba

see COMPILING

Installing Alba

You need the Alba binary on all machines you want to run an alba component. We provide debian and redhat packages

Playing Around

Developers can set up an alba environment on their local machine using the available setup script:

$> ./setup/setup.native nil
...

Alba's typically used from within a program (C++, OCaml) but there's a command line interface too.

$> ./ocaml/alba.native list-namespaces --config=cfg/test.ini
...
Found the following namespaces: [("demo",
  { Albamgr_protocol.Protocol.Namespace.id = 0l; nsm_host_id = "ricky";
    state = Albamgr_protocol.Protocol.Namespace.Active;
    preset_name = "default" })]

Uploading an object

$> ./ocaml/alba.native upload-object demo ./<some file> <OBJECT_NAME>

Downloading an object

$> ./ocaml/alba.native download-object demo <OBJECT_NAME> <the_file> --config=cfg/test.ini

You can administer a whole alba cluster via the command line but you probably want to use OpenVStorage's GUI for this.

Architecture

more information on design choices and how it all works is explained here

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.