Changes between Version 13 and Version 14 of AssignedWork
- Timestamp:
- Jan 31, 2012, 11:37:59 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AssignedWork
v13 v14 14 14 Broadcast jobs are executed exactly once on a given host. 15 15 It the job fails for any reason, it is not retried. 16 Broadcast jobs are not handled by a [Validat eIntro validator[16 Broadcast jobs are not handled by a [ValidationIntro validator] 17 17 or [AssimilateIntro assimilator]. 18 18 You must develop your own daemon that processes completed broadcast jobs. 19 19 20 To enable broadcast jobs you mustadd20 To enable broadcast jobs, add 21 21 {{{ 22 22 <enable_assignment_multi>1</enable_assignment_multi> … … 38 38 39 39 * stop and start the project, or 40 * touch the file ''reread_db'' in the project directory 40 * touch the file ''reread_db'' in the project directory. 41 41 42 42 The '''assign.php''' script (in ops/) lets you manage broadcast jobs. 43 It shows a list of broadcast jobs and their status,44 and lets you remove broadcast jobs.45 43 46 44 == Targeted jobs == … … 60 58 Targeted jobs are validated and assimilated like other jobs. 61 59 They are not replicated; if the job fails on one host in the set, 62 it will be retried on another host in the set, and so on until it completes .60 it will be retried on another host in the set, and so on until it completes successfully. 63 61 64 To enable targeted jobs you mustadd62 To enable targeted jobs, add 65 63 {{{ 66 64 <enable_assignment>1</enable_assignment> … … 82 80 The second way is to transform an existing job into a targeted job. 83 81 This might be done, for example, as part of a system that accelerates 84 the completion of batches of jobs by sending the "stragglers" to dedicated hosts.82 the completion of batches of jobs by targeting the "stragglers" to dedicated hosts. 85 83 86 Currently th e only way to do this isvia a C++ API call,84 Currently this can be done only via a C++ API call, 87 85 and you can only target the job to a user. 88 86 The call is: