Skip to content

Safe HDF5 parallel access #9641

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

Closed
toobaz opened this issue Mar 13, 2015 · 4 comments
Closed

Safe HDF5 parallel access #9641

toobaz opened this issue Mar 13, 2015 · 4 comments
Labels
Docs IO HDF5 read_hdf, HDFStore

Comments

@toobaz
Copy link
Member

toobaz commented Mar 13, 2015

Is something like this is worth including in pandas (although it will not work i.e. in Windows)?

If yes, I will put together a PR (also supporting Python2).

(I could also implement a platform independent alternative... but locking would not be atomic, so race conditions would be possible - although improbable)

@jreback
Copy link
Contributor

jreback commented Mar 13, 2015

You can add this as a link to the SO question in the cookbook. Doing this is quite dangerous, and the user should know exactly what they are doing.

@jreback jreback closed this as completed Mar 13, 2015
@jreback jreback added IO HDF5 read_hdf, HDFStore Docs labels Mar 13, 2015
@toobaz
Copy link
Member Author

toobaz commented Mar 13, 2015

OK (by "dangerous" you mean if you mix the "safe" and the "standard" approach, or something else I'm missing?)

@jreback
Copy link
Contributor

jreback commented Mar 13, 2015

I mean 'advanced' / 'magical', meaning that if the user doesn't understand what they are doing they get the impression that you CAN write in parallel to HDF5, which is a very-very bad idea (your serialization strategy is fine though), but this is not something pandas should enforce. In theory I agree with you, but I don't think pandas can/should really support this kind of enforcement.

@jreback
Copy link
Contributor

jreback commented Mar 13, 2015

all that said am happy with a cookbook link. Something like this might be supportable in blaze

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Docs IO HDF5 read_hdf, HDFStore
Projects
None yet
Development

No branches or pull requests

2 participants