Changes between Version 6 and Version 7 of PythonAppDev


Ignore:
Timestamp:
Sep 20, 2007, 10:44:53 AM (17 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PythonAppDev

    v6 v7  
    6363== Implementation ==
    6464
     65PyBOINC uses a new table, 'batch', which represents a group of jobs.
     66Its fields are:
     67 * ID
     68 * ID of user who submitted this batch
     69 * path of 'batch directory'
     70
    6571PyBOINC uses the following files and subdirectories in the job directory:
    6672
     
    7177PyBOINC uses Python's [http://docs.python.org/lib/node317.html Pickler] class for serialization.
    7278
     79The PyBOINC setup script creates an application 'pyboinc'.
     80Its work units have two input files: a Python program, and a data file.
     81Its application runs a Python interpreter on the program file.
     82
     83PyBOINC uses the following daemons:
     84 * validator: uses the sample bitwise validator
     85 * assimilator: uses a variant of sample_assimilator.  Given a completed result, it looks up the batch record, then copies the output file to BATCH_DIR/new/
    7386
    7487Pseudocode for the various PyBOINC functions:
     
    92105            output = Pickler.load(x)
    93106            handle_result(output)
     107            move x to old/
    94108        else
    95109            sleep(1)