DiamondLightSource / DiamondLightSource/mx-bluesky

Saving snapshots to disk should not delay collection

Open
#335 1 comment 0 reactions 0 assignees View on GitHub
hyperion
Dominant language
Python
Stars
4
Forks
5
Avg merge
1d 30m
Merged PRs (30d)
2

Description

Due to recent GPFS issues saving snapshots to disk took >10s and so timed out Hyperion. To get round potential timeouts like this we should:

1. Take the snapshot and hold it in memory
2. Continue collection once this is done
3. Asynchronously write the snapshot to disk - including grid snapshots
4. It's ok for 3 to take a long time (~1/2 mins)

We still need to be able to take another snapshot whilst 3 is taking place without affecting the saving of the first images.

It may make sense to move to doing this in callbacks rather than the ophyd device.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.