Skip to content
Truth Academy.
Truth Academy
← All modules
How Computing WorksAdvanced45 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

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.

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.

  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. TCP works the same way.

  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

    Read aloud the "From the summit" section below. Ask students which ideas from today they recognize in it.

  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. TCP works the same way.

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: the Stanford course

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 is based on a Stanford course.