From 1290022155b5b934b7d5fb7d34db9da355eeaffb Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Wed, 20 Apr 2022 13:53:09 +0200 Subject: [PATCH] Update design document with latest decisions --- design/lib-based.md | 9 --------- design/library-based-dora-design.drawio.svg | 4 ---- 2 files changed, 13 deletions(-) delete mode 100644 design/lib-based.md delete mode 100644 design/library-based-dora-design.drawio.svg diff --git a/design/lib-based.md b/design/lib-based.md deleted file mode 100644 index 67dd3b50..00000000 --- a/design/lib-based.md +++ /dev/null @@ -1,9 +0,0 @@ -# Library-Based Design - -![design diagram](library-based-dora-design.drawio.svg) - -## Light-weight Operators - -Each operator is a separate, isolated process. This is for example useful for security-critical operators (isolation is important), resource-heavy operators (resources can be pinned to processes), or operators which need maximal control (e.g. for complex input rules). However, running each operator has a separate executable also has some drawbacks. For example, the isolation between operators comes with some overhead and not all features of dora are usable (e.g. no real-time support). For this reason, dora also supports so-called _light-weight_ operators, organized into operators groups. - -Light-weight operators are cooperative, library-based components that are executed by a dora runtime process. Multiple formats are supported for light-weight operators, for example they can be implemented as a Python object, a WebAssembly module, or a traditional C-compatible shared library. The dora runtime links multiple light-weight operators (of the same operator group) together and executes them from a single, multi-threaded process. The full set of dora's features are available for light-weight operators, for example priority scheduling or native deadline support. diff --git a/design/library-based-dora-design.drawio.svg b/design/library-based-dora-design.drawio.svg deleted file mode 100644 index 9c0e078b..00000000 --- a/design/library-based-dora-design.drawio.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - -
Coordinator
Coordinator
Dataflow layout (YAML)
Dataflow layout...
Cluster Management
Cluster Manag...
Monitoring
Monitoring
CLI
CLI
Machine 1
Machine 1
Source Operator
Source Operat...
Operator
 B
Operator B
Machine 2
Machine 2
Sink Operator
Sink Operator
Operator
 A
Operator A
launches and initializes operators
launches and initializes operators
Dora Library (Rust)
Dora Library...
Dora Library (Python)
Dora Library...
Dora Library (C++)
Dora Library...
Dora Library (WASM)
Dora Library...
Communication Layer (e.g. zenoh)
Communication Layer (e.g. zenoh)
Text is not SVG - cannot display
\ No newline at end of file