The implementation is pretty much the same. I wouldn’t be worried about performance for ask, but tell is in general a better fit for actor to actor communication.
/Patrik ons 22 nov. 2017 kl. 07:37 skrev Evgeny Veretennikov < evg.veretenni...@gmail.com>: > Classic Akka Untyped docs says: > > There are performance implications of using ask since *something needs to > keep track of when it times out, there needs to be something that bridges a > Promise into an ActorRef and it also needs to be reachable through remoting*. > So always prefer tell for performance, and only ask if you must. > > It's obvious, that typed ask needs something to keep tracking timeouts and > to bridge Promise into ActorRef. But there is no info in docs about typed > ask components being reached through remoting. So, does typed ask pattern > create actor that needs to be reachable through remoting too? > -- >>>>>>>>>> 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.