r/coolgithubprojects • • 2d ago

Raft cluster visualization: the real Go implementation compiled to WASM, running in your browser

https://raftsim.kassab.dpdns.org

I was learning Raft and implementing it in Go, and I wanted to see what’s actually happening inside the cluster. So I compiled it to WASM, and the whole 5-node cluster runs in your browser. I made it a game, like TigerBeetle’s visualizer: you can crash, freeze or wipe nodes and check linearizability.

Code: https://github.com/fattymango/kvraft

1 Upvotes

0 comments sorted by