2005-11-07 21:21:21 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
require_once("docutil.php");
|
|
|
|
|
|
|
|
page_head("Statistics data");
|
|
|
|
echo "
|
2005-11-08 03:31:50 +00:00
|
|
|
<b>Statistics data</b> is the number of
|
|
|
|
<a href=credit.php>Cobblestones</a> (credit units)
|
|
|
|
granted to hosts, participants and teams by the
|
|
|
|
various BOINC projects.
|
2005-11-10 06:06:11 +00:00
|
|
|
This can be used for various purposes, such as:
|
2005-11-08 03:31:50 +00:00
|
|
|
<ul>
|
2005-11-10 06:06:11 +00:00
|
|
|
<li>
|
|
|
|
Web sites that show statistics and leaderboards
|
2005-11-08 03:31:50 +00:00
|
|
|
for one or more BOINC projects.
|
|
|
|
Examples are listed at <a href=stats_sites.php>here</a>.
|
|
|
|
|
2005-11-10 06:06:11 +00:00
|
|
|
<li> Dynamically-generated images
|
2005-11-08 03:31:50 +00:00
|
|
|
(typically used as message-board signatures)
|
|
|
|
that show user and/or team credit, possible across projects.
|
|
|
|
Examples are listed at <a href=stats_sites.php>here</a>.
|
|
|
|
|
2005-11-10 06:06:11 +00:00
|
|
|
<li> Displays of current credit on cell phones and PDAs. </ul>
|
2005-11-08 03:31:50 +00:00
|
|
|
|
|
|
|
<p>
|
|
|
|
BOINC provides a flexible architecture for distributing
|
2005-11-10 06:06:11 +00:00
|
|
|
statistics data, with the goal of enabling new display applications.
|
|
|
|
<hr>
|
|
|
|
<center>
|
2005-11-07 21:21:21 +00:00
|
|
|
<img src=stats.png>
|
2005-11-10 06:06:11 +00:00
|
|
|
<br
|
|
|
|
<b>The BOINC statistics data architecture</b></center>
|
|
|
|
<hr>
|
2005-11-08 03:31:50 +00:00
|
|
|
|
2005-11-10 06:06:11 +00:00
|
|
|
<h2>Project-specific data</h2>
|
2005-11-08 03:31:50 +00:00
|
|
|
<p>
|
|
|
|
Each BOINC project provides data in two forms:
|
|
|
|
<ul>
|
|
|
|
<li> As
|
|
|
|
<a href=db_dump.php>a set of downloadable files</a>
|
|
|
|
(in a compressed XML format)
|
|
|
|
that contain the project's complete current statistics.
|
|
|
|
These files are typically updated once every 24 hours.
|
|
|
|
<li> As
|
2005-11-10 06:06:11 +00:00
|
|
|
<a href=web_rpc.php>a set of Web RPCs</a>
|
2005-11-08 03:31:50 +00:00
|
|
|
that return an XML-format description of a given
|
|
|
|
participant's credit,
|
|
|
|
based on that participant's database ID.
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
Applications should access these data sources
|
|
|
|
as infrequently as possible,
|
|
|
|
to avoid imposing unnecessary load on project servers.
|
|
|
|
For example, a Web RPCs to get a particular participant's data
|
|
|
|
should made at most once per hour.
|
|
|
|
|
|
|
|
|
|
|
|
<h2>Aggregate data</h2>
|
|
|
|
<p>
|
|
|
|
A <b>data aggregator</b> is a service that collects XML files
|
|
|
|
from several projects,
|
|
|
|
and computes the totals for participants and hosts
|
2005-11-13 20:59:27 +00:00
|
|
|
(based on <a href=cpid.php>cross-project IDs</a>)
|
2005-11-08 03:31:50 +00:00
|
|
|
across these projects.
|
|
|
|
This aggregate data is then exported in two ways:
|
|
|
|
<ul>
|
|
|
|
<li> As
|
|
|
|
<a href=stats_xml.php>a set of downloadable files</a>
|
|
|
|
(in a compressed XML format).
|
2005-11-10 06:06:11 +00:00
|
|
|
An example is at http://boinc.netsoft-online.com/stats/.
|
2005-11-08 03:31:50 +00:00
|
|
|
<li> As
|
|
|
|
<a href=stats_xml.php#rpc>a set of Web RPCs</a>
|
|
|
|
that return an XML-format description of a given participant
|
|
|
|
or host's credit,
|
|
|
|
based on the cross-project ID.
|
2005-11-10 06:06:11 +00:00
|
|
|
Example:
|
|
|
|
http://boinc.netsoft-online.com/get_host.php?cpid=????
|
|
|
|
and
|
|
|
|
http://boinc.netsoft-online.com/get_host_tot.php?cpid=????
|
2005-11-08 03:31:50 +00:00
|
|
|
</ul>
|
|
|
|
<p>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
Application developers are encouraged to concentrate
|
|
|
|
on aggregate rather than per-project data.
|
|
|
|
This will encourage participants to join multiple projects,
|
|
|
|
and will make it possible for new projects to quickly get
|
|
|
|
many participants.
|
2005-11-07 21:21:21 +00:00
|
|
|
";
|
|
|
|
|
|
|
|
page_tail();
|
|
|
|
|
|
|
|
?>
|