L4 (Transport Layer) Load Balancing

L4 (Transport Layer) Load Balancing A workflow diagram generated by Archify. 01 / Client 02 / L4 Load Balancer 03 / Backend Servers Client · 203.0.113.1:12345 · Client Client 203.0.113.1:12345 L4 Load Balancer · TCP/UDP header analysis · L4 Load Balancer · IP + port based L4 Load Balancer TCP/UDP header analysis IP + port based Server A · 10.0.0.1:8080 · Backend Servers Server A 10.0.0.1:8080 Server B · 10.0.0.2:8080 · Backend Servers Server B 10.0.0.2:8080 Request distribute distribute Legend Backend Servers L4 Load Balancer Client

L4 Load Balancing at a Glance

  • • How it works: routing decisions based on TCP/UDP header information
  • • Advantages: fast processing, low overhead, can handle encrypted traffic
  • • Disadvantages: no advanced routing based on application-layer information
  • • Use cases: TCP/UDP-based services, high-performance requirements