For networks that handle Internet-bound requests with strict rules, RealProxy can be configured to route requests for material delivered by certain RealServers through another RealProxy. This chapter explains how to set up proxy routing.
Proxy routing, sometimes known as chaining or parent/child, allows you to route RealProxy requests through other RealProxys.
The proxy routing feature instructs RealProxy to look at the address of the requested material, and to send it either to a specific RealProxy, or to send it directly to the RealServer that hosts the content.
The main RealProxy which handles requests bound for the Internet is called the parent RealProxy; the RealProxys located closest to the clients are called child RealProxys.
Typical uses for this feature include routing all requests for locally-served material directly to the RealServer, and forwarding all other requests through a gateway RealProxy.
A parent RealProxy can also stream content to clients while simultaneously streaming data to a child RealProxy. While it is technically possible for a child RealProxy to also act as a parent RealProxy, it is not recommended.
Each child RealProxy directs its streams to other RealProxys by use of rules.
Rules are sorted in the order in which they appear in RealSystem Administrator. Therefore, it makes sense to put the rules which affect the most requests later in the list. Put the most specific rules first.
Use an asterisk (*) to indicate a wildcard section. There are some conditions for using the wildcard:
*.example.com
is a valid entry in the Routing Table box, but *.example.* is not. The following are all valid:*
(forwards all requests to the RealProxy shown in the list)*.com
(forwards all requests that end in .com)*.net
*.example.com
realproxy.*.com
realproxy.example.*
realproxy.department.example.*
real*.example.com
is not valid.This section describes how proxy routing works with three of RealProxy's features.
The passthrough feature under proxy routing works like this:
The parent RealProxy maintains the control connection to the transmitter RealServer; the child RealProxy doesn't contact the transmitter RealServer directly.
With caching, the parent RealProxy always forwards the cache data to the child RealProxy; it does not store cache data itself. If a client requests the same data directly from the parent RealProxy, that RealProxy must still contact the transmitter RealServer before filling its cache, even though it has sent the same data to the child RealProxy. This prevents the parent RealProxy cache from filling with data it hasn't requested.
Caching under proxy routing works like this:
Notice that the parent RealProxy does not fill its cache with the data.
The following steps show proxy routing with the pull splitting feature:
Notice that the splitting happens at the child level. A control connection is maintained with the transmitter, by way of the parent RealProxy. Splitting does not happen at the parent RealProxy; if a client connects to the parent RealProxy and requests the same stream, the parent RealProxy must proxy the request to the transmitter in the usual manner and splits that stream.
When adjusting the proxy routing settings, you make changes to the child RealProxy only. You do not need to make any changes to the parent RealProxy.
Yes
.
Match the parent RealProxy's value for RTSP Proxy Port (usually 554
).
Match the parent RealProxy's value for PNA Proxy Port, usually 7070
.
Match the parent RealProxy's value for Cache Port, usually 7878
.