GithubHelp home page GithubHelp logo

abtreece / riak-repl-in-a-box Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 12 KB

Docker sandbox for tinkering with Riak clusters and replication

Dockerfile 17.16% Shell 73.65% Python 9.20%
docker docker-compose riak-kv riak

riak-repl-in-a-box's Introduction

riak-repl-in-a-box

Provides a Docker environment which implements two riak clusters and configures replication between them.

Requirements

Quick Start

Bring the environment up with docker-compose. Running in detached mode puts the sandbox in the background. Utilizes a current Riak Docker image built on amazonlinux... abtreece/riak-kv

$ docker-compose up -d
Creating network "riak-repl-in-a-box_default" with the default driver
Creating riak-repl-in-a-box_coordinator-west_1 ... done
Creating riak-repl-in-a-box_coordinator-east_1 ... done
Creating riak-repl-in-a-box_member-west_1      ... done
Creating riak-repl-in-a-box_member-east_1      ... done

Riak status


$ curl localhost:8098/stats | jq
{
  "connected_nodes": [
    "[email protected]"
  ],
  ...
  "ring_members": [
    "[email protected]",
    "[email protected]"
  ],
  "ring_num_partitions": 64,
  "ring_ownership": "[{'[email protected]',32},{'[email protected]',32}]",

Replication status


$ curl localhost:8098/riak-repl/stats | jq
{
  "realtime_enabled": "riak-west-1",
  "realtime_started": "riak-west-1",
  "fullsync_enabled": "riak-west-1",
  "fullsync_running": "",
  "cluster_name": "riak-east-1",
  "cluster_leader": "[email protected]",
  "connected_clusters": [
    "riak-west-1"
  ],

riak-repl-in-a-box's People

Contributors

abtreece avatar

Watchers

 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.