> 20 feb. 2017 kl. 12:51 skrev Alan Burlison <alan.burli...@gmail.com>:
> 
> On 20 February 2017 at 07:24, Roland Kuhn <goo...@rkuhn.info> wrote:
> 
>> There are two solutions: the pipeTo pattern, or not using Futures at all and
>> collecting the responses within a dedicated ephemeral actor.
> 
> What about the "blocking { ... }" construct?
> 
> http://www.cakesolutions.net/teamblogs/demystifying-the-blocking-construct-in-scala-futures
> 
> Probably best avoided if at all possible, though.

This is not a solution because it creates one new thread for every blocker.

Regards,

Roland

> 
> --
> Alan Burlison
> --
> 
> -- 
>>>>>>>>>>>     Read the docs: http://akka.io/docs/
>>>>>>>>>>>     Check the FAQ: 
>>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>>     Search the archives: https://groups.google.com/group/akka-user
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Akka User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to akka-user+unsubscr...@googlegroups.com.
> To post to this group, send email to akka-user@googlegroups.com.
> Visit this group at https://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to