router
A device or service that decides where network traffic is sent.
In more detail
Routers forward packets between networks, and application-level routers or load balancers choose which servers receive requests. Changing a routing rule can move all traffic from one set of servers to another in one step.
Examples
router switched 0 100 # blue-green: green is now liveYour default gateway is a router. Each router forwards a packet one hop closer to its destination, choosing the next hop by longest prefix match.Related terms
- load balancing — Spreading requests or connections across several backend servers so no single one is overloaded and failed ones can be avoided.
- blue-green deployment — Running two complete environments, blue for the current release and green for the candidate, and switching traffic between them in one step.
- routing table — The kernel's list of destination prefixes and where to send packets for each: out of which interface and through which next hop.
- default gateway — The router a host sends packets to when the destination is outside its own subnet and no more specific route exists.
- next hop — The neighbouring router or gateway a packet is handed to on its way to its destination.
- packet — A chunk of data with a header giving its source and destination addresses, which the network routes independently towards its destination.
Taught in
- Deployment Strategies: Blue Green — DevOps & Site Reliability Engineering
- IP Addresses, Netmasks And Subnets — Linux Fundamentals & Systems Administration
- Interfaces, Routes And The Default Gateway — Linux Fundamentals & Systems Administration