next up previous
Next: Client Processes Up: Wisconsin Proxy Benchmark Previous: Wisconsin Proxy Benchmark

Master Process

A master process is needed to coordinate the actions of client processes. Once a client process starts, it sends an ``ALIVE'' message to the master process, and then waits for a ``GO'' message from the master. Once it receives ``GO'', it starts sending HTTP requests to the proxy as described below. The master process waits till all client processes send it the ``ALIVE'' message, then sends ``GO'' to all clients. After sending all ``GO'' messages, the master waits for the end of the experiment when it receives statistics from all clients and servers. Based on this data, it generates an overall performance report. The number of client and server processes that the master has to wait for is given in a configuration file, whose name is passed as the command line argument to the master process. The master process may run on one of the client machines.

Pei Cao