Greetings,
I have a question about the interaction of play and Akka in a cluster.
Assume I have an actor that sends asynchronous notifications over a web
socket using Atmosphere framework (yes I know akka can do web sockets but
this is legacy code). I have two use cases to support. First of all I need
to be able to send a message to only actors on the same node. Second I need
to be able to send messages that are to any actor on the cluster and are
load balanced with the cluster. I also need to not have to hardcode in the
IPs of the nodes in the cluster since the system grows and shrinks
dynamically due to load. Assuming I have an actor at actorPath and I use
the following, where would the message go and how can I implement both of
my use cases? Hopefully without a mountain of code.
Akka.system.actorSelection(actorPath).tell("hi", Actor.noSender)
Thanks in advance.
-- Robert
--
>>>>>>>>>> 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.