Great! Glad it cleared things up!

On Wed, Apr 9, 2014 at 3:06 PM, Jem <[email protected]> wrote:

> Your example worked just fine. I foolishly logged the result of the work
> as it arrived back at the controller and inferred incorrectly that where
> the log message appeared is where the work occurred. A simple and
> obvious-in-hindsight error.
>
> Thanks for your time!
>
>
> On 9 April 2014 19:08, Martynas Mickevičius <
> [email protected]> wrote:
>
>> So I forked your example project and added routee number tracking between
>> nodes. You can find it here:
>> https://github.com/2m/scratch-akka-cluster-singleton/tree/distributed
>>
>> When you start the first seed node with the *sbt "run-main
>> sample.cluster.simple.SimpleClusterApp 2551"* you will notice singleton
>> printing the message *[info] Worker router has no routees*, which means
>> that the *allowLocalRoutees* setting is honored.
>>
>> When you start another seed node you will start seeing *[info] Node with
>> port Some(2552) has 10 routees* which says that *maxInstancesPerNode* setting
>> is also being honored.
>>
>> If you start three more simple nodes you will start seeing:
>>
>> *[info] Node with port Some(45419) has 10 routees.*
>> *[info] Node with port Some(2552) has 10 routees.*
>> *[info] Node with port Some(52133) has 10 routees.*
>>
>> which tells us that *totalInstances* setting is also being honored.
>>
>> Can you run this example and see if you see what I see? :)
>>
>> Martynas Mickevičius
>> Typesafe – Reactive Apps on the JVM
>>
>> --
>> >>>>>>>>>> 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 a topic in the
>> Google Groups "Akka User List" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/akka-user/KMBzbh8lXZg/unsubscribe.
>> To unsubscribe from this group and all its topics, 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.
>>
>
>  --
> >>>>>>>>>> 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.
>



-- 
Martynas Mickevičius
Typesafe <http://typesafe.com/> –
Reactive<http://www.reactivemanifesto.org/>Apps on the JVM

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

Reply via email to