Closed prjemian closed 2 years ago
Coarse discussion concluded that latencies might be reduced by factors of 2-5 but BDP is interested in workflows that execute on time scales faster (than workflow3) by orders of magnitude. This means that a workflow based on one acquisition yielding one image file and one analysis will not scale to much faster. We need to switch to a streaming workflow model that avoids file-writing bottlenecks (one of the biggest latencies).
@sveseli Can you identify the delays added in the DM workflow for the M4 demonstration? Can we control (reduce) any of them?
All of those items below are related to the file-based processing:
Factors related to 03-workflow (workflow was presented at M4 meeting)
Bluesky-queueserver process monitor
Data acquisition algorithm
Each acquisition step waits for workflow to process and deliver analysis.
Summary:
At the M4 demonstration of workflow 3 (fully autonomous peak centering), the demo was slow. Describe the sources of latency and what can be done to reduce each. Demonstrate if possible or practical.