The problem is I need to have the actors running and from what I understand 
the sharding system doesn't start an actor until you actually pass a 
message to an actor with that id. They cant subscribe to the topic until 
they are started. Now I could have some mediator actor to start them but 
then I would have to know if the ID of the actor would end up on the 
current system. Otherwise I would be making a remote call anyway. 

On Wednesday, June 8, 2016 at 3:36:07 PM UTC-5, Rob Crawford wrote:
>
> As I recall, the distributed pub/sub sends a single message to each node, 
> then the message is distributed to the subscribers on those nodes. So it's 
> likely more efficient to use this method to ask the actors for their state. 
> More efficient both ways -- no million-iteration loop to generate the 
> messages, and no transmission of millions of messages.
>
>
>

-- 
>>>>>>>>>>      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 https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to