MIT 6.824-2018 Labs
git://g.csail.mit.edu/6.824-golabs-2018
if the origin repo can't be access, use following command can get it:
git checkout 8573c99cec9a0993c025ad385e6fbc9c7526a394
- Lab 1
- Lab 2
- Lab 3
- Lab 4
- Challenge 1
- Challenge 2
env is a 8 G 4 cores Unbuntu16.04 Virtual Machine on a laptop.
- Lab1
- Lab 2
- Lab 3
- Lab 4 with 2 challenges
There is a ConsistentHash and RBTree implementation with tests in shardmaster. RBTree is refer to https://github.com/shady831213/algorithms/tree/master/tree/binaryTree
test:
cd shardmaster
go test -v -run CHash
Because hash function can not meet strict balance, balance check in lab test is relaxed.
You must write all the code you hand in for 6.824, except for code that we give you as part of the assignment. You are not allowed to look at anyone else's solution, you are not allowed to look at code from previous years, and you are not allowed to look at other Raft implementations. You may discuss the assignments with other students, but you may not look at or copy each others' code.