
Raft Consensus Algorithm in Typescript using Express.js
Francisco Trianto / June 5, 2025
Repository:
https://github.com/NoHaitch/raft-consensusExpress
Typescript
The Raft Consensus Algorithm is a distributed consensus algorithm designed to ensure that multiple nodes in a distributed system agree on the same state. This implementation focuses on a single cluster of nodes, providing a foundation for understanding how Raft works.
Includes:
- Heartbeat
- Leader Election
- Log Replication
- Membership Change
Based around the original paper by Diego Ongaro and John Ousterhout: https://raft.github.io/raft.pdf
For More Information, Check out this GitHub README