What "Latency" Actually Means
Low-Latency HFT Network Engineer · Module 1: Latency From Zero
Lesson 1 of 7
Prerequisites: none — start here
What you'll be able to do: explain what latency is in one plain sentence, tell it apart from bandwidth, and convert between seconds, milliseconds, microseconds, and nanoseconds.
Send the same sentence two ways: a letter across town and a text message. Same words — but the letter arrives tomorrow and the text arrives this second. The difference isn't how much you sent, or how fast the mail truck drove; it's how long you waited. That wait has a name: latency. It hides inside everything you do on a phone or a computer — video calls, web pages, games — and most of the time you never notice it. But some people pay millions of dollars to shrink it, because their whole business lives inside that wait. This track is about that business: what the wait actually is, where it hides, and how people measure it down to millionths of a second.
Here's the puzzle.
Scenario. A friend is shopping for a faster computer setup and sends you four measurements from four completely different parts of their day. They want to know which wait is actually the smallest, which is the largest — and which one a company would pay millions to shrink. Your friend mixes up milliseconds and microseconds constantly, so nothing can be compared until every number speaks the same language.
Given artifacts. Four exhibits, each a waiting time from real life. No topology here — your workspace is a conversion table you fill in yourself.
Your task: Rank the four exhibits from fastest (shortest wait) to slowest (longest wait) in ONE consistent unit — show every conversion — then name which single exhibit a trading firm would pay millions to improve, and why, in one sentence.
Workspace. Analyze-and-answer: a text box where you write your ranking (e.g. "C → B → A → D") with the converted numbers, plus your one-sentence pick. Submitting is optional — the ritual below is what unlocks the worked answer.
Hint ladder.
Hint 1 — where to look
You can't compare milliseconds, microseconds, nanoseconds, and seconds directly — they're different languages. The whole challenge is translation. Pick one unit and convert all four exhibits into it before you rank anything.Hint 2 — what to compare
Each step down the ladder (seconds → milliseconds → microseconds → nanoseconds) is a factor of 1,000. So 1 ms = 1,000 μs, and 1 μs = 1,000 ns. Convert Exhibits A, C, and D into microseconds, then the ranking is just sorting four numbers.Hint 3 — the mechanism
A trading firm only pays to shrink waits that sit on the path between its computers and the market. A wait inside one computer, or a wait on your screen at home, doesn't decide who wins a trade — even if it's bigger or smaller. Which exhibit lives on that path?Commitment ritual. ☐ "I've attempted this challenge and thought it through." Check the box (or submit an answer above) and the worked answer in S7 reveals. Nothing is graded; the struggle is the point.
Checking the box reveals the worked answer in S7 below. Returning learners stay unlocked.
The wait, not the truck
Latency (in plain English: how long you wait between asking for something and getting it) is the single most important idea in this track. When you tap a video on your phone, latency is the pause before it starts playing. When you click "send" on a message, latency is the gap before your friend's phone buzzes. It's measured in units of time — seconds, or fractions of a second.
Here's the trap most people fall into: they confuse the wait with the vehicle. A mail truck and a race car can both carry a letter across town. The race car arrives sooner — lower latency — but it doesn't carry more. Latency is about time, not about size or speed of travel. Two connections can move data at the exact same rate and still have wildly different latency, because one takes a longer route or stops at more intersections along the way.
Why this matters for the challenge: every exhibit is a wait measured in time. Your job is to compare waits — so everything must end up in the same unit before the comparison means anything.
The truck can be huge and still be slow
Now meet latency's evil twin: bandwidth (in plain English: how much can travel at once — the width of the road, not the speed of the cars). A mail truck holds a thousand letters; a race car holds one. If you need to move a thousand letters across town, the truck wins — high bandwidth. But each individual letter still arrives tomorrow. The truck didn't change the wait; it changed the capacity.
This is why "faster internet" so often disappoints. Upgrading from a 100-megabit to a 1,000-megabit connection makes big downloads finish sooner — ten times the bandwidth — but your video game can feel exactly as laggy as before, because the wait for each tiny game message didn't change. The truck got bigger; the trip didn't get shorter. Whenever someone says "I got faster internet but nothing feels faster," bandwidth went up while latency stayed put.
Why this matters for the challenge: don't let the biggest or smallest raw number fool you — and never assume a "faster" connection means a shorter wait. Convert first, rank second.
A millionth of a second, and a billionth
Everyday waits live in seconds and milliseconds (thousandths of a second — a blink takes about 100 of them). Trading lives two and three steps further down: the microsecond (a millionth of a second) and the nanosecond (a billionth of a second). Each step is exactly 1,000× smaller than the last:
- 1 second = 1,000 milliseconds (ms)
- 1 millisecond = 1,000 microseconds (μs)
- 1 microsecond = 1,000 nanoseconds (ns)
So 1 second = 1,000,000 μs = 1,000,000,000 ns. Converting is just multiplying or dividing by 1,000 per step. Going down the ladder (seconds → nanoseconds) you multiply; going up, you divide. The classic beginner mistake is treating μs and ms as "basically the same" — they differ by a factor of a thousand, which in this track is the difference between winning and losing.
Why this matters for the challenge: Hint 2 hands you the conversion ladder. Exhibits A, C, and D all need translating into microseconds (or any single unit) before the ranking is honest.
The wait is everywhere
Once you see latency, you can't unsee it. A video call has about 90–150 ms of latency — that's why people accidentally talk over each other. A web page that takes 2 seconds to load is 2,000 ms of stacked-up waits: your click travels, the server thinks, the pieces travel back. Your computer's own memory answers in tens of nanoseconds — 40 ns is 0.00000004 seconds — because the distance is centimeters, not kilometers. And a short hop of fiber cable adds a few microseconds, because even light needs time to travel.
Humans stop noticing waits below roughly 100 ms. Machines notice everything. The rest of this track lives in the world below what you can feel — where a few microseconds decide who wins.
Why this matters for the challenge: the exhibits span from "a human can feel it" to "only a machine can feel it." The firm in the challenge cares about machine-scale waits on one specific path.
- Step 1 of 4: The 1-second rung — a slow web page loading. This is the world you live in; every wait here is one you can feel.
- Step 2 of 4: The 1-millisecond rung — 1,000× smaller. A fast camera's single frame. You're at the edge of human perception.
- Step 3 of 4: The 1-microsecond rung — another 1,000× smaller. Light crosses 300 meters of fiber. You feel nothing; a trading firm feels everything.
- Step 4 of 4: The 1-nanosecond rung — another 1,000× smaller. Light crosses a ruler. This is the scale inside a single computer chip.
🔒 Revealed after the commitment ritual in S2 — attempt the challenge first. (Honor system: the page hides this until you check the box.)
Step 1 — translate everything into microseconds. One unit, four numbers:
- Exhibit C — 40 ns: going up one rung (ns → μs) means divide by 1,000. 40 ÷ 1,000 = 0.04 μs.
- Exhibit B — 3 μs: already in microseconds. 3 μs.
- Exhibit A — 90 ms: going down one rung (ms → μs) means multiply by 1,000. 90 × 1,000 = 90,000 μs.
- Exhibit D — 2 s: two rungs down (s → ms → μs), so ×1,000 twice. 2 × 1,000,000 = 2,000,000 μs.
Step 2 — sort. 0.04 < 3 < 90,000 < 2,000,000. Fastest → slowest: C (40 ns) → B (3 μs) → A (90 ms) → D (2 s). The memory read is 75× faster than the fiber hop; the fiber hop is 30,000× faster than the video call; the video call is about 22× faster than the web page.
Wrong turns, named. Picking D (the web page) as the valuable one — tempting, because 2 seconds is the biggest wait. But a trading firm's computers don't load web pages to trade; shrinking a wait that isn't on the trading path buys nothing. Picking C (memory access) — tempting, because it's the fastest and "fastest is best." But it's a wait inside one computer, already 75× smaller than the fiber hop; there's almost nothing left to shave, and it doesn't decide who reaches the market first.
The answer. The firm pays millions to improve Exhibit B, the 3 μs fiber hop — because it sits on the path between the firm's computers and the market, so every microsecond shaved off it is a microsecond closer to winning the race.
Verify it worked. Re-check the sort in a different unit — milliseconds: C = 0.00004 ms, B = 0.003 ms, A = 90 ms, D = 2,000 ms. Same order. If your ranking survives a change of units, the conversions were right.
Check yourself — nothing here is graded. Wrong answers are the useful ones; each explains why.
Question 1. Your friend upgrades from a 100-megabit to a 1,000-megabit internet plan, but their online game still stutters exactly as before. What most likely explains it?
Question 2. How many microseconds are in one millisecond?
Question 3. Put these waits in order from LONGEST to SHORTEST:
Question 4. Two companies sell you a connection to the same city. Company X promises 'huge capacity: 10,000 megabits.' Company Y promises 'tiny wait: 2 milliseconds.' You need live video calls with no awkward talking-over-each-other. Which do you pick, and why?
- Latency is the wait between asking and receiving; bandwidth is how much travels at once — a bigger truck doesn't shorten the trip.
- Each step down the time ladder (s → ms → μs → ns) is exactly 1,000×, so convert everything to one unit before comparing waits.
- Upgrading bandwidth never fixes a latency problem — lag, talk-over on calls, and slow-feeling games are waits, not capacity shortages.
- Humans stop feeling waits below ~100 ms, but machines feel microseconds — and this track lives in the machine-scale world.
- Only waits on the path that matters are worth shrinking; the biggest wait on the page is rarely the most valuable one.
Next: What Trading Is (and Why Being Fastest Wins) — you can now measure the wait; next you'll meet the race where millionths of a second decide who gets paid.