Giter VIP home page Giter VIP logo

6.824lab's Introduction

#MIT 6.824lab

基于Go的分布式系统课的实验,跟着做了一下.

当然模板代码里面也有很多不足的地方,抛开源代码的因素,作为分布式的学习资源还是不错的,故跟着做了一边, 一些代码的错误我列在了下面,这些修改,是基于commit(f9ba545e)这个提交的修改,请在动手前查看一下,省得自己再踩坑.

源课程链接:http://nil.csail.mit.edu/6.824/2015/.

注意: 进行实验之前,因为源代码的模板目录结构原因,请执行export GOPATH=pwd``,实验完之后. 恢复成原来的工程目录的GOPATH,或者直接退出当前terminal的session. 我的版本是写了答案的,如果想自己尝试可以checkout最初的commit(f9ba545e)即可.

修改: 在lab1的第二部分:MapReduce的alive变量存在race condition,要加锁. 在lab2的first backup test里面,ck1.Ping(1)最好写在ck2.Ping(0)的后面,保证能够让Primary ACK. 好像很多地方都不给ACK,要特别注意补上.

6.824lab's People

Contributors

dvorak42 avatar stebalien avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.