OCR-D / zenhub

Repo for developing zenhub integration
Apache License 2.0
0 stars 0 forks source link

Native deployment management of Processing Broker #138

Closed tdoan2010 closed 1 year ago

tdoan2010 commented 1 year ago

The processing broker parses the configuration file and deploys necessary components (processors or a queuing system). The deployment of the processors is made natively (not via Docker).

This feature can be implemented in the following steps:

  1. ssh to the specified machine using the provided credentials.
  2. Assume that ocrd-all was installed in that machine, execute a shell command to start a processor as a consumer in the background.
  3. Save the process ID (PID) of the execution.
  4. Shutdown the processor later via its PID obtained earlier.

To start the processing broker, the CLI syntax would be:

$ ocrd processing-broker --address=<IP>:<PORT> <path-to-config-file>

After executing that command, an instance of a processing broker will be started and listen to the provided IP and port.

tdoan2010 commented 1 year ago
joschrew commented 1 year ago

Closed because it is available in ocrd_network in core