25.02.2013 Views

TCP/IP Tutorial and Technical Overview - IBM Redbooks

TCP/IP Tutorial and Technical Overview - IBM Redbooks

TCP/IP Tutorial and Technical Overview - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>IP</strong> address(es) One or more <strong>IP</strong> addresses that are associated with the<br />

virtual router.<br />

Authentication data The authentication string is currently only used for<br />

simple text authentication.<br />

24.7 Round-robin DNS<br />

Early solutions to address load balancing were often located at the point where<br />

host names are translated into actual <strong>IP</strong> addresses: the Domain Name System<br />

(see 12.1, “Domain Name System (DNS)” on page 426). By rotating through a<br />

table of alternate <strong>IP</strong> addresses for a specific service, some degree of load<br />

balancing is achieved. This approach is often called round-robin DNS. The<br />

advantages of this approach are that it is protocol-compliant <strong>and</strong> transparent<br />

both to the client <strong>and</strong> the destination host. Also, it is performed only once at the<br />

start of the transaction.<br />

Unfortunately, this approach is sometimes defeated because intermediate name<br />

servers <strong>and</strong> client software (including some of the most popular browsers) cache<br />

the <strong>IP</strong> address returned by the DNS service <strong>and</strong> ignore an expressly specified<br />

time-to-live (TTL) value (see 3.1, “Internet Protocol (<strong>IP</strong>)” on page 68), particularly<br />

if the TTL is short or zero. As a result, the balancing function provided by the<br />

DNS is bypassed, because the client continues to use a cached <strong>IP</strong> address<br />

instead of resolving it again. Even if a client does not cache the <strong>IP</strong> address, basic<br />

round-robin DNS still has limitations:<br />

► It does not provide the ability to differentiate by port.<br />

► It has no awareness of the availability of the servers.<br />

► It does not take into account the workload on the servers.<br />

RFC 1794 discusses DNS support for load balancing <strong>and</strong> mentions round-robin<br />

DNS.<br />

24.8 Alternative solutions to load balancing<br />

There are many vendors currently offering load balancing hardware or software<br />

products. The techniques used vary widely <strong>and</strong> have advantages <strong>and</strong><br />

disadvantages.<br />

Chapter 24. Availability, scalability, <strong>and</strong> load balancing 921

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!