
to the same host.
Network Stickiness
This mode is similar to IP stickiness except that by using a
subnet mask, a range of hosts in a subnet can be specified.
10.4.4. The Distribution Algorithm
There are several ways to determine how a load is shared across a server farm. NetDefendOS SLB
supports the following algorithms:
Round Robin
The algorithm distributes new incoming connections to a list of servers on
a rotating basis. For the first connection, the algorithm picks a server
randomly, and assigns the connection to it. For subsequent connections, the
algorithm cycles through the server list and redirects the load to servers in
order. Regardless of each server's capability and other aspects, for instance,
the number of existing connections on a server or its response time, all the
available servers take turns in being assigned the next connection.
This algorithm ensures that all servers receive an equal number of requests,
therefore it is most suited to server farms where all servers have an equal
capacity and the processing loads of all requests are likely to be similar.
Connection Rate
This algorithm considers the number of requests that each server has
received over a certain timeframe. SLB sends the next request to the server
that has received the lowest number of connections in that time. The
administrator is able to specify the timeframe to use with this algorithm.
The Connection Rate Algorithm and Stickiness
If the Connection Rate algorithm is used without stickiness, it will behave as a Round Robin
algorithm that allocates new connections to servers in an orderly fashion. It will also behave like the
Round Robin algorithm if there are always clients with a new IP address that make one connection.
The real benefit of using the Connection Rate algorithm together with stickiness is when clients
make multiple connections. Connection Rate will then ensure that the distribution of new
connections is as even as possible among servers. Before the interval reaches the specified Idle
Timeout of stickiness, new incoming connections from the same IP address as a previous connection
are assigned to the same server. The connection with a new address will be redirected to a server
with the lowest connection rate. The algorithm aims to minimize the new connection load for a
server, but the distribution may get uneven if a client from a single IP is sending lots of new
connections in a short time and the other servers do not get as many new connections.
In the management interface, the time window is variable for counting the number of seconds back
in time to summarize the number of new connections for the connection-rate algorithm. As the
default value, 10 is used so that the number of new connections which were made to each server in
the last 10 seconds will be remembered.
An Example Connection Scenario
An example scenario is illustrated in the figure below. In this example, the D-Link Firewall is
responsible for balancing connections from 3 clients with different addresses to 2 servers. Stickiness
is enabled.
Figure 10.9. Connections from Three Clients
10.4.4. The Distribution Algorithm
Chapter 10. Traffic Management
403
Summary of Contents for 800 - DFL 800 - Security Appliance
Page 24: ...1 3 NetDefendOS State Engine Packet Flow Chapter 1 NetDefendOS Overview 24 ...
Page 69: ...2 6 4 Restore to Factory Defaults Chapter 2 Management and Maintenance 69 ...
Page 121: ...3 9 DNS Chapter 3 Fundamentals 121 ...
Page 181: ...4 7 5 Advanced Settings for Transparent Mode Chapter 4 Routing 181 ...
Page 192: ...5 5 IP Pools Chapter 5 DHCP Services 192 ...
Page 282: ...6 7 Blacklisting Hosts and Networks Chapter 6 Security Mechanisms 282 ...
Page 300: ...mechanism 7 3 7 SAT and FwdFast Rules Chapter 7 Address Translation 300 ...
Page 301: ...7 3 7 SAT and FwdFast Rules Chapter 7 Address Translation 301 ...
Page 318: ...8 3 Customizing HTML Pages Chapter 8 User Authentication 318 ...
Page 322: ...ALG 9 1 5 The TLS Alternative for VPN Chapter 9 VPN 322 ...
Page 377: ...Management Interface Failure with VPN Chapter 9 VPN 377 ...
Page 408: ...10 4 6 SLB_SAT Rules Chapter 10 Traffic Management 408 ...
Page 419: ...11 5 HA Advanced Settings Chapter 11 High Availability 419 ...
Page 426: ...12 3 5 Limitations Chapter 12 ZoneDefense 426 ...
Page 449: ...13 9 Miscellaneous Settings Chapter 13 Advanced Settings 449 ...