DistributedData replicates everything to all nodes, so that can be the
reason. You have to use cluster node roles there also.

/Patrik
tis 21 feb. 2017 kl. 22:16 skrev Steve Winfield <
[email protected]>:

> Well, I'm using Akka Distributed Data on both the player and room service
> with different keys.
>
> Player service:
>
> val replicator = DistributedData(context.system).replicator
> val DataKey = LWWMapKey[Player]("player")
>
>
> When the player service receives a "GetPlayer" message, it fetches the
> player from the database and puts it into the distributed map.
>
> Room service:
>
> val replicator = DistributedData(context.system).replicator
> val DataKey = LWWMapKey[Room]("room")
>
>
> Could this be the reason? If so, is it avoidable?
>
> Cheers,
>
> --
> >>>>>>>>>> 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.
>

-- 
>>>>>>>>>>      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