Skip to main content

Distributed Systems

Noisebridge

MIT 6.824: Distributed Systems Engineering

An intensive engineering course exploring core abstractions, fault tolerance, replication algorithms (Paxos, Raft), consistency semantics, distributed transactions, and scalable cloud architectures.

Noisebridge Cohort Edition Self-Paced & Untimed Immediate Pedagogical Feedback Go Systems Labs

Course Overview & Pedagogical Philosophy

Distributed systems are notoriously tricky because failures are partial, concurrent message interleavings are non-deterministic, and networks are asynchronous. Offered as a high-trust, collaborative cohort at Noisebridge, this course pairs MIT 6.824's seminal papers and lectures with comprehensive hands-on implementation and diagnostics.

High-Trust Cohort & Untimed Self-Assessments

In keeping with Noisebridge's hacker ethic and collaborative spirit, examinations in this course are structured as live, untimed self-assessments. Rather than high-stress proctored tests with arbitrary countdown timers, the Midterm and Final assessments are continuously open diagnostics equipped with immediate answer checking and reset capabilities. Use them iteratively to test your conceptual model, uncover edge cases in consensus safety, and verify your systems intuition.

Comprehensive Self-Assessments

Both comprehensive milestones are synthesized directly from historical MIT 6.824 examinations, structured as interactive Open edX problems:

Milestone 1

Midterm Self-Assessment

Coverage: Lectures 1–10 & Labs 1–2

Focuses on RPC semantics, Go concurrency, GFS chunk management, primary-backup state-machine replication, and Raft consensus safety.

  • Problem 1: MapReduce Execution & Worker Crash Recovery
  • Problem 2: Go Concurrency, RPCs & Channel Semantics
  • Problem 3: Google File System (GFS) Chunk Lease & Mutations
  • Problem 4: Primary-Backup Replication & Split-Brain Hazards
  • Problem 5: Raft Leader Election & Term Transitions
  • Problem 6: Raft Safety, Log Matching & Overwrite Invariants

Untimed • Immediate Feedback • Multiple Attempts Allowed

Milestone 2

Final Comprehensive Self-Assessment

Coverage: Lectures 11–21 & Labs 3–4

Explores distributed commit protocols, Spanner TrueTime, optimistic concurrency control, cache coherence, and Byzantine consensus.

  • Problem 1: Two-Phase Commit (2PC) & Distributed Transactions
  • Problem 2: Google Spanner, TrueTime & External Consistency
  • Problem 3: Optimistic Concurrency Control (OCC) Validation
  • Problem 4: Frangipani Distributed File System & Petal Locks
  • Problem 5: Scaling Memcached at Facebook & Lease Semantics
  • Problem 6: Byzantine Fault Tolerance & Bitcoin Proof-of-Work
  • Problem 7: Sharded Key-Value Store & Reconfiguration Races

Untimed • Immediate Feedback • Multiple Attempts Allowed

Hands-On Laboratory Sequence (Go)

Students implement real distributed protocols in Go and test them against adversarial testbenches that inject network partitions, packet loss, delays, and crash-restarts:

  1. Lab 1: Distributed MapReduce — Build a fault-tolerant MapReduce coordinator and worker architecture with task reassignment on worker timeouts.
  2. Lab 2: Raft Consensus Algorithm:
    • 2A: Leader election and heartbeats.
    • 2B: Log replication and committed entry execution.
    • 2C: Persistent state recovery across server crashes.
    • 2D: Log compaction and snapshot installations.
  3. Lab 3: Fault-Tolerant Key/Value Service — Construct a linearizable, replicated key/value database built on top of the Lab 2 Raft consensus library.
  4. Lab 4: Sharded Key/Value Service — Partition key spaces across multi-replica Raft groups with a dynamic shard controller and live shard transfers.

Complete Course Syllabus

Unit / Module Topic & Lecture Focus Core Lab / Assessment Milestone
Unit 1Lecture 1 - Introduction & MapReduceLab 1: MapReduce Assignment
Unit 2Lecture 2 - RPC and Threads in GoCrawler & RPC Exercises
Unit 3Lecture 3 - Google File System (GFS)Lab 2: Raft Consensus Architecture
Unit 4Lecture 4 - Primary-Backup Replication (VM-FT)Replication Protocol Analysis
Unit 5Lecture 5 - Fault Tolerance - Raft Part 1Lab 2A: Raft Leader Election
Unit 6Lecture 6 & 7 - Fault Tolerance - Raft Part 2Lab 2B: Raft Log Replication
Unit 7Lecture 8 & 9 - ZooKeeperLab 2C: Raft Persistence
Unit 8Lecture 10 - Go Concurrency in PracticeLab 2D: Raft Snapshots / Compaction
Unit 9Lecture 11 - Chain Replication & CRAQCRAQ Linearizability Case Study
Unit 10Lecture 12 - Cache Consistency (Frangipani)Distributed Lock Management
Milestone Midterm Self-Assessment 6 Multi-Part Self-Assessment Problems (Lectures 1–10)
Unit 11Lecture 13 - Distributed Transactions & 2PCLab 3A: KV Service Based on Raft
Unit 12Lecture 14 - Google Spanner & TrueTimeLab 3B: KV Snapshots & Compaction
Unit 13Lecture 15 Part 1 - Optimistic Concurrency ControlOCC Read/Write Validation Phases
Unit 14Lecture 15 Part 2 - OCC ContinuedLab 4A: The Shard Controller
Unit 15Lecture 16 - Big Data Processing (Spark)Resilient Distributed Datasets (RDDs)
Unit 16Lecture 17 - Cache Consistency: Memcached at FacebookLeases & Invalidation Storms
Unit 17Lecture 18 - Fork Consistency & SUNDRUntrusted Storage Verification
Unit 18Lecture 19 - Peer-to-Peer Networks: BitcoinLab 4B: Sharded Key/Value Server
Unit 19Lecture 20 - Blockstack & Decentralized IdentityName Resolution Invariants
Unit 20Lecture 21 - Project Demos & RetrospectiveFinal Capstone Implementations
Milestone Final Comprehensive Self-Assessment 7 Multi-Part Self-Assessment Problems (Lectures 11–21)
Enroll