08.02.2013 Views

New Statistical Algorithms for the Analysis of Mass - FU Berlin, FB MI ...

New Statistical Algorithms for the Analysis of Mass - FU Berlin, FB MI ...

New Statistical Algorithms for the Analysis of Mass - FU Berlin, FB MI ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

138 CHAPTER 5. COMPUTER SCIENCE GRID STRATEGIES<br />

list that has been loaded is flagged with a “load success” flag. Similarly,<br />

each data element in <strong>the</strong> database is also flagged with a “restored” flag.<br />

4. After <strong>the</strong> core data list has been traversed <strong>the</strong> worker checks whe<strong>the</strong>r all<br />

elements in <strong>the</strong> list have set <strong>the</strong> “load success” flag and all elements at <strong>the</strong><br />

database have set <strong>the</strong> “restored” flag. If this check fails, <strong>the</strong> migration is<br />

terminated and <strong>the</strong> migration table record is updated setting <strong>the</strong> state<br />

to “migration failed” including a reference to <strong>the</strong> worker that failed <strong>the</strong><br />

data transmission.<br />

5. If <strong>the</strong> check succeeds <strong>the</strong> migration table record is updated setting <strong>the</strong><br />

state to “migration successful” and migration data at <strong>the</strong> database is<br />

deleted.<br />

6. Prior to <strong>the</strong> actual computation <strong>the</strong> worker checks whe<strong>the</strong>r all required<br />

data - <strong>for</strong> example spectra that might have been references - is available<br />

locally and possibly requests and loads missing data.<br />

7. Finally, <strong>the</strong> worker needs to continue at <strong>the</strong> algorithmic entry point<br />

where computation continues.<br />

5.5 QAD Grid Plat<strong>for</strong>m Services<br />

A service in <strong>the</strong> QAD Grid plat<strong>for</strong>m refers to ei<strong>the</strong>r a particular computational<br />

service (such as peak picking or converting data <strong>for</strong>mats) or a system service<br />

(such as workflow execution/control or restarting <strong>of</strong> unstable workers). A<br />

service consists <strong>of</strong> three components:<br />

� The service specification (registration) at <strong>the</strong> QAD Grid server that describes<br />

<strong>the</strong> identification string (see section 5.3.3) and <strong>the</strong> parameters<br />

needed to define a task <strong>for</strong> this service.<br />

� An implementation <strong>of</strong> a worker able to handle tasks <strong>of</strong> this service.<br />

� Some method to create new tasks <strong>of</strong> this service and submit <strong>the</strong>m to <strong>the</strong><br />

QAD Grid’s job queue (see section 5.3.3).<br />

In <strong>the</strong> QAD Grid system users can create <strong>the</strong>ir own (non-system) services<br />

by registering this service and developing an individual worker that can handle<br />

this particular type <strong>of</strong> task using <strong>the</strong> QAD Grid design principles (see section<br />

5.4.1). A new service can also be fully integrated into <strong>the</strong> QAD Grid which enables<br />

central administration (<strong>for</strong> example worker injections, see section 5.3.3).<br />

Once registered, a service is available within <strong>the</strong> QAD Grid and tasks <strong>of</strong><br />

this type can be submitted which can be requested and handled by workers.<br />

5.5.1 Service Registration<br />

The registration process <strong>of</strong> a new service announces <strong>the</strong> new type at <strong>the</strong> QAD<br />

Grid servers and defines its input and output, important <strong>for</strong> <strong>the</strong> usage in<br />

workflows (see section 5.6). It consists <strong>of</strong> <strong>the</strong> following steps:<br />

1. Through a web-based <strong>for</strong>m a registered user can request a new service<br />

by entering detail in<strong>for</strong>mation about <strong>the</strong> service. This includes a general<br />

description and a unique identification string <strong>of</strong> this service. This

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!