Follow-up · depth 6
What trade-offs come with L4 vs L7 Load Balancing?
What trade-offs come with L4 vs L7 Load Balancing?
Answers use simple, clear English.
Quick interview answer
Pros: L7 smart routing; L4 performance for non-HTTP. Cons: L7 terminates TLS — cert management; L4 no URL awareness.
Detailed answer
Trade-offs for L4 vs L7 Load Balancing: Pros: L7 smart routing; L4 performance for non-HTTP. Cons: L7 terminates TLS — cert management; L4 no URL awareness. Decision rule: choose L4 vs L7 Load Balancing when the benefits outweigh operational cost for your SLO. Parent context: Use L4 vs L7 Load Balancing as the core idea. Example shape: ALB routes /api → API target group, /static → S3; NLB for gRPC TCP passthrough..
Full explanation
Strong answers state both sides and when you would pick an alternative. Pros: L7 smart routing; L4 performance for non-HTTP. Cons: L7 terminates TLS — cert management; L4 no URL awareness.
Follow-up questions
Only answered follow-ups are shown — click to open with full answers
Parent context — L4 vs L7 Load Balancing
Use L4 vs L7 Load Balancing as the core idea. Example shape: ALB routes /api → API target group, /static → S3; NLB for gRPC TCP passthrough..
View full parent question →