Open kba opened 1 year ago
I think the Deployer agent should be separated by the Processing Server in the OCR-D System Architecture. On an implementation level, it is already separated. Makes the code easier to follow.
The deployer can now skip deployment of the database and queue, but not of the workers themselves, and we do not have deployment endpoints yet.
The Workflow Server can then start/stop the METS Servers for each workspace through the Deployer.
For the HPC environment, the batch script used to trigger the Nextflow workflow can be used to start the METS Server before triggering the workflow, and stop it after the workflow finishes.
Both use-cases are valid for external control of the METS Server lifetime.
But also for the Processing Server itself, internally, if processing requests are split up into single pages or subranges of pages, spawning a METS Server temporarily (if not already running) would make sense.
Using the METS Server as a synchronization mechanism could also be an option to implement #1046 – at least, these goals are related.
@bertsky:
@tdoan2010:
@bertsky:
@MehmedGIT:
@bertsky:
@MehmedGIT: