Feynman
← All modules
CS244CHow Computing WorksAdvanced55 min

Advanced Networking & Distributed Systems

How thousands of computers across the planet cooperate to act like one: the backbone of the internet and the cloud.

AI tutor is turned off for this class

Use the CS244C lectures, notes, and assignments below to keep learning.

Big Idea

How Computing Works

Grade bands

K-2 · 3-5 · 6-8 · 9-12

AI literacy pillar

How AI works · Ethics

View on the ladder →

Lesson overview

How thousands of computers across the planet cooperate to act like one: the backbone of the internet and the cloud. This module climbs from an everyday intuition to the real mechanism, then names the Stanford course it descends from.

Teacher script · ~45 min

  1. 0–5

    Hook

    Click a link and data hops across dozens of machines and oceans of cable to reach you in milliseconds. No one is in charge of the whole internet; it works because everyone agrees on shared rules ('protocols') for chopping messages into packets and routing them. Cooperation without a boss is the core marvel.

  2. 5–15

    Explore

    Students do the activity in pairs: Send 5 numbered notes to a friend; have them tell you which arrived. Resend the missing ones. You just reinvented TCP.

  3. 15–30

    Explain

    Spread data across many machines and a deep problem appears: how do they agree on one answer when messages lag and machines crash? You can't have perfect consistency, constant availability, AND survive network splits all at once; you must trade off. 'Consensus' algorithms get a flaky group to commit to one decision despite failures.

  4. 30–40

    Connect to the summit

    Show students this is the real thing professionals build: CS244C, the real thing. How thousands of computers across the planet cooperate to act like one: the backbone of the internet and the cloud.

  5. 40–45

    Check

    Run the formative check below. Anyone who can explain a key term in their own words has it.

Student activity

Send 5 numbered notes to a friend; have them tell you which arrived. Resend the missing ones. You just reinvented TCP.

Slides

1Title: Advanced Networking & Distributed Systems
2Hook: Talking across the world
3Do it: Messages get lost, so plan for it
4How it works: Agreeing when you can't fully trust anyone
5Key idea: Packet
6Key idea: Protocol
7Key idea: Consensus
8From the summit: CS244C at Stanford

Formative check

  • 1.In your own words, what is "Packet"? (Looking for: A small chunk a message is split into for sending across a network.)
  • 2.In your own words, what is "Protocol"? (Looking for: An agreed set of rules letting independent machines communicate reliably.)
  • 3.In your own words, what is "Consensus"? (Looking for: Getting many machines to agree on one value despite delays and crashes.)

Carry-away concepts

Packet
A small chunk a message is split into for sending across a network.
Protocol
An agreed set of rules letting independent machines communicate reliably.
Consensus
Getting many machines to agree on one value despite delays and crashes.
CAP trade-off
You can't fully have consistency, availability, and partition-tolerance at once.

From the summit · the Stanford source

You study network protocols and distributed systems: consistency, replication, fault tolerance, and consensus across unreliable machines.

This module descends from CS244C at Stanford. Students who climb the full ladder arrive here.