Giter Site home page Giter Site logo

grb's Introduction

UniStore

For more information, consult our paper UniStore: A fault-tolerant marriage of causal and strong consistency (ATC โ€˜21).

Build

UniStore is written in Erlang. It has been tested up to OTP 24.3.3. You can download it here: https://www.erlang-solutions.com/downloads/

make # Downloads and caches dependencies, compiles the code
make rel # Builds an release, which can be ran using the console

Test

make test # Unit tests
make ct # Common Tests

Run

make rel # If you haven't done it before
make start

To stop the server, run make stop. To attach to the running server, run make attach.

Try

There are two ways of poking the system: using the Erlang shell, or by running a local deployment.

Erlang Shell

If you haven't built a release, do it first by running make rel. Then, run and connect to a local test server by running make console. Check out the API on the grb.erl file to know what you can do.

To quit, you can run the following:

q().

Local Cluster

You can perform a local deployment of four replicas by running the following:

# Creates a release for every server.
# You should run this _even_ if you have already run `make rel`
make devrel

# Start the servers
make devstart

# Verify that the servers are running
make devping

# Join the four servers as four different replicas
make devreplicas

To stop the servers, run make devstop.

License

Licensed under Apache License, Version 2.0.

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.