question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ActorFuture roadmap

See original GitHub issue

Hi!

Currently ActorFutures are not really Futures, but just a caching mechanism. As explained here: https://distributed.dask.org/en/latest/actors.html#call-remote-methods,

They can’t be placed into additional submit or map calls to form dependencies.

For my use case, I want to have a dag, in which every part of the dag is persistent. So I need to pass the output of 1 part of the dag (=ActorFuture) as a parameter to the submit call of the next part. Unfortunately this is not possible yet. TypeError: ('Could not serialize object of type ActorFuture.', '<ActorFuture>') (I know in similar projects like Ray, this is possible). I was wondering if someone knows what the plans with Dask Actor(Future)s are? Will ActorFuture be fully featured Futures soon or…?

Thanks for helping! Pj

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
mrocklincommented, Aug 12, 2019

Yes, this work seems in scope. It’s challenging because the scheduler doesn’t keep track of ActorFutures. ActorFutures are intentionally not tracked by the scheduler because there can be many more of them (billions), so there would need to be some way to promote an ActorFuture into a normal future that didn’t affect the common case.

On Mon, Aug 12, 2019 at 9:29 AM Tom Augspurger notifications@github.com wrote:

@PidgeyBE https://github.com/PidgeyBE are you interested in working on this? Either way, can you provide a short code snippet demonstrating the issue?

Matt can correct me if I’m wrong, but it seems like it would be in scope since it fits with our handling of Future objects.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/dask/distributed/issues/2950?email_source=notifications&email_token=AACKZTF7OJPVXR3NOLOQTC3QEFQUZA5CNFSM4IK643B2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4CQ5PA#issuecomment-520425148, or mute the thread https://github.com/notifications/unsubscribe-auth/AACKZTAHU37FCFAWQSX3QK3QEFQUZANCNFSM4IK643BQ .

0reactions
TomAugspurgercommented, Jun 23, 2020

Not that I know of. Are you interested in working on it @jherreral?

Read more comments on GitHub >

github_iconTop Results From Across the Web

actix::fut::ActorFuture - Rust - Docs.rs
ActorFuture allows for use cases where future processing requires access to the actor or its context. Here is an example of a handler...
Read more >
Kai Lennox On The New Hulu Original Limited Series "The ...
Kai Lennox On The New Hulu Original Limited Series “The Girl From Plainville,” Finding Success As An Actor, Future Plans & More.
Read more >
When I Grow Up Certificates | Memory book kindergarten ...
Includes Future Doctor, Future Ballerina, Future Architect, Future Actor, Future Police Officer, Future Firefighter and more! ... Preschool Lesson Plans.
Read more >
Jussie Smollett: Actor's future remains uncertain after jail release
... County Jail surrounded by security, and his attorneys wouldn't say where the 39-year-old may be heading or what he plans to do...
Read more >
Keene Walker on Instagram: “#Premier #Oscarville Tomorrow ...
... to Bob Mackey and Team, I will be attending my 1st Premier as an Actor. Future. ... #SocialMediaGuru We had a Blast...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found