Workspace 7.0.2
|
Workspace can parallelise and distribute execution of a workflow.
Workspace workflows can be:
Depending on your situation, some of the above configurations may not be appropriate.
Below is a table summarising the applicability of the above mentioned parallelism scenarios based on your usage scenario:
Scenario | Shared Memory | Out of process | Workspace-server | Clustered |
---|---|---|---|---|
Your operation code is thread-safe (including any referenced third-party libraries) | Safe | Safe | Safe | Safe |
Your operation code is NOT thread-safe (or any referenced third-party libraries are NOT thread safe) | Not Safe | Safe | Safe | Safe |
If your Operation code (or code your Operation references) is not thread safe then you should opt to use a parallelism mode other than the default shared-memory mode. Failure to do so may result in the workflow failing to execute when parallelism is employed.
NB. In a future release this detail will be abstracted away by having an Operation author explicitly declare to the Workspace whether or not an Operation is thread-safe. Under such support an appropriate parallelism mode would be automatically selected by the Workspace's internal scheduling system.