Which is the accurate difference between a layer 4 and a layer 7 load balancer?
Correct answer
C. Layer 4 routes on IP and port information from TCP or UDP, while layer 7 can inspect HTTP paths, headers and cookies
15 views
C. Layer 4 routes on IP and port information from TCP or UDP, while layer 7 can inspect HTTP paths, headers and cookies
15 views
L4 versus L7 load balancing: a transport-layer balancer forwards connections using five-tuple information and never parses payloads, so it is fast and protocol-agnostic. An application-layer balancer terminates or inspects HTTP, enabling path-based routing, host-based virtual servers and cookie affinity. The trade-off is CPU cost for parsing and TLS termination.
Asked in: NTS, PPSC IT, Campus Interviews
Not sure why the answer is C? Ask here and get an explanation.