Skip to content

Commit

Permalink
checked all files for the 2nd time; ran both local and remote scripts…
Browse files Browse the repository at this point in the history
…; all tests passing; final commit; released
  • Loading branch information
PasinduTennage committed Aug 5, 2024
1 parent adb0a91 commit 467969f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# Baxos Consensus

This repository implements Baxos Consensus.
This repository implements ```Baxos Consensus```.

```Baxos``` is a variant of ```Paxos```.
In ```leader-based Paxos``` (a.k.a. ```Multi-Paxos```), a leader is elected and all the proposals are initiated by the leader.
In contrast, in ```Baxos```, each replica acts as a leader and propose simultaneously.
When replicas experience contention, in the event when more than 1 proposer is proposing at the same time, ```Baxos``` uses
random exponential backoff to avoid further collisions.

This repository uses [Protocol Buffers](https://developers.google.com/protocol-buffers/).
It requires the ```protoc``` compiler with the ```go``` output plugin installed.
Expand All @@ -17,5 +23,4 @@ run ```go mod vendor``` to install dependencies

run ```go build -v -o ./client/bin/client ./client/``` and ```go build -v -o ./replica/bin/replica ./replica/``` to build the client and the replica


All the commands to run replicas and the clients are available in the ```integration-test/``` directory
2 changes: 1 addition & 1 deletion integration-test/safety_test.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
arrivalRate=$1
round_trip_time=$2
attack=$3
attack=$3 # 1 for attack, 0 for no attack

replica_path="replica/bin/replica"
ctl_path="client/bin/client"
Expand Down

0 comments on commit 467969f

Please sign in to comment.