Research Article

Making Raft Measurable: An Instrumented Implementation and Fault-Injectable Dashboard for Failover, Latency, and Tenure

by  Shrestha Saxena
journal cover
International Journal of Computer Applications
Foundation of Computer Science (FCS), NY, USA
Volume 187 - Issue 48
Published: October 2025
Authors: Shrestha Saxena
10.5120/ijca2025925799
PDF

Shrestha Saxena . Making Raft Measurable: An Instrumented Implementation and Fault-Injectable Dashboard for Failover, Latency, and Tenure. International Journal of Computer Applications. 187, 48 (October 2025), 16-20. DOI=10.5120/ijca2025925799

                        @article{ 10.5120/ijca2025925799,
                        author  = { Shrestha Saxena },
                        title   = { Making Raft Measurable: An Instrumented  Implementation and Fault-Injectable Dashboard for Failover, Latency, and Tenure },
                        journal = { International Journal of Computer Applications },
                        year    = { 2025 },
                        volume  = { 187 },
                        number  = { 48 },
                        pages   = { 16-20 },
                        doi     = { 10.5120/ijca2025925799 },
                        publisher = { Foundation of Computer Science (FCS), NY, USA }
                        }
                        %0 Journal Article
                        %D 2025
                        %A Shrestha Saxena
                        %T Making Raft Measurable: An Instrumented  Implementation and Fault-Injectable Dashboard for Failover, Latency, and Tenure%T 
                        %J International Journal of Computer Applications
                        %V 187
                        %N 48
                        %P 16-20
                        %R 10.5120/ijca2025925799
                        %I Foundation of Computer Science (FCS), NY, USA
Abstract

Raft is widely taught as a leader-based consensus algorithm, yet most educational implementations stop at functional tests and provide little quantitative evidence of fault-tolerance timing. An instrumented Raft implementation paired with a fault-injectable dashboard is presented, enabling the protocol’s dynamics to be both visible and measurable. The Go-based implementation, compatible with MIT 6.824 Labs 2A–2C, incorporates lightweight telemetry at ground-truth events such as election start, leader elected, first heartbeat, and Start/Commit and exports the recorded data as CSV logs. The dashboard (React/Node) lets users crash and recover nodes, force timeouts, and vary message loss, while a small analysis tool produces paper-ready figures.

References
  • D. Ongaro and J. Ousterhout, “In Search of an Understandable Consensus Algorithm,” in USENIX ATC, 2014, pp. 305–319.
  • MIT PDOS, “Distributed Systems (6.824) Labs.” Available: https://pdos.csail.mit.edu/6.824/labs/ (accessed 2025-08-31).
  • Raft Visualization, “Raft Interactive Visualization.” Available: https://raft.github.io/ (accessed 2025-08-31).
  • D. Ongaro, Consensus: Bridging Theory and Practice, Ph.D. thesis, Stanford Univ., 2014.
  • L. Lamport, “The Part-Time Parliament,” ACM Trans. Comput. Syst., vol. 16, no. 2, pp. 133–169, 1998.
  • T. D. Chandra, R. Griesemer, and J. Redstone, “Paxos Made Live—An Engineering Perspective,” in Proc. PODC, 2007, pp. 398–407.
  • J. Wilcox et al., “Verdi: A Framework for Implementing and Formally Verifying Distributed Systems,” in USENIX OSDI, 2015.
  • etcd Authors, “etcd Raft Implementation.” Available: https://github.com/etcd-io/etcd/tree/main/raft (accessed 2025-08-31).
  • S. Saxena, “Instrumented Raft + Dashboard: Measuring Failover, Latency, and Tenure.” GitHub: https://github.com/Shre-coder22/raft-distributed-systems-lab, 2025.
  • S. Saxena, “Artifact snapshot for Instrumented Raft + Dashboard.” DOI: 10.5281/zenodo.17015793, 2025.
Index Terms
Computer Science
Information Sciences
No index terms available.
Keywords

Raft Consensus Algorithm Leader Election Log Replication Fault Injection Distributed Computing Replication Latency Failover

Powered by PhDFocusTM