I will make sure my solutions are different/upgraded compared to real solutions. They won't pass the testcases (the rule of course is to not public answer) but they are valid/better (test with self-formatted testcases)
Labs and related materials from the MIT 6.824 Distributed Systems course.
This repository will contain no solutions as requested by rtm [email protected]
If you use this template, please make your resulting repository with solutions private.
From the official website:
6.824 is a core 12-unit graduate subject with lectures, readings, programming labs, an optional project, a mid-term exam, and a final exam. It will present abstractions and implementation techniques for engineering distributed systems. Major topics include fault tolerance, replication, and consistency. Much of the class consists of studying and discussing case studies of distributed systems.
This repository was created to serve as an environment for working on the labs.
The tests from the original source tree at git://g.csail.mit.edu/6.824-golabs-2021 have been preserved to a great extent to ensure the authenticity of the labs. The only changes to the tests are updated paths for different artefacts due to the changes in the directory structure.
The repository is organized as follows:
.
├── assets
│ └── logo.png
├── cmd
│ ├── diskvd
│ ├── lockservice
│ ├── mr
│ ├── pbservice
│ └── viewd
├── datasets
│ └── project-gutenberg
├── LICENSE
├── pkg
│ ├── kvraft
│ ├── labgob
│ ├── labrpc
│ ├── models
│ ├── mr
│ ├── porcupine
│ ├── raft
│ ├── shardctrler
│ └── shardkv
└── README.md
The core of each module is represented as a package under the pkg/
subdirectories. Most of these packages are
accompanied by tests in the same directory. The user facing utlitiy command/program binaries are kept under cmd/
.
Mark your progress with this checklist.
- Lab 1: MapReduce
- Lab 2: Raft Consensus Algorithm
- Lab 2A: Raft Leader Election
- Lab 2B: Raft Log Entries Append
- Lab 2C: Raft state persistence
- Lab 3: Fault-tolerant Key/Value Service
- Lab 3A: Key/value Service Without Log Compaction
- Lab 3B: Key/value Service With Log Compaction
- Lab 4: Sharded Key/Value Service
This restructured repository is licensed under the MIT License. See LICENSE for full license text.