Simon af2d747438 finished GUI | 2 years ago | |
---|---|---|
.vscode | 2 years ago | |
c | 2 years ago | |
client | 2 years ago | |
data | 2 years ago | |
follower | 2 years ago | |
leader | 2 years ago | |
lib | 2 years ago | |
.gitignore | 2 years ago | |
README.md | 2 years ago | |
comm | 2 years ago | |
comm.go | 2 years ago | |
go.mod | 2 years ago | |
go.sum | 2 years ago | |
index.html | 2 years ago | |
main.js | 2 years ago | |
package-lock.json | 2 years ago |
This is the source code following the bachelor thesis Anonymous Topic-Based PubSub Communication for Microblogging.
To execute you need to run follower.go, wait for print "start leader", then run leader.go, wait for 1sec and then start client.go The parameters used, like number of clients or the write database size, are global variables in the respective files.