Switch
A device that connects several machines on the same network with cables and passes each one the data meant for it.
Example
An office with 24 computers plugs them into a 24-port switch so they can see each other.
Lessons that use it
What an IP is
Every machine has an address
The OSI model
The network, in 7 layers
Clusters
Many machines, one system
Availability
Counting the nines
Basic data types
The bricks of everything
How letters are stored
Every letter is a number
Hash collisions
When 2 keys want the same spot
Binary search in depth
2 pointers closing in
Heap sort
Take the maximum and leave it at the end
Consistent hashing
A ring to split the load
Real time: long polling, WebSockets and SSE
Letting the server speak first
Idempotency
Repeat without breaking anything
Service discovery
Where is that service?
