Simon af2d747438 finished GUI | 2 gadi atpakaļ | |
---|---|---|
.vscode | 2 gadi atpakaļ | |
c | 2 gadi atpakaļ | |
client | 2 gadi atpakaļ | |
data | 2 gadi atpakaļ | |
follower | 2 gadi atpakaļ | |
leader | 2 gadi atpakaļ | |
lib | 2 gadi atpakaļ | |
.gitignore | 2 gadi atpakaļ | |
README.md | 2 gadi atpakaļ | |
comm | 2 gadi atpakaļ | |
comm.go | 2 gadi atpakaļ | |
go.mod | 2 gadi atpakaļ | |
go.sum | 2 gadi atpakaļ | |
index.html | 2 gadi atpakaļ | |
main.js | 2 gadi atpakaļ | |
package-lock.json | 2 gadi atpakaļ |
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.