Giter VIP home page Giter VIP logo

barrel-platform's Introduction

build status

A document-oriented database targeting data locality & P2P - barrel-db.org

Barrel platform

Barrel is a modern document-oriented database in Erlang focusing on data locality (put/match the data next to you) and P2P.

Barrel must also be able to work in unreliable conditions were sometimes the quorum can't be achieved (because it is working offline or in other conditions).

Because Barrel is built on an existing relatively small code base, it is possible to make radical changes as part of an incremental process. Underpinning, all this work is efficient for small and large data systems โ€” something rare among database systems.

Requirements

  • OS supported: Linux, OSX, BSDs
  • Erlang 19.2

Prerequisites

This repository contains an Erlang project packaged with rebar3. You need to have Erlang 19.1 and the latest version of rebar3 installed to be able to create a release.

Quickstart

$ make rel
$ ./_build/default/rel/barrel/bin/barrel start

Building a release

Execute the following command line:

$ make rel

The generated release can be found in the folder _build/prod/rel .

to build a development release, run the command line make devrel . Please note that this release can't be shipped outside of the current project, the release will be found in the folder _build/default/rel.

Testing a release

To start a barrel http server:

$ ./_build/prod/rel/barrel/bin/barrel start

To stop it:

$ ./_build/prod/rel/barrel/bin/barrel stop

List of available commands:

$ ./_build/prod/rel/barrel/bin/barrel

You can consult the embedded Swagger page at http://localhost:7080/api-docs

Packaging an autonomous tar file

This command create a tarbal including barrek, erlang and associated libs:

$ make tar

You can deploy the tarball wherever you want:

$ mkdir barrelprod
$ cd barrelprod
$ tar -xzf ../barrel-0.1.0.tar.gz
$ bin/barrel_http start

barrel-platform's People

Contributors

benoitc avatar bernardnotarianni avatar deadtrickster avatar jxub avatar pjhampton avatar zkessin avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.