§1.2The Network Edge

Cross-layer Kurose & Ross pp. 9–11 · ~9 min read

  • network edge
  • host
  • end system
  • client
  • server
  • data center
  • cloud computing

Where you are

  • Application layer you are here
  • Transport layer you are here
  • Network layer you are here
  • Link layer you are here
  • Physical layer you are here

The network edge is where the hosts are — the laptops, phones and servers that run the applications, sitting at the two ends of every conversation.

Words you will meet

  • Network edge — the outer part of the Internet, where hosts live.
  • Host — a device that runs application programs. Same thing as an end system.
  • End system — the book’s other word for a host. It sits at the end of a path.
  • Client — the host that asks for something.
  • Server — the host that stores things and answers requests.
  • Data centre — a building holding tens to hundreds of thousands of servers.
  • Blade — one server in a data centre rack: a flat case holding a processor, memory and a disk.

Why this matters

Section 1.1 gave you the whole Internet at once. Now the book takes it apart, and it starts at the edge — with the devices you already know. This is the easiest part of the network to picture, so it is a good place to fix the vocabulary.

The idea to carry forward is this: the network exists to connect hosts, and everything between them is machinery. Chapters 2 and 3 look at the world from a host’s point of view. Chapters 4 to 6 look at the machinery.

Starting at the edge

The book now moves from the wide picture to the parts, and it begins with the components you use every day: computers, phones and the other devices you own. In networking language these are all hosts , and together they form the network edge .

They are called end systems because they sit at the edge of the Internet, at the two ends of a conversation. The Internet’s end systems include desktop computers, servers such as web and e-mail servers, and mobile devices such as laptops, smartphones and tablets. An increasing number of things that are not computers at all are being attached as end systems too.

They are called hosts because they host — that is, run — application programs: a web browser, a web server program, an e-mail client , an e-mail server.

In plain words

Host and end system are two names for exactly the same thing. The book says so directly and then uses both words. That is fine for the book, but it is a trap for a reader learning the vocabulary, so this site uses “host” everywhere. “End system” appears here, once, so that you recognise it when you meet it elsewhere.

What the edge looks like

Figure 1.3 — end-system interaction
Mobile networkHome network — BangkokEnterprise networkLocal or regional ISPNational or global ISPDatacenter networkContent provider network — Frankfurtwhat the two hosts seeCell towerPhoneTabletR-mobLin’s laptopPhoneHome APHome routerSwitchPCPCAPServerR1R2R3R4R5R6SwitchServersR-cpSwitchwww.example.edu

Every ringed device is a host. Everything faded is network — links and packet switches. The hosts are what the Internet exists to connect; the faded machinery is how it does it.

Drag any device to rearrange the picture. Hover a link to see its rate, delay and length.

The thick blue arc is not a cable. It is the conversation the two hosts care about. The real packets travel hop by hop along the thin lines beneath it, through four separately owned networks.

Read this diagram as text
  • Phone wireless link Cell tower (60 Mbps)
  • Tablet wireless link Cell tower (60 Mbps)
  • Cell tower wired link R-mob (1 Gbps)
  • Lin’s laptop wireless link Home AP (54 Mbps · 0.01 km)
  • Phone wireless link Home AP (54 Mbps)
  • Home AP wired link Home router (1 Gbps)
  • Home router wired link R1 (100 Mbps · 2 ms · 8 km)
  • PC wired link Switch (1 Gbps)
  • PC wired link Switch (1 Gbps)
  • AP wired link Switch (1 Gbps)
  • Server wired link Switch (10 Gbps)
  • Switch wired link R1 (1 Gbps)
  • R-mob wired link R1 (1 Gbps)
  • R1 wired link R2 (10 Gbps · 1 ms)
  • R2 wired link R3 (100 Gbps · 34 ms · 6,800 km)
  • R3 wired link R4 (100 Gbps · 4 ms)
  • R3 wired link R5 (100 Gbps · 3 ms)
  • R4 wired link R6 (100 Gbps · 5 ms)
  • R5 wired link R6 (100 Gbps · 4 ms)
  • R5 wired link Switch (100 Gbps)
  • Switch wired link Servers (100 Gbps)
  • R6 wired link R-cp (100 Gbps · 2 ms)
  • R-cp wired link Switch (10 Gbps)
  • Switch wired link www.example.edu (1 Gbps)

This is the same map as Figure 1.1. Only the emphasis has changed. The book redraws this one picture several times in chapter 1. Each time it fades everything except the part under discussion: the edge here, access networks in §1.2.1, the core in §1.3.1.

Look at the thick blue arc. There is no cable running from the laptop to the enterprise server. The arc is the conversation the two hosts care about, drawn as though the network in between were not there. That gap — between what the two hosts experience and what actually happens hop by hop — is the subject of most of this book.

Clients and servers

Hosts are sometimes divided into two groups. Informally, clients tend to be desktops, laptops and smartphones, and servers tend to be more powerful machines that store and distribute web pages, stream video and relay e-mail.

The split is informal on purpose. Both are hosts. What separates them is which one speaks first and which one waits.

Client and server — two informal roles, one kind of device
ClientasksServeranswers
Is it a host?
Who starts the conversation?
Typical device
Where does it live?
Always switched on?
Does it need a fixed, findable address?

Cells marked ⓘ have a reason behind them — click to read it.

Both are hosts. Neither is a different sort of machine in principle: the split is about what the program does, not what the hardware is.

Today, most of the servers you receive search results, e-mail, web pages, videos and mobile app content from live in large data centres .

Inside a data centre

Companies such as Google, Microsoft, Amazon and Alibaba have built very large data centres, each holding tens to hundreds of thousands of hosts. As of 2020, Google had 19 data centres on four continents, holding several million servers between them.

These buildings are not only connected to the Internet. Inside, they contain complex networks of their own that interconnect their hosts — chapter 6 covers those networks in detail.

What the machines look like

The working hosts in a data centre are called blades , and the book compares them to pizza boxes: flat cases holding an ordinary processor, memory and disk storage. Blades are stacked in racks, typically 20 to 40 blades per rack. The racks are then joined by the data centre’s own network.

One rack — 20 to 40 bladesswitch…and so onOne bladeCPUmemorydiskAn ordinary computer in a flat case. Nothing exotic.The pointScale comes frommany plain machines,not from one large one.

What they are for

The book gives three purposes, using Amazon as the example.

  1. Serving pages to users — the product and purchase pages of the shop.
  2. Massively parallel computing — large data-processing jobs Amazon runs on its own data.
  3. Cloud computing for other companies — renting that computing power out.

The third has become a major trend. Many companies now use a cloud provider rather than owning any data centre at all. Airbnb, for example, does not own or manage data centres; it runs its entire web service in the Amazon cloud, called Amazon Web Services.

Everyday picture

Renting a flat instead of buying a house. You get the space you need this month, somebody else fixes the plumbing, and you can move to a bigger flat when you need one. That is cloud computing: a company rents computing by the hour rather than buying machines and a building to keep them in.

Where the picture breaks: moving out of a rented flat is easy. Moving a large service off one cloud provider is often very hard, because it comes to depend on that provider’s particular services. Nothing in the flat analogy warns you about that.

Check yourself

Check yourself — §1.2

0 of 5 answered
  1. 1.Why does the book call these devices "end systems"?

  2. 2.A web server is running in a data centre. Is it a host?

  3. 3.In the book's words, what is the relationship between "host" and "end system"?

  4. 4.Amazon's data centres serve three purposes, according to the book. Which of these is NOT one of them?

  5. 5.predictIn the map, the thick blue arc runs directly from the laptop to the enterprise server. What does that arc represent?

    Compare the arc with the thin lines it passes over. Press "Send the packet" on the §1.1 map to see the difference.

What to remember

  • The network edge is where the hosts are. Everything between them is machinery.
  • Client and server are roles, not different kinds of machine. The client speaks first; the server waits and must be findable.
  • Most servers live in data centres: tens to hundreds of thousands of plain machines called blades, stacked 20 to 40 to a rack.