The problem we are facing right now is how to get the IP for node instance 
running inside CF since the IP is dynamically generated. 
Another question: is it possible to run Actor instance in difference node?

for example:
final Config config = 
ConfigFactory.parseString("akka.remote.netty.tcp.port=" + port).
withFallback(ConfigFactory.parseString(""akka.remote.netty.tcp.hostname=" + 
hostname")).
withFallback(ConfigFactory.parseString("akka.cluster.roles = [backend]")).
withFallback(ConfigFactory.load());

ActorSystem system = ActorSystem.create("example", config);
ActorRef backend = system.actorOf(Props.create(ActorExample.class, 
customers, chunk), "backend");


Can I create different ActorExample instance in different nodes? 

Thanks a lot!
Yan

On Monday, April 4, 2016 at 12:17:25 PM UTC-5, Yan Pei wrote:
>
> If we want to deploy our AKKA application to CF with CF's load balancer, 
> should we configure the locad balancer ip in side our AKKA 
> application.conf? How do we dynamically configure ip address for seed-nodes?
>
> Thanks for any inputs!
>
> Emily
>

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