Skip to content

shrtyk/raft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Raft in Go (MIT 6.5840)

This repository contains an implementation of the Raft consensus algorithm in Go for the MIT 6.5840 Distributed Systems course.

Implemented Features

  • 3A: Leader Election and Heartbeats
  • 3B: Log Replication
  • 3C: Persistence
  • 3D: Log Compaction with Snapshots

Running Tests

The core Raft implementation is in the raft1/ directory. To run the tests:

go test

To run tests for a specific part (e.g., 3A), you can use the -run flag:

go test -run 3A

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages