Do Now · Lab Notebook · 10 minutes

Set up your notebook. You will need it at the end of class.

Terminology and Concepts to look out for

Copy these. Leave space under each one for a definition.

  • network
  • server
  • cloud
  • hop
Relevance to Me

Think about these. Nothing to write.

  • Name one app you used today. Where was the computer that answered you?
  • You have been told for years that things go to the cloud. Where did you picture them going?
  • If a machine in a house can do the same job, what is the data center actually for?
Question of the Day

Copy this into your Lab Notebook and leave room under it. You will answer it at the end of class.

When you use an app, whose computer are you actually using?

Before the reading

The words, in plain terms

Four words for the trip and the building at the far end of it. None of them is a new piece of technology. They are names for things every person in this room already uses every day.

network
What connects machines to each other.
Wifi is one small piece of one network. The wire leaving this building is another piece. The lines running between cities are another. All of it is the same idea at different sizes.
In a gameWhat is down when you cannot join a friend's lobby. Not the game, not the console — the thing between them.
server
A machine whose job is to answer requests from other machines.
It is a job, not a size. A rack in a data center holds servers. Two machines in a spare room, answering this class, are servers too.
In a gameThe machine holding the world everyone is playing in. When a game asks you to pick a region, it is asking which building should answer you.
cloud
Somebody else's servers, in somebody else's building, somewhere.
The word sounds like nowhere. It is a building with an address, an owner, and an electricity bill, and a person could drive to it.
In a gameWhere a save file goes when it follows you to a different console.
hop
One piece of equipment a request passes through on its way.
You will count them at the end of class on a real trace run from this building. Ten hops from this room to this class's own website, and the first three never leave the building.
In a gamePing. That number is the trip out and back, and every hop along the way is part of what makes it.
Eleven of those milliseconds are a single hop: New Orleans to Dallas.
Whose Computer Are You Using?

Yesterday the class named every part inside one machine. RAM and CPU on the machine side, VRAM and GPU on the card, storage underneath both. Five boxes, one drawing, and every word this unit uses sitting on it. Today that same drawing goes somewhere else. It goes into a building in another state, and it goes there thousands of times over.

Start with the part that is nearest. A phone or a Chromebook talking to an app is doing something that feels like it happens in the air. The word for the part that happens in the air is wifi, and wifi is real, and it is also almost none of the distance. Wifi covers the space between a device and the router on the wall. Call it thirty feet. After the router the signal is in a wire, and it stays in a wire or in a strand of glass for every remaining mile of the trip. There is no point later in the journey where the request goes back into the air and floats the rest of the way.

That wire leaves the building and arrives at a company whose only job is to carry traffic. In this city that company is likely to be Cox. Carry is the honest word for what it does. It does not store anything of yours and it does not answer any question you asked. From there the request joins lines that run between cities, and those lines are the reason a request from New Orleans reaches Dallas in about eleven thousandths of a second rather than instantly. Distance costs time even at the speed of light in glass.

At the far end of those lines is a building. This is the part worth slowing down for, because the ordinary word for it hides it. The ordinary word is cloud. The word suggests something without a location, something spread out, something nobody could point at. None of that is true. The cloud is a building. It has an address. Someone owns it, someone pays its electricity bill, and a person could drive to it.

Inside the building are racks, and inside the racks are machines. Yesterday’s drawing describes every one of them. RAM, CPU, storage, and on many of them a card carrying VRAM and a GPU. Not a different kind of computer. The same kind, in a room, repeated until the room is full, and then repeated in the next room. What makes a data center different from the laptop on the demo cart is how many machines are in it and how much power runs into the building. That is a difference in count, not a difference in kind.

Once that is clear, a question that sounded strange becomes ordinary. When an app answers you, whose computer did the work? Not yours. Yours sent text and drew the answer on a screen. The arithmetic happened on a machine in a building owned by a company, and you were using a fraction of a second of that machine without ever seeing it, naming it, or knowing which city it was in.

Which brings the drawing home. Two machines in a spare room in New Orleans sit on the same map as that building. They have the same parts. They connect through the same kind of wire to the same kind of company. When one of them answers a question it is doing what a machine in the data center does, at a smaller scale, for one classroom instead of ten million people. There is a name for a machine whose job is to answer requests that come from other machines, and the name is server. A rack in a data center holds servers. A machine in a spare room, doing the same job, is also a server.

That is the whole claim of the day, and it is the reason next week is possible. If the cloud were a different kind of thing, a class could not have one. Because the cloud is a building full of ordinary machines, a class can have a very small version of it, and the machines answering next week’s prompts will be two of them, in a house a few miles from this room. The cards in those machines are the 4090 and the 5070 Ti, which are two of the four bars on the ladder from last week.

