Settings

Theme

Show HN: WRaft, a WebAssembly Raft Implementation over WebRTC

wraft0.eevans.co

11 points by shosti 4 years ago · 1 comment

Reader

shostiOP 4 years ago

This was a project I implemented for fun to try to understand how Raft works (and also get more practice with Rust). The basic idea is that some state gets synchronized between 3 browser windows (currently hard-coded) over WebRTC. It's pretty fast if you're on the same machine (I've seen ~2000 writes/second on Chromium).

It's probably not useful for real applications in its current form, but I could potentially see some use cases in peer-to-peer browser applications.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection