Shipping ItLesson 31 of 74

Module 4 · Load, cost and the traffic that is not customers

Serving from near the user, and what bandwidth costs

In this lesson

  • 9 min read
  • 8 reading sections
  • Knowledge check
  • Lesson 3 of 10 in this chapter

This chapter’s goalFind your first real ceiling with a load test and raise it using caching, pooling or a queue, without raising the bill.

This chapter’s media

The film explains chapter ideas. The audiobook narrates the complete teaching text.

FormatEnglishहिंदी
Chapter filmNot availableNot available
Full audiobookNot availableNot available
One hero image, one million views a month2 MB original, meteredegress180Same image as 200 KB WebP18Behind a CDN, 95% hitrate, metered origin9CDN with free egress0US dollars a month for that one imageTwo terabytes leaves a metered provider at about nine cents a gigabyte. Shrink the file first, thenserve it from an edge that does not meter egress, then worry about the origin.
Two terabytes leaves a metered provider at about nine cents a gigabyte. Shrink the file first, then serve it from an edge that does not meter egress, then worry about the origin.

Figure

A little at a time

Explore an idea, try it, then check what stays.

Step 1 of 9Free · no account needed
Lesson steps

Distance is the part you cannot optimise away

Your server is in one place. Your users are not. A request from Mumbai to a machine in Virginia crosses roughly 13,000 km of fibre, and light in glass manages about 200,000 km/s, so the round trip cannot be faster than about 130 ms; and in practice, with routing, it is 200 to 280 ms. Nothing you write in your handler changes that number.

A content delivery network answers from a machine near the user instead. There are two separate wins in that, and people conflate them:

Your place and first choices stay on this browser. Classroom credit is recorded separately.

Every lesson here is open. Your progress is recorded once you pass the Agents and Automation exam.

Stuck on something?Ask Tri, your AI tutor

How to cite: Addaly (2026) ‘Serving from near the user, and what bandwidth costs’, in Shipping It. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/cloud-and-shipping/the-edge-and-the-cdn (Accessed: 29 November 2026).