Three words carry it. A network is what connects machines to each other. A server is a machine whose job is to answer. The cloud is somebody’s servers, in somebody’s building, somewhere.

Work these together
10 questions on the passage. Pick an answer, then check it. Nothing here is collected.
Question 1 of 10the passage
According to the passage, what does the word network name in this unit?
Question 2 of 10the passage
The passage says a server is a machine with a particular job. What is that job?
Question 3 of 10the passage
According to the passage, what is the cloud?
Question 4 of 10the passage
The passage says wifi covers about thirty feet. What happens to the signal after that?
Question 5 of 10the passage
According to the passage, what does an internet service provider do with a request that passes through it?
Question 6 of 10the passage
The passage says a request from New Orleans reaches Dallas in about eleven thousandths of a second rather than instantly. Why is there a delay at all?
Question 7 of 10the passage
According to the passage, what makes a data center different from the laptop on the demo cart?
Question 8 of 10the passage
When an app answers a question, whose computer did the arithmetic, according to the passage?
Question 9 of 10the passage
The passage says a machine in a spare room in New Orleans sits on the same map as a data center. What is the same about them?
Question 10 of 10the passage
A student says the class cannot run its own AI because the cloud is a special kind of system that only large companies have. Based on the passage, what is wrong with that?
The pictures
Out and back A device inside a school or a house connects out through a router, a provider, and long lines between cities, to an AI data center, and the answer travels the whole way back. Wifi covers only the distance between the device and the router. A SCHOOL OR A HOUSE your device 1 wifi · about 30 feet drawn as one box the traceroute finds three the building's equipment 2 your provider carries traffic stores nothing 3 long lines city to city NOLA to Dallas: 11 ms 4 an AI data center a building somewhere. you are not told which one 5 what you typed, going out the answer, coming back the same way This whole trip happens every single time you press send. Wifi is the last thirty feet. Everything else is wire or glass. One dashed line on this picture. After the router, nothing about the trip is wireless. Next week the far end of this loop is not a data center. It is a house in New Orleans.
Out and back — five stages from a device in this building to an AI data center, and the answer all the way back. Exactly one line is dashed, and the dash means the signal is in the air.
Read the picture

Arc: the network. A loop, not a line. Five numbered stages out to an AI data center, and a return path in a different colour bringing the answer all the way back into the building it started in. Say that the whole trip happens every time anyone presses send, because students picture one connection that stays open.

Stage 2 is drawn as one box and labelled as a simplification, because the traceroute finds three pieces of equipment inside this building before anything leaves it. Point at hops 1 through 3 on the trace, the ones beginning with 10, and say that those three are inside this building.

Only one line is dashed, and the dash means the signal is in the air. Everything after stage 2 is solid, because after the router it is wire or glass the rest of the way. If a student can say why there is exactly one dashed line, they have the day’s first claim.

The last caption line points at Monday. Same loop, same five stages, and the far end is a house instead of a data center. Do not explain how that works today.

What the word suggests, and what the cloud is Two panels. The left one is deliberately wrong: a cloud shape with files floating in it and no location. The right one is correct: a building containing racks, and each rack holding the same machine drawn on schematic 01. WHAT THE WORD SUGGESTS WHAT THE CLOUD IS your files somewhere up there No address. No owner. No electricity bill. Nothing about a computer works this way. A building. It has an address. and more rooms like this Every slot is schematic 01. RAM, CPU, storage, and on many of them a card. Somebody owns the building. Somebody pays its power bill. It is in a city. The cloud is a building full of ordinary machines. The left panel is drawn wrong on purpose, so the right one has something to be correct against.
What the word suggests, beside what the cloud is. The left panel is drawn wrong on purpose. The right panel is a building with racks in it, and every slot in every rack is schematic 01.
Read the picture

Arc: the cloud is a building. This is the drill picture, and it works the same way 02b did. The left panel is the mental image the word cloud produces on its own: files floating, no address, no owner, no power bill. The right panel is a building with racks in it. Every slot in every rack is schematic 01 from Day 3. Not a new kind of machine. The same kind, thousands of times.

The same map A data center and a house in New Orleans, both connected to the same network, both holding machines that answer requests. The difference between them is how many machines, not what kind. the network the same wires for both A DATA CENTER A HOUSE IN NEW ORLEANS Racks, rooms, thousands of machines nobody here knows which cards, or which city every slot is schematic 09 A spare room, two machines we can name every part, because it is ours RTX 4090 24 GB VRAM RTX 5070 Ti 16 GB VRAM thousands two machines whose job is to answer machines whose job is to answer Both of these are servers. Both of these cards were on the ladder last week. The difference is how many, not what kind.
The same map — a data center and a house in New Orleans, hanging off the same network. Both are servers, because a server is defined by its job. The difference is how many, not what kind.
Read the picture

