-
Notifications
You must be signed in to change notification settings - Fork 39
Description
Hi i would like to know if this package support the Single Writer Multiple Reader (SWMR) in the same way as http://docs.h5py.org/en/stable/swmr.html
The SWMR features allow simple concurrent reading of a HDF5 file while it is being written from another process. Prior to this feature addition it was not possible to do this as the file data and meta-data would not be synchronised and attempts to read a file which was open for writing would fail or result in garbage data.
A file which is being written to in SWMR mode is guaranteed to always be in a valid (non-corrupt) state for reading. This has the added benefit of leaving a file in a valid state even if the writing application crashes before closing the file properly.
This feature has been implemented to work with independent writer and reader processes. No synchronisation is required between processes and it is up to the user to implement either a file polling mechanism, inotify or any other IPC mechanism to notify when data has been written.
The SWMR functionality requires use of the latest HDF5 file format: v110. In practice this implies using at least HDF5 1.10 (this can be checked via h5py.info) and setting the libver bounding to “latest” when opening or creating the file.
If is not included... is it planned to be developed?
Thanks