Changes between Version 6 and Version 7 of PythonAppDev
- Timestamp:
- Sep 20, 2007, 10:44:53 AM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TabularUnified PythonAppDev
v6 v7 63 63 == Implementation == 64 64 65 PyBOINC uses a new table, 'batch', which represents a group of jobs. 66 Its fields are: 67 * ID 68 * ID of user who submitted this batch 69 * path of 'batch directory' 70 65 71 PyBOINC uses the following files and subdirectories in the job directory: 66 72 … … 71 77 PyBOINC uses Python's [http://docs.python.org/lib/node317.html Pickler] class for serialization. 72 78 79 The PyBOINC setup script creates an application 'pyboinc'. 80 Its work units have two input files: a Python program, and a data file. 81 Its application runs a Python interpreter on the program file. 82 83 PyBOINC 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/ 73 86 74 87 Pseudocode for the various PyBOINC functions: … … 92 105 output = Pickler.load(x) 93 106 handle_result(output) 107 move x to old/ 94 108 else 95 109 sleep(1)