Article delegate-en/4417 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: File Size depended routing. Is it possible?
17 Mar 2009 07:07:13 GMT (Yutaka Sato)
The DeleGate Project


In message <_A4416@delegate-en.ML_> on 03/17/09(15:50:28) I wrote:
 |I'm not sure what does "reading" people means, but if you can distinguish
 |them with IP-address or domain or proxy authentication, you can select
 |a route for them with the FORWARD parameter (generalized parameter to
 |select upstream proxies as MASTER, PROXY and SOCKS) as follows for example:
 |  FORWARD="delegate://fast-link-gw:8888-_-*:*:reading-people"
 |  FORWARD="delegate://slow-link-gw:8888-_-*:*:*"
 |  HOSTLIST=reading-people:host1,host2,*.domain1,...

If you can pre-determine which servers have heavy data, you can use
the list of such servers to do routing as this:


Another possible solution with the current implementation of DeleGate
as a HTTP proxy is using MOUNT to specify the upstream proxy based on
URL as follows for example.

  MOUNT="http://large-images.dom/img/* = MASTER=slow-link-gw:8888"

  9 9   Yutaka Sato <>
 ( ~ )  National Institute of Advanced Industrial Science and Technology
_<   >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan
Do the more with the less -- B. Fuller

  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]