Workflow and Workflow group Lifecycle
- 22 Feb 2022
- 1 Minute to read
- Print
- DarkLight
- PDF
Workflow and Workflow group Lifecycle
- Updated on 22 Feb 2022
- 1 Minute to read
- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
A workflow is specified, deployed, and executed using the following sequence of steps:
- Develop filters in supported programming languages (Java, Python, Python-with-Tensorflow) or encapsulate an executable or a docker container.
Note that ‘development’ typically refers to just the packaging of existing processing module implementations, as-is or with minimal wrapper code. - Upload the filter implementation packages to Maven, pip and docker repositories respectively for Java, Python and docker filters.
- Write YAML specifications for filters and filter graphs.
- Write YAML specifications for one or more workflows to connect filter graphs to source and destination containers.
- Upload YAML specifications into the Akridata System using the AkriManager UI. This step does a validation of dependencies across YAML specifications, and adds the corresponding filters, filter graphs, and workflows into the Library described above so they are available for future reuse.
- Deploy one or more workflows onto physical or soft edge clusters. The same workflow in the library can be deployed to multiple edge clusters.
- Trigger workflow execution in one of the following ways:
- Asynchronously, e.g., as a result of a media insertion operation performed by an Operator user using the Operator App at a physical edge location; or
- Synchronously, e.g., using the AkriManager UI or invoking an API for soft edge processing
- Execute the workflow, which produces meta-data records and blobs, and data objects.
- If use case requires workflow groups then
- upload a workflow group YAML specification on the Akrimanager UI.
- Deploy workflow group onto clusters that are referred to in the workflow group specification.
- Trigger workflow group initiation and execution of workflows
- Asynchronously, e.g., as a result of registering a disk group on the operator app followed by media insertion operation performed by an Operator user using the Operator App at a physical edge location; or
- Synchronously, e.g., using the AkriManager UI or invoking an API for soft workflow group processing
Was this article helpful?