Skip to content

Dynamically adjusting priority via Futures #1753

Open
@jakirkham

Description

@jakirkham

Basically copied from this comment in PR ( #1651 ). Also related to issue ( dask/dask#2860 ).

One thing that would be nice is to be able to propagate priority changes from Futures themselves. Namely if one tries to call result, it would be good to bump the priority. Maybe this could be configurable if not generally desirable.

To provide an example use case, imagine one has a Dask object (Array, Dataframe, etc.) and has called persist on the object. Then one wants to inspect a small piece of it while the computation proceeds. So they select out that piece and call compute. It would be good if this already was interpreted as the user wanting this piece of the result sooner than the rest. That way the user can play with this piece as the rest of the computation completes. If needed, this process can be repeated with other pieces.

cc @mrocklin @p-himik

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementImprove existing functionality or make things work better

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions