2004-06-09 19:09:16 +00:00
|
|
|
<?php
|
2004-02-03 01:04:40 +00:00
|
|
|
require_once("docutil.php");
|
|
|
|
page_head("Proxy servers");
|
|
|
|
echo "
|
2004-08-21 21:09:51 +00:00
|
|
|
SETI@home Classic benefited from 'proxy servers' such as SETIQueue,
|
|
|
|
that store work units and results,
|
|
|
|
and transfer them
|
2004-02-03 01:04:40 +00:00
|
|
|
between participant computers and the main SETI@home server.
|
2004-08-21 21:09:51 +00:00
|
|
|
Proxies provide a smooth supply of work even when the main server is down,
|
2004-06-27 23:26:52 +00:00
|
|
|
and they make it possible to run SETI@home Classic on computers
|
2004-02-03 01:04:40 +00:00
|
|
|
not connected directly to the Internet.
|
|
|
|
<p>
|
2004-06-27 23:26:52 +00:00
|
|
|
These programs won't work with BOINC (see below),
|
2004-08-21 21:09:51 +00:00
|
|
|
but some of their benefits can be achieved in other ways:
|
2004-06-27 23:26:52 +00:00
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
The buffering of multiple work units is provided by the BOINC client itself -
|
|
|
|
you can specify how much work your computer should get
|
|
|
|
each time it contacts the server.
|
|
|
|
<li>
|
|
|
|
Hosts that are not directly connected to the Internet,
|
|
|
|
but share a LAN with one that is,
|
|
|
|
can participate in BOINC using an HTTP 1.0 proxy
|
|
|
|
such as <a href=http://www.squid-cache.org/>Squid</a> for Unix or
|
|
|
|
<a href=http://download.com.com/3000-2381-10226247.html?tag=lst-0-21>FreeProxy</a> for Windows.
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<h3>Why won't SETIQueue work with BOINC?</h3>
|
|
|
|
<p>
|
|
|
|
Unlike SETI@home Classic, with its 'one size fits all' work units,
|
2004-02-03 01:04:40 +00:00
|
|
|
BOINC allows work units that have extreme requirements
|
|
|
|
(memory, disk, CPU) and makes sure they're sent only
|
|
|
|
to hosts that can handle them.
|
2004-02-19 16:43:28 +00:00
|
|
|
In BOINC, a client communicates directly with the server,
|
2004-02-03 01:04:40 +00:00
|
|
|
telling the server about its hardware (memory size, CPU speed etc.)
|
2004-02-19 16:43:28 +00:00
|
|
|
and the server chooses work for it accordingly.
|
2004-02-03 01:04:40 +00:00
|
|
|
Furthermore, BOINC has separate scheduling and data servers
|
2004-06-27 23:26:52 +00:00
|
|
|
(in SETI@home Classic, a single server played both roles).
|
2004-08-21 21:09:51 +00:00
|
|
|
|
|
|
|
<h3>How a BOINC proxy system might work</h3>
|
2004-02-03 01:04:40 +00:00
|
|
|
<p>
|
2004-08-21 21:09:51 +00:00
|
|
|
Here's a sketch of a proxy system based on a modified core client.
|
|
|
|
We assume that there's a 'proxy' host that
|
|
|
|
does only communication and storage,
|
|
|
|
and a number of 'worker' hosts that do computation.
|
|
|
|
The core client must be modified to accept -proxy and -worker options:
|
|
|
|
<ul>
|
|
|
|
|
|
|
|
<li> With the -proxy option,
|
|
|
|
the client does network communication (scheduler RPC, file upload and download)
|
|
|
|
and no computation, CPU benchmarking,
|
|
|
|
or measurement of other hardware info like memory and disk size.
|
|
|
|
(It does, however, measure and store network speed.)
|
|
|
|
It exits when network communication is finished.
|
|
|
|
|
|
|
|
<li> With the -worker option,
|
|
|
|
the client does the complement:
|
|
|
|
computation and CPU benchmarking but no network communication, etc.
|
|
|
|
It exits when computation is finished
|
|
|
|
(or perhaps when a CPU becomes idle,
|
|
|
|
or when a project is starved).
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
The proxy host would maintain a set of separate BOINC directories,
|
|
|
|
one for each worker host.
|
|
|
|
The high-level logic is (for each worker host):
|
|
|
|
<ul>
|
|
|
|
<li> Run the core client with -worker on the worker host.
|
|
|
|
<li>
|
|
|
|
When it exits, synchronize its directory with
|
|
|
|
the corresponding directory on the proxy host.
|
|
|
|
<li>
|
|
|
|
Run the core client with -proxy on the proxy host.
|
|
|
|
<li>
|
|
|
|
When it exits, synchronize its directory with
|
|
|
|
the corresponding directory on the worker host.
|
|
|
|
<li>
|
|
|
|
Repeat.
|
|
|
|
</ul>
|
2004-09-14 21:29:52 +00:00
|
|
|
Note: none of the above is implemented.
|
2004-08-21 21:09:51 +00:00
|
|
|
If you are a programmer and would like to help, please let us know.
|
|
|
|
Also note: as described above, the system is not asynchronous
|
|
|
|
(computation and communication don't overlap)
|
|
|
|
and the proxy doesn't act as a buffer.
|
|
|
|
It could be modified to have these properties.
|
|
|
|
|
2004-02-03 01:04:40 +00:00
|
|
|
";
|
|
|
|
page_tail();
|
|
|
|
?>
|