Arc: the cloud is a building. A data center and a house, hanging off the same network, drawn at the same scale of detail on purpose. One holds thousands of machines and one holds two, each with its own card. The two cards are named, and they are the same 4090 and 5070 Ti that sat on the ladder in schematic 03e last week. Two bars that were arithmetic then are hardware now. Both are servers, because a server is defined by its job and not by its size. This is why a class can have its own.

The racks are drawn blank on purpose. Schematic 09 already said what is in them. The two cards in the house are named, and the two racks are not, and the line under each side says why: one of these is ours and one of them is somebody’s building in a city nobody in this room could name. That is the whole We Do reading, drawn.

Ask

Hold up the teacher Chromebook. It is on the same network as both boxes on this picture. It has 16 gigabytes of memory, which is more than most machines in this room. Can it go on this picture as a third box?

Reveal

No. And no amount of money spent on it would change that. Storage is fine, memory is fine, and the runtime box on schematic 07 is still empty, because what goes in that box is a program that talks directly to the machine, and ChromeOS does not run programs that talk directly to the machine. Every other limit in this unit was a number. This one is not.

That is what makes the claim on this picture precise. The data center and the house differ in count. The Chromebook differs in kind.

Whose computer are you using?
The pictures are numbered on the left. Each question says which one it is about.
The words, in plain terms
network
What connects machines to each other.
Wifi is one small piece of one network. The wire leaving this building is another piece. The lines running between cities are another. All of it is the same idea at different sizes.
In a gameWhat is down when you cannot join a friend's lobby. Not the game, not the console — the thing between them.
server
A machine whose job is to answer requests from other machines.
It is a job, not a size. A rack in a data center holds servers. Two machines in a spare room, answering this class, are servers too.
In a gameThe machine holding the world everyone is playing in. When a game asks you to pick a region, it is asking which building should answer you.
cloud
Somebody else's servers, in somebody else's building, somewhere.
The word sounds like nowhere. It is a building with an address, an owner, and an electricity bill, and a person could drive to it.
In a gameWhere a save file goes when it follows you to a different console.
hop
One piece of equipment a request passes through on its way.
You will count them at the end of class on a real trace run from this building. Ten hops from this room to this class's own website, and the first three never leave the building.
In a gamePing. That number is the trip out and back, and every hop along the way is part of what makes it.
Eleven of those milliseconds are a single hop: New Orleans to Dallas.
Almost none of it happens in the air.
Wifi is the thirty feet between a device and the router on the wall. After the router the signal is in a wire or in a strand of glass, and it stays there for every remaining mile. The provider carries the request and answers nothing. The long lines between cities are the reason New Orleans reaches Dallas in about eleven thousandths of a second rather than instantly.
Ask

Exactly one line on this picture is dashed. Why that one and none of the others?

Reveal

Because the dash means the signal is in the air, and the only part of the trip in the air is the hop from the device to the router. Everything after the router is wire or glass. There is no later point where the request goes back into the air and floats the rest of the way.

The cloud is a building.
The left panel is the picture the word produces on its own: files floating, no address, no owner, no electricity bill. The right panel is a building with racks in it. Every slot in every rack is yesterday's schematic 01 — RAM, CPU, storage, and on many of them a card. Not a new kind of machine. The same kind, thousands of times.
Ask

If every machine in those racks is the drawing from yesterday, what makes a data center different from the laptop on the demo cart?

Reveal

How many machines are in it, and how much power runs into the building. That is a difference in count, not a difference in kind. And it is the whole reason a class can have a very small version of one.

Two sites, one network.
A data center and a house in New Orleans, hanging off the same network, drawn at the same level of detail on purpose. One holds thousands of machines and one holds two. Both are servers, because a server is defined by the job it does and not by its size. The two cards in the house are the 4090 and the 5070 Ti, which were two of the four bars on last week's ladder. Arithmetic then, hardware now.
The rest of the block

Partner work first. Then quiet work time.

The three rules
  • No cellphones
  • No sleeping
  • No non-academic use of Chromebooks
What you get
  • A quiet room and music
  • No interruptions from the teacher
  • If you are caught up on this course's work, you may work on anything legitimate for another class
If you are picking, pick reading or writing.
Everything we build in this class, we build with words. The tools take writing as input. How well you write is the ceiling on what you can make them do.
Open this now: muggsofcompsci.net/decks/cs1-stack-day4-wedo