This section provides several examples of transparency deployments. The deployments are essentially the same whether you are using an L4 or L7 switch or a WCCP router. The examples discuss the strategy for each deployment and the effects of the deployment on traffic. This section includes the following examples:
Some scenarios in other chapters in this guide show deployments that use transparent proxying.
In this example, an enterprise company wants to improve the speed of DNS lookups and decrease the amount of bandwidth that is consumed by sending DNS requests to remote servers. Additionally, the managers want to reduce the load on the DNS nameservers. They do so by configuring the NetCache appliance as a transparent DNS proxy cache.
Note
Alternatively, DNS caching can be set up for nontransparent access to the NetCache appliance.
The following illustration shows a transparent proxying topology consisting of one NetCache appliance and one L4 or L7 switch or one WCCP router.
In this deployment
If the DNS proxy cache has the host name to IP addresses mapping in its cache, NetCache can resolve the DNS query without contacting the remote DNS nameserver. If the DNS proxy cache cannot resolve a DNS query, it contacts a remote DNS nameserver to resolve the query, caches the host name and IP addresses resulting from the query, and returns the host's IP addresses to the client.
In this example, an enterprise company has deployed streaming media service by configuring a NetCache appliance to run as a streaming media cache and by configuring an L4 or L7 switch or a WCCP router to be aware of the streaming media cache.
Note
Although this illustration shows a single streaming server, MMS and RTSP traffic might be handled by different streaming servers.
In this deployment
In this example, both clients are requesting the same unique live (real-time) stream and the stream is being transmitted over unicast. When the streaming media cache receives the first of the two requests for the same stream, the proxy connects to the streaming server to obtain the stream.
When the proxy receives a second request for the same unique stream, the proxy splits the stream that it is already delivering to the first client and delivers the same unique stream to the second client also.
NetCache also supports streaming over multicast transmission. See NetCache support for live streams over multicast for more information.
When an on-demand stream is requested by a client, NetCache determines whether the stream is already in the cache. If the stream is in the cache, NetCache serves it directly to the client from the cache. If the stream is not in the cache, NetCache fetches the on-demand stream from the streaming server and delivers the stream to the client while caching it for future clients.
See Chapter 5, Deploying NetCache as a Streaming Media Cache, for more information about the NetCache streaming media feature.
The following illustration shows a transparent proxying deployment consisting of three NetCache appliances and one switch or one WCCP router.
For the organization in this example, three NetCache appliances are required to handle the number of client HTTP and NNTP requests expected. All appliances handle requests of both protocols. The traffic load was not considered to be heavy enough that the cache hit rate or bandwidth savings would be adversely affected by multiple protocols being handled on the same NetCache appliance.
Note
If your NetCache appliance must handle a heavy load, Network Appliance recommends that you do not set up the same appliance to handle more than one type of traffic.
In this deployment
In this example, an ISP has two POPs (points of presence) and a data center. Three NetCache appliances are required at the data center to handle the expected load. One NetCache appliance is required at each POP to handle the expected load.
This ISP wants cache misses at the POPs redirected to the data center, instead of having the NetCache appliances at the POPs fetch the objects directly from the Internet. One advantage of this deployment is that the two POPs can share the data cached in the data center NetCache appliances. Additionally, if a NetCache appliance at a POP goes down, the ISP wants the data center switch to intercept HTTP traffic.
The following illustration shows deployment for the ISP using L4 switches to redirect HTTP traffic to the NetCache appliances. Deployment with a WCCP router is essentially the same, with the WCCP software installed on the router on the same subnet as the NetCache appliances. Although the WCCP router and NetCache appliances do not have to be on the same subnet, the most efficient approach is to have the routers at the POPs redirect traffic to the NetCache appliances at the POPs.
Configuration is as follows:
Traffic is handled as follows:
Configuration is as follows:
Traffic is handled as follows:
Noncacheable objects requested through the POP's NetCache appliance are also transparently processed by the proxying set up at the data center. Therefore, noncacheable objects are processed by two proxying sites before the object is requested from the Internet, resulting in an increased load on the NetCache appliances at the data center, an increased response time, and lower hit rates.
Because all clients connect to the POP, enabling transparent proxying at the data center is not necessary, unless the NetCache appliance at the POP fails.
Ways to avoid the disadvantage noted for Example 3 are as follows:
Copyright © 1994-2002, Network Appliance, Inc. All rights
reserved.
Part No. 210-00372
File: access9.htm
Last updated: 11/13/02 18:10:53