Hi Mike,

ClusterSingletonManager has parameters that can be reduced when testing,
maxHandOverRetries, maxTakeOverRetries, retryInterval.

Cluster config settings that you can try to reduce:
akka.cluster {
  jmx.enabled = off
  gossip-interval = 200 ms
  leader-actions-interval = 200 ms
  unreachable-nodes-reaper-interval = 500 ms
  periodic-tasks-initial-delay = 300 ms
  failure-detector.heartbeat-interval = 500 ms
}

However, I would not go over board with these things, since then it might
not test the real thing.

Cheers,
Patrik



On Mon, Apr 14, 2014 at 5:00 PM, Michael Kohout <[email protected]> wrote:

> Hi-
>
> So I've got an application that lives in a small cluster.  Some of our
> tests assert the correct behavior within a single JVM cluster we create in
> the test setup.  While the tests are doing what we want, each test can take
> several minutes to run because of the cluster/singleton setup.  Is there
> any way to speed up the communication between cluster members?  Is there
> any Transport that currently exists to handle the use case of a single JVM
> cluster?
>
> thanks
> Mike
>
> --
> >>>>>>>>>> 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.
>



-- 

Patrik Nordwall
Typesafe <http://typesafe.com/> -  Reactive apps on the JVM
Twitter: @patriknw
JOIN US. REGISTER TODAY! <http://www.scaladays.org/>
Scala <http://www.scaladays.org/>
Days <http://www.scaladays.org/>
June 16th-18th, <http://www.scaladays.org/>
Berlin <http://www.scaladays.org/>

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