💾 Archived View for dioskouroi.xyz › thread › 29397382 captured on 2021-11-30 at 20:18:30. Gemini links have been rewritten to link to archived content

View Raw

More Information

-=-=-=-=-=-=-

Show HN: WRaft, a WebAssembly Raft Implementation over WebRTC

Author: shosti

Score: 5

Comments: 1

Date: 2021-11-30 20:59:47

Web Link

________________________________________________________________________________

shosti wrote at 2021-11-30 21:12:44:

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.