(I'm not clear if you have N singletons, that they all reside on the same node
though?)
Yes, unless you give tell some of them to be on a specific role.
As seen inĀ
http://doc.akka.io/docs/akka/current/scala/cluster-singleton.html#An_Example
-- Konrad
--
>> Read the docs:
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
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
wrote:
> I have a few cluster singletons.
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