Networking · Multiple choice

You need to send /api/* requests to one pool of servers and /static/* to another. Which load balancer can do this?

easy API design

Options

Why

Routing by URL path needs the HTTP request, which only a layer 7 load balancer reads. Layer 4 sees IP addresses and ports, and DNS only picks an address.

Review this in your daily deck All cards in Networking