2003-08-19 06:44:58 +00:00
|
|
|
<?
|
|
|
|
require_once("docutil.php");
|
2004-02-10 07:04:27 +00:00
|
|
|
page_head("Back end daemons");
|
2003-08-19 06:44:58 +00:00
|
|
|
echo "
|
2003-01-23 08:07:48 +00:00
|
|
|
|
|
|
|
<p>
|
2004-02-10 07:04:27 +00:00
|
|
|
A project <b>back end</b> consists of a set of daemons
|
|
|
|
(programs that run all the time),
|
2004-02-09 05:11:05 +00:00
|
|
|
some of which have application-specific parts.
|
|
|
|
Each program should be listed as a daemon in the
|
|
|
|
<a href=configuration.php>config.xml</a> file.
|
2003-01-23 08:07:48 +00:00
|
|
|
|
2004-02-09 05:11:05 +00:00
|
|
|
<h3>Work generation</h3>
|
2003-01-23 08:07:48 +00:00
|
|
|
<p>
|
2004-02-09 05:11:05 +00:00
|
|
|
There is one work generator per application.
|
|
|
|
It creates workunits and the corresponding input files.
|
|
|
|
It is entirely application-specific, and uses
|
|
|
|
<a href=tools_work.php>BOINC-supplied interfaces</a>
|
|
|
|
for registering the workunits in the database.
|
|
|
|
|
|
|
|
<h3>Transitioning</h3>
|
|
|
|
<p>
|
|
|
|
This program (which is supplied by BOINC and is application independent)
|
|
|
|
handles various state transitions of workunits and results,
|
2003-08-31 00:13:09 +00:00
|
|
|
such as timeouts.
|
2004-02-09 05:11:05 +00:00
|
|
|
It generates initial results for workunits,
|
|
|
|
and generates more results when timeouts or errors occur.
|
|
|
|
|
|
|
|
<h3>Validation</h3>
|
|
|
|
<p>
|
|
|
|
There is one validator per application.
|
|
|
|
It compares redundant results and selects a <b>canonical result</b>
|
2003-01-23 08:07:48 +00:00
|
|
|
representing the correct output,
|
|
|
|
and a <b>canonical credit</b> granted to users and hosts
|
2004-02-09 05:11:05 +00:00
|
|
|
that return the correct output.
|
|
|
|
|
|
|
|
<h3>Assimilation</h3>
|
|
|
|
There is one assimilator per application.
|
|
|
|
It handles workunits that are 'completed':
|
2003-08-31 00:13:09 +00:00
|
|
|
that is, that have a canonical result or for which
|
2003-01-23 08:07:48 +00:00
|
|
|
an error condition has occurred.
|
|
|
|
Handling a successfully completed result might involve
|
2004-02-09 05:11:05 +00:00
|
|
|
record results in a database and perhaps generating more work.
|
2003-01-23 08:07:48 +00:00
|
|
|
|
2004-02-09 05:11:05 +00:00
|
|
|
<h3>File deletion</h3>
|
|
|
|
This application-independent program
|
|
|
|
deletes input and output files
|
|
|
|
when they are no longer needed.
|
2003-08-19 06:44:58 +00:00
|
|
|
";
|
|
|
|
page_tail();
|
|
|
|
?>
|