On Thu, 22 Mar 2001, Ping Du wrote:
> First, is that possible to run more than one polyclt or polysrv
> process on one machine without considering overhead?
Yes. In general, a Polygraph process does not know "physical" location
of other Polygraph processes. You will have to be careful with IP
addresses and port numbers though. Make sure your processes do not use
the same IP:port combinations as agent addresses or as addresses for
outgoing connections.
> Second, according to documentation, robots may be configured
> individually. What should I do if I want to configure different
> robot with different proxy server?
Proxy setting is per-polyclt-process, not per-robot. You will have to
run several polyclt processes to send traffic to different proxies. In
most cases, however, splitting the client-side traffic into
non-overlapping streams does not make much sense, so be sure you know
what you are doing.
If you believe that per-robot proxy setting is needed, please share
your benchmarking scenario with us. If your scenario is reasonable, we
can work on changing the way proxy address is assigned in polyclt.
> Third, polygraph uses HTTP/1.0 with many HTTP/1.1 features such as
> persistent connections. Does this mean different robots within one
> polyclt process use same TCP port?
No. Individual robots do not share any connection information. You may
think of robots as Web browsers running on different client machines.
Each robot maintains its own connection pool. The destination IP:port
may be the same, of course.
Local TCP ports for outgoing connections are either assigned by the OS
(default ephemeral mode) or picked from the pool of ports specified
using the --ports command-line option. Keep in mind that two robots
bound to the same address cannot use the same local port number.
Standard workloads use unique per-robot IP aliases, effectively
increasing the client-side address space and eliminating the
possibility of running out of ports.
Alex.
This archive was generated by hypermail 2b29 : Tue Jul 10 2001 - 12:00:18 MDT