Okay, I was starting to pursue just asking which node in the cluster was
the oldest.  Seems like the singletons ought to migrate to that node?

(I'm not clear if you have N singletons, that they all reside on the same
node though?)


On Tue, May 17, 2016 at 4:47 PM, Justin du coeur <jduco...@gmail.com> wrote:

> I suspect the most straightforward way to do this is to send a message to
> the singleton and ask it which node it's living on.  Granted, that makes
> the test a bit less black-box...
>
> On Tue, May 17, 2016 at 4:29 PM, Steve Rehrauer <steve.rehra...@gmail.com>
> wrote:
>
>> I have a few cluster singletons.
>>
>> One in particular can hold a fair bit of state.
>>
>> While doing load-tests, I want a way to discover which node's heap use is
>> contributed to by that singleton.
>>
>> Is there a programmatic way to, from a sequence of the cluster nodes and
>> the singleton's proxy actor reference, discover which of those nodes the
>> singleton resides on?
>>
>> (I'd prefer not to be parsing actor paths to do this.  Was hoping there
>> was an Akka equivalent of node.address for an actor ref for the proxy,
>> something like actor.node.address.)
>>
>> --
>> >>>>>>>>>> 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 akka-user+unsubscr...@googlegroups.com.
>> To post to this group, send email to akka-user@googlegroups.com.
>> 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 a topic in the
> Google Groups "Akka User List" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/akka-user/35Y3qNj_4eY/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> akka-user+unsubscr...@googlegroups.com.
> To post to this group, send email to akka-user@googlegroups.com.
> 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 akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
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