Changes between Initial Version and Version 1 of BoincLite


Ignore:
Timestamp:
Sep 17, 2010, 5:09:09 PM (14 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BoincLite

    v1 v1  
     1= BoincLite: A thin BOINC client library =
     2
     3Peter Hanappe, Sony Computer Science Laboratory
     4
     5!BoincLite de
     6fines the minimum API to realise a simple BOINC client.
     7Its main functionality is to download work units, to upload the results, and
     8to make sure there is always one work unit ready to be executed. It has a
     9fair number of restrictions compared to the existing BOINC manager:
     10 * It handles only one BOINC project.
     11 * It doesn't manage the resource usage (CPU, memory, disk) nor the
     12scheduling between projects and work units. If resource management
     13is needed, the calling application will have to implement it.
     14 * It doesn't provide any glue for constructing a user interface. Again,
     15this has to be managed by the calling application.
     16 * Only one workunit is computed at once and at most one workunit is
     17waiting to be executed.
     18 * The downloads and uploads are performed sequentialy.
     19 * The library doesn't use multi-threading. However, it is straighforward
     20to spin of separate threads for the scheduler for and the computation
     21of the work unit so that they run parallel to the main thread.
     22
     23The library consists of four components: !BoincScheduler, !BoincProxy,
     24!BoincCon
     25guration, and !BoincHttp (see Fig. ).
     26
     27!BoincHttp is a thin abstraction layer for handling HTTP requests. It is
     28used as a portable layer that can be easily implemented on top of existing
     29HTTP libraries, such as libcurl on Linux or libhttp on CellOS.
     30
     31The !BoincCon
     32guration is another shallow abstraction layer. It man-
     33ages all the confi
     34guration data needed by BOINC, such as the user ID, the
     35authenticator string, but also the disk usage or the FLOPS of the host machine.
     36
     37!BoincLite source code and documentation are here:
     38{{{
     39svn co http://boinc.berkeley.edu/svn/trunk/BoincLiet
     40}}}
     41