© 1999-2017 Citrix Systems, Inc. All rights reserved.
p.551
https://docs.citrix.com
Load-Balancing in the WCCP Cluster
Sep 12, 2014
Traffic is distributed among the appliances in the WCCP cluster. If an appliance leaves the cluster (through failure, overload,
or being manually disabled), its traffic is rebalanced by distributing it among the surviving members. If an appliance joins the
cluster, traffic is rebalanced once more to give the new appliance its fair share.
T he Address Mask
T he Address Mask
Traffic is distributed on the basis of an address mask that is applied to the source and destination addresses of WAN
traffic. You must select an appropriate mask field for efficient load-balancing. An inappropriate mask can result in load-
balancing that is poor to nonexistent. For example, if the mask matches an address field that is identical at all your remote
sites, all your WAN traffic is sent to a single appliance, overloading it. For example, if all of your remote sites have an address
in the form of 10.0.x.x, and your mask bits are within the 10.0 portion of the address all traffic is sent to a single appliance.
The address bits extracted by the address mask are used as an index that is used (indirectly) to select one of the WCCP
caches (appliances). For example, an address mask with two ”one” bits results in four possible values, depending on the
address. Each of these values can be thought of as a bucket. With two mask bits, you have four buckets, numbered 0-3.
The buckets are assigned to WCCP caches. To be effective, there must be at least as many buckets as caches. If you use a
two-bit mask and have five or more caches, some caches are idle, because each bucket is assigned to only one cache, and
there are not enough buckets to cover all five caches:
Cache
1
2
3
4
5
Buckets
0
1
2
3
-
If there are more buckets than caches, some caches are assigned multiple buckets. For example, if you set three mask bits,
creating eight buckets, and you have four caches, two buckets are assigned to each cache. If you have five caches, three
caches are assigned two buckets each, and two caches are assigned just one. If each bucket represents the same number
of users, you have a 2:1 load imbalance across caches:
Cache
1
2
3
4
5
Buckets
0-1
2-3
4-5
6
7
Increasing the number of set mask bits reduces this imbalance. With four mask bits (16 index values) and five caches, four
caches receive three buckets and one cache receives four buckets, resulting in only a 4:3 imbalance. With six set mask bits
(the largest number supported), four caches receive 13 buckets and one receives 12, which is only a 13:12 load imbalance.
Cache
1
2
3
4
5
Buckets
0-12
13-25
26-38
39-51
52-63
Ideally, you would like each remote site to be directed to a single appliance in the WCCP cluster, so that all traffic to and
from a given site is stored in the same compression history. With this arrangement, any traffic from one user at the site can
be used to compress similar traffic from any other user at that site. In other words, for compressibility, load-balancing works
best if it the address mask selects the bits that differentiate one remote site from another. These are often the least-
significant bits of the subnet portion of the IP address. Using these bits tends to allocate the same number of remote sites
(not users) per local appliance. A mask that aligns with the host portion of the address instead of the subnet results in a
Summary of Contents for NetScaler EE
Page 21: ... 1999 2017 Citrix Systems Inc All rights reserved p 21 https docs citrix com ...
Page 111: ... 1999 2017 Citrix Systems Inc All rights reserved p 111 https docs citrix com ...
Page 270: ... 1999 2017 Citrix Systems Inc All rights reserved p 270 https docs citrix com ...
Page 310: ... 1999 2017 Citrix Systems Inc All rights reserved p 310 https docs citrix com ...
Page 344: ... 1999 2017 Citrix Systems Inc All rights reserved p 344 https docs citrix com ...
Page 349: ... 1999 2017 Citrix Systems Inc All rights reserved p 349 https docs citrix com ...
Page 352: ... 1999 2017 Citrix Systems Inc All rights reserved p 352 https docs citrix com ...
Page 357: ... 1999 2017 Citrix Systems Inc All rights reserved p 357 https docs citrix com ...
Page 372: ... 1999 2017 Citrix Systems Inc All rights reserved p 372 https docs citrix com ...
Page 489: ... 1999 2017 Citrix Systems Inc All rights reserved p 489 https docs citrix com ...
Page 713: ... 1999 2017 Citrix Systems Inc All rights reserved p 713 https docs citrix com ...
Page 727: ... 1999 2017 Citrix Systems Inc All rights reserved p 727 https docs citrix com VLAN Support ...
Page 738: ... 1999 2017 Citrix Systems Inc All rights reserved p 738 https docs citrix com ...
Page 790: ... 1999 2017 Citrix Systems Inc All rights reserved p 790 https docs citrix com ...
Page 929: ... 1999 2017 Citrix Systems Inc All rights reserved p 929 https docs citrix com ...
Page 930: ... 1999 2017 Citrix Systems Inc All rights reserved p 930 https docs citrix com ...
Page 931: ... 1999 2017 Citrix Systems Inc All rights reserved p 931 https docs citrix com ...
Page 932: ... 1999 2017 Citrix Systems Inc All rights reserved p 932 https docs citrix com ...
Page 933: ... 1999 2017 Citrix Systems Inc All rights reserved p 933 https docs citrix com ...
Page 934: ... 1999 2017 Citrix Systems Inc All rights reserved p 934 https docs citrix com ...
Page 935: ... 1999 2017 Citrix Systems Inc All rights reserved p 935 https docs citrix com ...
Page 936: ... 1999 2017 Citrix Systems Inc All rights reserved p 936 https docs citrix com ...
Page 938: ... 1999 2017 Citrix Systems Inc All rights reserved p 938 https docs citrix com ...
Page 939: ... 1999 2017 Citrix Systems Inc All rights reserved p 939 https docs citrix com ...
Page 940: ... 1999 2017 Citrix Systems Inc All rights reserved p 940 https docs citrix com ...
Page 941: ... 1999 2017 Citrix Systems Inc All rights reserved p 941 https docs citrix com ...
Page 942: ... 1999 2017 Citrix Systems Inc All rights reserved p 942 https docs citrix com ...
Page 943: ... 1999 2017 Citrix Systems Inc All rights reserved p 943 https docs citrix com ...
Page 944: ... 1999 2017 Citrix Systems Inc All rights reserved p 944 https docs citrix com ...
Page 945: ... 1999 2017 Citrix Systems Inc All rights reserved p 945 https docs citrix com ...
Page 946: ... 1999 2017 Citrix Systems Inc All rights reserved p 946 https docs citrix com ...
Page 947: ... 1999 2017 Citrix Systems Inc All rights reserved p 947 https docs citrix com ...
Page 948: ... 1999 2017 Citrix Systems Inc All rights reserved p 948 https docs citrix com ...
Page 949: ... 1999 2017 Citrix Systems Inc All rights reserved p 949 https docs citrix com ...
Page 950: ... 1999 2017 Citrix Systems Inc All rights reserved p 950 https docs citrix com ...
Page 951: ... 1999 2017 Citrix Systems Inc All rights reserved p 951 https docs citrix com ...
Page 952: ... 1999 2017 Citrix Systems Inc All rights reserved p 952 https docs citrix com ...
Page 953: ... 1999 2017 Citrix Systems Inc All rights reserved p 953 https docs citrix com ...
Page 954: ... 1999 2017 Citrix Systems Inc All rights reserved p 954 https docs citrix com ...
Page 955: ... 1999 2017 Citrix Systems Inc All rights reserved p 955 https docs citrix com ...
Page 956: ... 1999 2017 Citrix Systems Inc All rights reserved p 956 https docs citrix com ...
Page 957: ... 1999 2017 Citrix Systems Inc All rights reserved p 957 https docs citrix com ...
Page 958: ... 1999 2017 Citrix Systems Inc All rights reserved p 958 https docs citrix com ...
Page 959: ... 1999 2017 Citrix Systems Inc All rights reserved p 959 https docs citrix com ...
Page 960: ... 1999 2017 Citrix Systems Inc All rights reserved p 960 https docs citrix com ...
Page 961: ... 1999 2017 Citrix Systems Inc All rights reserved p 961 https docs citrix com ...
Page 962: ... 1999 2017 Citrix Systems Inc All rights reserved p 962 https docs citrix com ...
Page 963: ... 1999 2017 Citrix Systems Inc All rights reserved p 963 https docs citrix com ...
Page 964: ... 1999 2017 Citrix Systems Inc All rights reserved p 964 https docs citrix com ...
Page 965: ... 1999 2017 Citrix Systems Inc All rights reserved p 965 https docs citrix com ...
Page 966: ... 1999 2017 Citrix Systems Inc All rights reserved p 966 https docs citrix com ...
Page 967: ... 1999 2017 Citrix Systems Inc All rights reserved p 967 https docs citrix com ...
Page 968: ... 1999 2017 Citrix Systems Inc All rights reserved p 968 https docs citrix com ...
Page 969: ... 1999 2017 Citrix Systems Inc All rights reserved p 969 https docs citrix com ...
Page 970: ... 1999 2017 Citrix Systems Inc All rights reserved p 970 https docs citrix com ...
Page 971: ... 1999 2017 Citrix Systems Inc All rights reserved p 971 https docs citrix com ...
Page 972: ... 1999 2017 Citrix Systems Inc All rights reserved p 972 https docs citrix com ...
Page 973: ... 1999 2017 Citrix Systems Inc All rights reserved p 973 https docs citrix com ...
Page 974: ... 1999 2017 Citrix Systems Inc All rights reserved p 974 https docs citrix com ...
Page 975: ... 1999 2017 Citrix Systems Inc All rights reserved p 975 https docs citrix com ...
Page 976: ... 1999 2017 Citrix Systems Inc All rights reserved p 976 https docs citrix com ...
Page 977: ... 1999 2017 Citrix Systems Inc All rights reserved p 977 https docs citrix com ...
Page 978: ... 1999 2017 Citrix Systems Inc All rights reserved p 978 https docs citrix com ...
Page 979: ... 1999 2017 Citrix Systems Inc All rights reserved p 979 https docs citrix com ...
Page 980: ... 1999 2017 Citrix Systems Inc All rights reserved p 980 https docs citrix com ...
Page 981: ... 1999 2017 Citrix Systems Inc All rights reserved p 981 https docs citrix com ...
Page 982: ... 1999 2017 Citrix Systems Inc All rights reserved p 982 https docs citrix com ...
Page 983: ... 1999 2017 Citrix Systems Inc All rights reserved p 983 https docs citrix com ...
Page 984: ... 1999 2017 Citrix Systems Inc All rights reserved p 984 https docs citrix com ...
Page 985: ... 1999 2017 Citrix Systems Inc All rights reserved p 985 https docs citrix com ...
Page 986: ... 1999 2017 Citrix Systems Inc All rights reserved p 986 https docs citrix com ...
Page 987: ... 1999 2017 Citrix Systems Inc All rights reserved p 987 https docs citrix com ...
Page 988: ... 1999 2017 Citrix Systems Inc All rights reserved p 988 https docs citrix com ...
Page 989: ... 1999 2017 Citrix Systems Inc All rights reserved p 989 https docs citrix com ...
Page 990: ... 1999 2017 Citrix Systems Inc All rights reserved p 990 https docs citrix com ...
Page 991: ... 1999 2017 Citrix Systems Inc All rights reserved p 991 https docs citrix com ...
Page 992: ... 1999 2017 Citrix Systems Inc All rights reserved p 992 https docs citrix com ...
Page 993: ... 1999 2017 Citrix Systems Inc All rights reserved p 993 https docs citrix com ...
Page 994: ... 1999 2017 Citrix Systems Inc All rights reserved p 994 https docs citrix com ...
Page 995: ... 1999 2017 Citrix Systems Inc All rights reserved p 995 https docs citrix com ...
Page 996: ... 1999 2017 Citrix Systems Inc All rights reserved p 996 https docs citrix com ...
Page 997: ... 1999 2017 Citrix Systems Inc All rights reserved p 997 https docs citrix com ...
Page 998: ... 1999 2017 Citrix Systems Inc All rights reserved p 998 https docs citrix com ...
Page 999: ... 1999 2017 Citrix Systems Inc All rights reserved p 999 https docs citrix com ...
Page 1000: ... 1999 2017 Citrix Systems Inc All rights reserved p 1000 https docs citrix com ...
Page 1001: ... 1999 2017 Citrix Systems Inc All rights reserved p 1001 https docs citrix com ...
Page 1002: ... 1999 2017 Citrix Systems Inc All rights reserved p 1002 https docs citrix com ...
Page 1003: ... 1999 2017 Citrix Systems Inc All rights reserved p 1003 https docs citrix com ...
Page 1004: ... 1999 2017 Citrix Systems Inc All rights reserved p 1004 https docs citrix com ...
Page 1005: ... 1999 2017 Citrix Systems Inc All rights reserved p 1005 https docs citrix com ...
Page 1006: ... 1999 2017 Citrix Systems Inc All rights reserved p 1006 https docs citrix com ...
Page 1007: ... 1999 2017 Citrix Systems Inc All rights reserved p 1007 https docs citrix com ...
Page 1008: ... 1999 2017 Citrix Systems Inc All rights reserved p 1008 https docs citrix com ...
Page 1009: ... 1999 2017 Citrix Systems Inc All rights reserved p 1009 https docs citrix com ...
Page 1010: ... 1999 2017 Citrix Systems Inc All rights reserved p 1010 https docs citrix com ...
Page 1011: ... 1999 2017 Citrix Systems Inc All rights reserved p 1011 https docs citrix com ...
Page 1012: ... 1999 2017 Citrix Systems Inc All rights reserved p 1012 https docs citrix com ...