Giter Club home page Giter Club logo

eraft's Introduction

Language License

WellWood

Wellwood is a distributed block storage system, based on multi raft algorithm, we store file blocks in a distributed manner. Ensure high availability and provide ultra large capacity storage support.

The following is our architecture diagram:

WellWood

build

git clone https://github.com/eraft-io/eraft.git
cd eraft
make

quick start

run meta server

./meta_server -id 0 -peers 127.0.0.1:8088,127.0.0.1:8089,127.0.0.1:8090
./meta_server -id 1 -peers 127.0.0.1:8088,127.0.0.1:8089,127.0.0.1:8090
./meta_server -id 2 -peers 127.0.0.1:8088,127.0.0.1:8089,127.0.0.1:8090

add server group to cluster

./wellwood-ctl add_server_group 127.0.0.1:8088,127.0.0.1:8089,127.0.0.1:8090 1 127.0.0.1:7088,127.0.0.1:7089,127.0.0.1:7090

check cluster topo

./wellwood-ctl  get_cluster_topo 127.0.0.1:8088,127.0.0.1:8089,127.0.0.1:8090

output

{
	"server_group_metas": {
		"config_version": 1,
		"slots": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
		"server_groups": {
			"1": "127.0.0.1:7088,127.0.0.1:7089,127.0.0.1:7090"
		}
	}
}

run block_server

./block_server -id  0 -gid 1 -peers 127.0.0.1:7088,127.0.0.1:7089,127.0.0.1:7090
./block_server -id  1 -gid 1 -peers 127.0.0.1:7088,127.0.0.1:7089,127.0.0.1:7090
./block_server -id  2 -gid 1 -peers 127.0.0.1:7088,127.0.0.1:7089,127.0.0.1:7090

run web dashboard

./dashboard -meta_addrs 127.0.0.1:8088,127.0.0.1:8089,127.0.0.1:8090

to http://127.0.0.1:12008/

WellWood Dashboard

Next step

eraft's People

Contributors

bokket avatar crazycollin avatar fenglin-zhou avatar jiachengh avatar liubiyongge avatar lliujj avatar wadewuu avatar zhluoo 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.