https://github.com/nvinuesa/tobcast
Total order broadcast algorithm implemented in Go
https://github.com/nvinuesa/tobcast
concensus distributed-systems golang
Last synced: about 1 year ago
JSON representation
Total order broadcast algorithm implemented in Go
- Host: GitHub
- URL: https://github.com/nvinuesa/tobcast
- Owner: nvinuesa
- Created: 2019-11-12T15:41:07.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-03-29T18:33:09.000Z (about 6 years ago)
- Last Synced: 2025-01-29T17:32:02.149Z (over 1 year ago)
- Topics: concensus, distributed-systems, golang
- Language: Go
- Homepage: https://underscorenico.github.io/blog/2019/11/12/total-order-broadcast
- Size: 39.1 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Total order broadcast (tobcast)
Please visit https://underscorenico.github.io/blog/2019/11/12/total-order-broadcast/ for implementation details.
### Build
The project uses makefile, to build simply run:
```bash
make all
```
and to test it simply run:
```bash
make test
```
or
```bash
make test-race
```
### Run
Run the binary:
```bash
.bin/github.com/underscorenico/tobcast
```
Note: keep in mind that every time you run the binary, the configuration is read, so you need to update the
tcp listen port every time you launch a new instance.
### Dependency
If you want to use tobcast as a Go dependency simply:
```bash
go get github.com/underscorenico/tobcast/tobcast
```
and import it in your project:
```go
import "github.com/underscorenico/tobcast/pkg/tobcast"
```