Skip to content

SGZW/zw6.824-2018

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MIT6.824-2018

this is zhangwei's MIT6.824 experiment practice

rework lab 2a:

1. 事件驱动状态机
2. 多线程pipeline
3. 基于通信而不是基于锁的共享内存
  • Test (2A): initial election ...

  • ... Passed -- 3.1 3 30 0

  • Test (2A): election after network failure ...

  • ... Passed -- 4.5 3 68 0

  • PASS

  • ok raft 7.647s

  • Test (2B): basic agreement ...

  • ... Passed -- 1.5 5 36 3

  • Test (2B): agreement despite follower disconnection ...

  • ... Passed -- 5.1 3 68 7

  • Test (2B): no agreement if too many followers disconnect ...

  • ... Passed -- 4.0 5 140 4

  • Test (2B): concurrent Start()s ...

  • ... Passed -- 1.2 3 12 6

  • Test (2B): rejoin of partitioned leader ...

  • ... Passed -- 5.2 3 104 4

  • Test (2B): leader backs up quickly over incorrect follower logs ...

  • ... Passed -- 41.2 5 2120 102

  • Test (2B): RPC counts aren't too high ...

  • ... Passed -- 3.1 3 34 12

  • PASS

  • ok raft 61.395s

  • Test (2C): basic persistence ...

  • ... Passed -- 5.3 3 76 6

  • Test (2C): more persistence ...

  • ... Passed -- 19.8 5 728 16

  • Test (2C): partitioned leader and one follower crash, leader restarts ...

  • ... Passed -- 2.8 3 34 4

  • Test (2C): Figure 8 ...

  • ... Passed -- 28.3 5 708 12

  • Test (2C): unreliable agreement ...

  • ... Passed -- 9.9 5 224 246

  • Test (2C): Figure 8 (unreliable) ...

  • ... Passed -- 36.3 5 2232 661

  • Test (2C): churn ...

  • ... Passed -- 16.4 5 380 211

  • Test (2C): unreliable churn ...

  • ... Passed -- 16.3 5 404 204

  • PASS

  • ok raft 135.107s

About

mit6.824

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages