F5 Lab 1.9: Load Balancing Algorithm - Dynamic Load Balancing

F5 Lab 1.9: Load Balancing Algorithm - Dynamic Load Balancing

After test the configuration for static load balancing round-robin and ratio (member) on the last article here, I also try configuration for dynamic load balancing using least connection (member). Least connection (member) method will compare the concurrent connections to each pool member. The pool member with least concurrent connection will preferred handle the new incoming connection. Least connection also can be compared active connection based on node.

By using the same virtual server MARKETING_WEB VS on the previous lab article then I changed the load balancing method to least connection.

After it configured, I generate some traffic from user PC1 and keep the connection active on the browser. Here below the statistic:

The request from user PC 1 is handled by Node3 with 2 active connections. Then during the connections alive, I also generate traffic from other PC user but using Apache Benchmark tools by simulating 500 requests and 50 concurrent connections.

Then the statistic for the pool is increased as the second traffic is flowing through.

From the statistic collected on the pool, it shows that more traffic is handled by Node4. It expected because of differentiation on active connection handled by the Node3 and Node4. F5 compares the active connection for both pool member and the F5 see that Node4 has least connection counts so the traffic is forwarded to Node4.

Least connection method works well for many application and it well suited if the backend servers have similar capabilities.

Reference:


Patrick R.

Network Engineer at LightRiver Companies

9 个月

Awesome seeing more people using PNETLab on here!

要查看或添加评论,请登录

Deni Ramdani的更多文章

  • Cisco Nexus Lab 1: OSPF Authentication

    Cisco Nexus Lab 1: OSPF Authentication

    Using the same topology as my last lab by integrating Cisco Nexus device and F5 using OSPF routing protocol, I try to…

    2 条评论
  • F5 Lab 1.22 MAC Masquerading

    F5 Lab 1.22 MAC Masquerading

    After configuring HA Group for my F5 HA on my last article here, the next thing is how to optimize the failover in the…

    11 条评论
  • F5 Lab 1.21: HA Group

    F5 Lab 1.21: HA Group

    I have configured HA for my F5 based on this article, but with that configuration F5 will failover only when the active…

  • F5 Lab 1.20: Configuring Forwarding Virtual Server

    F5 Lab 1.20: Configuring Forwarding Virtual Server

    F5 by default is an device which block all traffic until the administrator explicitly allow it. Based on the lab, I…

  • F5 Lab 1.19: Configuring Route-Domain

    F5 Lab 1.19: Configuring Route-Domain

    After I make an update to my lab topology on my last article here, I start to configure route domain in F5 for…

    2 条评论
  • F5 Lab 1.18: Lab Topology Update

    F5 Lab 1.18: Lab Topology Update

    After creating simple lab created which focusing to F5 basic, I have updated my topology to integrate the F5 with…

    1 条评论
  • F5 Lab 1.17: Pool Member/Node Manual Resume

    F5 Lab 1.17: Pool Member/Node Manual Resume

    When deploying a service to F5 by creating virtual server as listener for the traffic, we also define which group of…

  • F5 Lab 1.16: Virtual Server Order of Precedence

    F5 Lab 1.16: Virtual Server Order of Precedence

    There are always many virtual server configured on the F5, it can be configured as very specific source and destination…

  • F5 Lab 1.15: Persistence Profile- Cookie Persistence

    F5 Lab 1.15: Persistence Profile- Cookie Persistence

    On the last lab, I have done lab for persistence based on source and destination address. While on this article I will…

    1 条评论
  • F5 Lab 1.14: Persistence Profile-Source and Destination Address

    F5 Lab 1.14: Persistence Profile-Source and Destination Address

    Beside fallback host feature which I have tried on my last lab and article here, there is also other feature to stick…

社区洞察

其他会员也浏览了