On Sat, Sep 12, 2015 at 8:15 PM, kraythe <[email protected]> wrote: > Because they rely on waiting some amount of time for something to come > back from elsewhere and that means that you tie up the actor while you are > waiting. >
I think others have covered this reasonably well, but this is the crux of the confusion: ask() and Future specifically do *not* block unless you're misusing them. Indeed, that's the whole point of the ask() approach. Basically, so long as you avoid Await (which is almost always dangerous), they scale very well. I think you've gotten some misinformation from somewhere. (If you happen to recall where, a link would be helpful so folks can make a correction...) -- >>>>>>>>>> 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
