| | 5 | |
| | 6 | == Wokflow == |
| | 7 | 1. download source data |
| | 8 | 2. do data processing |
| | 9 | 3. package results |
| | 10 | 4. move packages to repository |
| | 11 | 5. update packages in repository & update manifest |
| | 12 | |
| | 13 | === Sequential === |
| | 14 | The initial repository implementation will run all the steps in order. |
| | 15 | |
| | 16 | === Parallel === |
| | 17 | As most modern systems have at least two independent CPU cores, the repository should parallelize as many operations as possible. |
| | 18 | |
| | 19 | Parallel workflow: |
| | 20 | 1. download source data - single downloading thread (due to Geofabrik download slot limitations) |
| | 21 | 2. do data processing - multiple threads possible |
| | 22 | 3. package results - multiple packagers |
| | 23 | 4. move & publish - single publishing thread (as this is most probably IO bound) |
| | 24 | 1. move packages to repository |
| | 25 | 2. update packages in repository & update manifest |
| | 26 | |
| | 27 | |