Simulating Distributed System Consensus in JS | Dark Hacker News