8000
Skip to content

vemolista/itu-ds-assignment4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ITU Distributed Systems - Assignment 4

Running the application

Generate proto code

protoc --go_out=. \
  --go_opt=paths=source_relative \
  --go-grpc_out=. \
  --go-grpc_opt=paths=source_relative \
  proto/proto.proto

Compile

go build

Run three nodes (in separate terminals)

# Terminal 1
./itu-ds-assignment4 -i 0

# Terminal 2
./itu-ds-assignment4 -i 1

# Terminal 3
./itu-ds-assignment4 -i 2

Observe logs in ./app.log

Configuring

You can add and remove nodes in config.json.

Nodes will wait until they can establish a connection to all other nodes before the simulation is started.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0