Brocade Communications Systems ServerIron ADX 12.4.00 Service Manual Page 82

  • Download
  • Add to my manuals
  • Print
  • Page
    / 136
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 81
70 ServerIron ADX Advanced Server Load Balancing Guide
53-1002435-01
Content aware cache switching
2
Content aware cache switching
Content aware cache switching (CSW in a TCS environment) uses information in the header of an
HTTP request to determine how or if content should be retrieved from a cache server. Using the text
in a URL string, the ServerIron ADX sends a request from a client to a cache server or to the Internet
according to user-defined policies.
You can configure content aware cache switching on the ServerIron ADX to do the following:
Group cache servers by content; for example, GIF files can be cached on one cache server and
HTML files on another
Cause HTTP requests containing a given URL string always to go to the same cache server,
minimizing content duplication among cache servers
Use information in the URL string or Host header field of an HTTP request to determine how the
requested content should be cached
Explicitly direct requests for dynamic content to the Internet, rather than to a cache server
Use directives in the HTTP 1.0 or 1.1 header to determine whether requested content should
be cached
The following sections discuss how CSW operates in a TCS environment and present some sample
configurations that demonstrate the features of content aware cache switching.
How CSW works
The CSW is the ServerIron ADX's ability to direct HTTP requests to a server, or group of servers,
using information in the text of a URL string. The ServerIron ADX examines the contents of a URL
string and makes a decision about where to send the packet based on selection criteria in
user-defined policies. If text in the URL string matches the selection criteria, the HTTP request is
sent to a server group specified in the policy.
NOTE
"URL string" is defined as the contents of the Request-URI part of the Request-Line in an HTTP
request message. This information usually consists of the absolute pathname (directory and
filename) of a resource. For example,
/doc/ServerIron ADX/1199/url_switching.html
The URL string can also be the input to a process running on a remote server. For example,
/quote.cgi?s=BRCD&d=1d
The network location of the resource is specified in the Host header field in an HTTP request
message. For example,
Host: www.brocade.com
The ServerIron ADX can examine both the URL string and Host header field when determining where
to send the HTTP request. Refer to RFC 1945 or RFC 2616 for more information on HTTP request
messages.
The selection criteria in a policy can be a string of characters starting from the beginning of the URL
string, end of the URL string, or within any part of the URL string. For example, selection criteria can
be a URL string that starts with the text “/home”. In a TCS environment, when a client sends an
HTTP request that has a URL string beginning with the text “/home", the policy can direct that
request to a specific group of cache servers (or to another CSW policy for additional matching).
Page view 81
1 2 ... 77 78 79 80 81 82 83 84 85 86 87 ... 135 136

Comments to this Manuals

No comments