Re: [akka-user] Caching akka futures - is it ok?

2015-05-28 Thread Justin du coeur
What do you mean by "cache" here? A Future is mostly a Future -- I don't have any reason to believe there is anything weird about the Futures from ask -- but I'm not clear what your cache is... On Wed, May 27, 2015 at 4:48 PM, Moiz Raja wrote: > I have a piece of code where I make a request to

[akka-user] Caching akka futures - is it ok?

2015-05-27 Thread Moiz Raja
I have a piece of code where I make a request to an actor using ask and cache the resulting future if that ask was successful. I am seeing problems in this area where when I try to access that "completed" future later on I find (a) that it does not contain a successful future and (b) the resulti