Re: Can polysrv transact direct request from proxy

From: Alex Rousskov <rousskov_at_measurement-factory.com>
Date: Tue, 24 Sep 2002 09:40:19 -0600 (MDT)

On Tue, 24 Sep 2002, Ko Tensei_at_KIT wrote:

> I returned to a cooperative web caching research by now. If cache
> servers (yes the Squid) query each other by using ICP message or
> Cache Digest on receiving a request from polyclt, then everything is
> well. Polyclt is pleasant with the response object he gets.
>
> However, in my case, I attempt to let one proxy(A) send a part of
> URL of its own public objects to another proxy(B), then let proxyB
> pre-fetch these objects from either polysrv or proxyA.
>
> When I test this, firstly polysrv shows "missing target info in the
> request". By checking polyErrors.cc and tracing the error, I found
> the reason and turn on "--rgn-url 1" in polysrv side.

Setting --ign_urls to true will quell "missing target" errors but will
also make all request URLs irrelevant. Polysrv will generate
responses based on internal random numbers, and polyclt will not be
happy about it. Moreover, the traffic on the wire will be different
because the server will not follow recurrence and other settings
controlled by the client-side via request URLs. This option is useful
only when testing with non-Polygraph URLs/clients.

What you probably want to do instead, is to modify polysrv algorithm
so that it does not complain when there is no target (and other
non-essential) information in the request. Unfortunately, there is no
such option/setting -- you will need to implement the changes yourself
or pay somebody to do it for you.

An alternative is to change your cooperation algorithm to pass HTTP
request headers around along with the URL. That would be ideal from
real-life point of view (because your current technique may be
violating HTTP rules), but it comes with overheads, of course.

HTH,

Alex.

-- 
                            | HTTP performance - Web Polygraph benchmark
www.measurement-factory.com | HTTP compliance+ - Co-Advisor test suite
                            | all of the above - PolyBox appliance
Received on Tue Sep 24 2002 - 09:40:30 MDT

This archive was generated by hypermail 2.2.0 : Fri Nov 21 2008 - 12:00:08 MST