• Home
  • History
  • Annotate
  • only in this directory
Name Date Size

..11-Jan-20224 KiB

.gitignoreH A D11-Jan-202220

.travis.ymlH A D11-Jan-2022328

api.goH A D11-Jan-20229 KiB

misc.goH A D11-Jan-20221.6 KiB

misc_test.goH A D11-Jan-20222.6 KiB

moves.goH A D11-Jan-20224.5 KiB

moves_test.goH A D11-Jan-20228.8 KiB

orchestrate.goH A D11-Jan-202220.1 KiB

orchestrate_test.goH A D11-Jan-202224.4 KiB

plan.goH A D11-Jan-202218.6 KiB

plan_test.goH A D11-Jan-202257.7 KiB

README.mdH A D11-Jan-20221.1 KiB

README.md

1blance
2======
3
4blance implements a straightforward partition assignment algorithm,
5using a greedy, heuristic, functional approach.
6
7blance provides features like multiple, user-configurable partition
8states (master, replica, read-only, etc), multi-level containment
9hierarchy (shelf/rack/row/zone/datacenter awareness) with configurable
10inclusion/exclusion policies, heterogeneous partition weights,
11heterogeneous node weights, partition stickiness control, and multi-master
12support.
13
14[![Build Status](https://travis-ci.org/couchbase/blance.svg)](https://travis-ci.org/couchbase/blance) [![GoDoc](https://godoc.org/github.com/couchbase/blance?status.svg)](https://godoc.org/github.com/couchbase/blance) [![Coverage Status](https://coveralls.io/repos/couchbase/blance/badge.svg?branch=master&service=github)](https://coveralls.io/github/couchbase/blance?branch=master)
15
16LICENSE: Apache 2.0
17
18### Usage
19
20See the PlanNextMap() function as a starting point.
21
22### For developers
23
24To get local coverage reports with heatmaps...
25
26    go test -coverprofile=coverage.out -covermode=count && go tool cover -html=coverage.out
27