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

how to incorporate hierarchical caching into dask? #118

Closed
mrocklin opened this issue Mar 31, 2015 · 2 comments
Closed

how to incorporate hierarchical caching into dask? #118

mrocklin opened this issue Mar 31, 2015 · 2 comments

Comments

@mrocklin
Copy link
Member

Migrated from mrocklin fork. Originally posted by @phrrngtn

[another feature request coming out of sidebar conversation with mrocklin]

apologies for the very half-baked suggestion. I have not worked with dask enough to identify clearly what it is that I think I want!

Use case: I want complicated dasks on immutable/append-only data to re-use previously computed results if they are available.

hierarchical means that dask sub-trees can be cached (not just the whole thing). OK with cache busting if the scheduler/optimizer picks a different tree. Assume that cache configuration has to be tied to the scheduler (i.e. the thing that runs the dask rather than the dask itself?)

@mrocklin
Copy link
Member Author

mrocklin commented Sep 4, 2015

This is mostly solved by cachey and #502 . This could still use actual use on real problems but, for the most part, this feels done.

@mrocklin mrocklin closed this as completed Sep 4, 2015
@phrrngtn
Copy link

phrrngtn commented Sep 4, 2015

great! I only just recently got my own 'expression tree rewriting' stuff
done: execute our Python-based internal DSL with what is essentially a
mocked out implementation and run a visitor on the tree to rewrite it to
the 'real' implementation. I will attempt a visitor that targets dasks and
cachey.

pjjH

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants