Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2024.2 #68

Merged
merged 3 commits into from
Feb 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,17 @@ Dahu: Data Analysis RPC server over Tango
Software chunks initially developped for **ID02 upgrade program** in 2012-2014.

Dahu is a lightweight plugin based framework...
... technically a JSON-RPC server over Tango
... technically a JSON-RPC server over Tango:

* plugins can be class or can be generated from any state-less function written in Python
* a plugin is executed within a job, each job lives in its own thread.
* plugins have empty constructors plus 4 methods (or more)

- `setup` allows to set the input parameters. Sanitization is performed here.
- `process` does the work.
- `teardown` sets the output, the logging and cleans up (if needed).
- `abort` can be used to stop the processing if a plugin is a daemon.

* the job is responsible for serializing on disk of the plugin's input and output
* jobs can be launched using the tango interface (or other ...)
* plugins have a single input and output, they are simple JSON-serializable dictionaries.
Expand Down
Loading