Path-based routing
Splitting requests based on part of the request: the host name, the whole URL or a value in the content.
Example
A layer 7 load balancer sends /api to 4 servers and /images to another 2.
Test yourself: Path-based routing
Kinds of load balancers
Splitting by ___ sends blog.example.com and shop.example.com to different servers.
The host name decides: blog goes to 2 servers and shop to 6 others, even though both share the same load balancer.
0/1
â–¶ Play