May we use cookies so Meta, Google, LinkedIn and ChatGPT see your visit and we learn which ads work? PrivacyMay we use cookies to see which pages help, and let Meta, Google, LinkedIn and ChatGPT see your visit, so we know which of our ads work? That way we spend less on ads that do not work. We do not sell your data, and the site works the same if you decline. You can change your answer at any time under Cookie settings at the foot of the page. Privacy policy
Loading...
System Design Masterclass · Load Balancing Proxies
Free preview: the first 2 parts of this 11-part lesson.
Already bought the course? Sign in to read the whole lesson.
this lesson is part of
System Design Masterclass
Unlock this lesson and the 751 other paid lessons
$35 once, by card or PayPal
See the System Design courseread the rest of this lesson in
System Design Masterclass
Unlock this lesson and the 751 other paid lessons
$35 once, by card or PayPal
See the System Design coursein Load Balancing Proxies
This lesson is part of the full System Design Masterclass. Unlock it along with 769 other lessons for a one-time payment.
One-time payment by card or PayPal
Get Lifetime AccessOne-time payment: UPI, card or netbanking
Get Lifetime Access18 Foundation lessons are free, no payment needed. Try them now
It is easy and good
“It is really nice and good Please join the course”
When you open a website, your computer sends a request to one specific server and gets a response from that one specific server. Not all servers. Not a group. One.
That is unicast, and it is so completely the default that most engineers never learn what actually happens between the two ends. This lesson is about that middle part, because it turns out to be four separate mechanisms stacked on each other, and three of them explain tools you already use.
It also matters as a baseline. The next four lessons are broadcast, multicast and anycast, and every one of them is defined by what it changes about this picture.

Every row has exactly one sender. That is not what distinguishes them.
What changes is what the destination address means. In unicast it names one machine. In the others it names a scope, a group, or a set of locations, and every other difference between the four follows from that.
Before following a packet anywhere, it is worth knowing what a router looks at when it arrives. The answer is: almost nothing.

The destination address is the only field the forwarding decision consults. The source address is not used for routing at all, only so that a reply can be addressed later.
The hop limit is decremented by every router and is the only thing counting the journey. The payload is never opened, which is what makes end-to-end encryption possible in the first place.
Two consequences worth carrying: a router does not know or care what protocol you are speaking, and the destination address on your packet is unchanged from your machine all the way to the last hop, however many networks it crosses.