Skip to content

Commit

Permalink
virginia cluster throughput experiment
Browse files Browse the repository at this point in the history
  • Loading branch information
bbengfort committed Aug 27, 2018
1 parent 956dd61 commit 6201b54
Show file tree
Hide file tree
Showing 10 changed files with 1,409 additions and 93 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,15 @@

**Actor based implementation of the [Raft consensus algorithm](https://raft.github.io/)**.


## Benchmarks

The following benchmark is run on a MacBook Pro with 16GB RAM and an 3.1 GHz Intel Core i7 quad core processor. The cluster is composed of three Raft processes, with another process running concurrent client queries for a fixed duration.

![Benchmark](fixtures/benchmark.png)


Version 0.1: gRPC unary rpc
Version 0.2: gRPC bidirectional streaming for AppendEntries
Version 0.3: experimental design and setup
Version 0.4: aggregate append entries from clients
1 change: 1 addition & 0 deletions fixtures/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ __pycache__
# experimental stuff
hosts.json
geonet/configs/*.json
geonet/configs/**/*.json
metrics*.json
Binary file not shown.
Binary file not shown.
8 changes: 7 additions & 1 deletion fixtures/geonet/fabfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ def bench(config, clients):
Run all servers on the host as well as benchmarks for the number of
clients specified.
"""
clients = int(clients)
name = addrs[env.host]
command = []

Expand All @@ -214,7 +215,12 @@ def bench(config, clients):

# Create the benchmark command
if name == config["client"]:
args = make_args(c="config.json", n=10, r=500, o="metrics.json", d="20s")
if clients <= 10:
r = 500
else:
r = int(5000 / clients) + 1

args = make_args(c="config.json", n=clients, r=r, o="metrics.json", d="20s")
command.append("raft bench {}".format(args))

if len(command) == 0:
Expand Down
Binary file added fixtures/geonet/notebook/global-100-blast.pdf
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit 6201b54

Please sign in to comment.