Chapter 1 · SimulationThe Journey of a Web Request? ← Chapter 1 ← Back Step → ▶ Play Reset Speed Try it yourself Correct: 0 / 0 Cache No record anywhere In the resolver In the browser Message Packet size 345 Lose one packet New scenario 1 · DNS lookup2 · Splitting3 · Journey4 · Loss and resend5 · Reordering CloseThe journey of a web requestGoal: Follow what happens when an address is typed into a browser: first how the IP address of the domain name is found (DNS), then how the message is split into packets, carried across routers and reassembled at the receiver.How to use itStep → animates the next event, ← Back returns to the previous state, Play runs the steps automatically. The → and ← keys also work.Cache: compare the cases where the record is nowhere, in the resolver's cache, or in the browser's cache.Message and Packet size: choose the message and how many characters go into each packet. If Lose one packet is checked, one of the packets is lost at a busy router.New scenario: picks new random paths and delays for the packets.Try it yourself: before some steps a question is asked; correct answers are counted.What you seeDNS lookup: browser cache → DNS resolver → root server → top-level domain (.tr) server → authoritative server. The answer is cached for the TTL.Splitting into packets: each packet's header holds a sequence number and the source and destination addresses.Journey: routers choose the best path for each packet at that moment; packets may take different paths and arrive out of order.Loss and resending: TCP notices the missing sequence number and the packet is resent.Reordering: the packets in the receive buffer are sorted by sequence number and the message is reassembled.Related slides: Chapter 1.4 · The Internet (DNS resolution, data travels in packets, the journey of a web request).