Commit graph

24 commits

Author SHA1 Message Date
Patrik Nordwall
405f34cc53 maven exec plugin doesn't have to be added to pom.xml 2013-03-22 17:22:06 +01:00
Patrik Nordwall
7eac88f372 Cluster node roles, see #3049
* Config of node roles cluster.role
* Cluster router configurable with use-role
* RoleLeaderChanged event
* Cluster singleton per role
* Cluster only starts once all required per-role node
  counts are reached,
  role.<role-name>.min-nr-of-members config
*  Update documentation and make use of the roles in the examples
2013-03-18 11:56:11 +01:00
Viktor Klang
0fea7ed68a Adding some cuban sigar 2013-03-04 13:44:50 +01:00
Patrik Nordwall
679c4d313d Support restart of first seed node, see #2854
* Try to first join other seed nodes before joining itself
2013-02-21 20:40:13 +01:00
Endre Sándor Varga
c4abbd95bd Updated documentation to reflect changes in remoting 2013-02-10 13:00:30 +01:00
Patrik Nordwall
938cf7126b Send ChildTerminated before Terminated when AddressTerminated, see #2983
* Replaces the previous half-baked removeChildWhenToAddressTerminated
2013-01-31 13:36:46 +01:00
Patrik Nordwall
0c38a76c37 Cluster singleton actor pattern, see #2895
* ClusterSingletonManager
* ClusterSingletonManagerSpec multi-node test
* Use in cluster router with single master sample
* Extensive logging to be able to understand what is
  going on
* Java api
* Add cluster dependency to contrib
* Add contrib dependency to sample
* Scaladoc
* rst docs in contrib area, ref from cluster docs
2013-01-25 14:00:28 +01:00
Patrik Nordwall
d07f331e78 Publish InstantMemberEvent immediately, see #2803 2013-01-14 19:13:48 +01:00
Patrik Nordwall
44ab9f116f min-nr-of-members and registerOnMemberUp, see #2306
* Leader moves joining members to up when min-nr-of-members reached
* Tested by MinMembersBeforeUpSpec
* Used in factorial sample
* Docs
2012-12-12 14:00:06 +01:00
Patrik Nordwall
cd0fa5aee2 Merge pull request #927 from akka/wip-2018-cluster-jmx-tests-patriknw
Tests for the Cluster JMX API, see #2018
2012-12-06 07:48:31 -08:00
Patrik Nordwall
a51ba967d9 Merge pull request #924 from akka/wip-misc-docs-patriknw
Misc docs
2012-12-06 06:36:24 -08:00
Patrik Nordwall
1df787d0c5 Incorporate review comments and cleanup isAvailable, see #2018
* Renamed isRunning to isTerminated (with negation of course)
* Removed Running from JMX API, since the mbean is deregistered anyway
* Cleanup isAvailable, isUnavailbe
* Misc minor
2012-12-06 15:26:57 +01:00
Patrik Nordwall
a7b7ab040d Tests for the Cluster JMX API, see #2018
* MBeanSpec
* Added Members and Unreachable to JMX API
* Removed Convergence from JMX API, because it will
  not be exposed when ticket #2692 is merged
* Updated documentation and akka-cluster script
2012-12-06 10:59:09 +01:00
Patrik Nordwall
6a26dda6f7 DOCS: tick-duration.tick-duration, see #2748 2012-12-05 12:58:48 +01:00
Patrik Nordwall
1673ccd51c Load Cluster extension from ClusterActorRefProvider, see #2704 2012-12-04 17:54:17 +01:00
Patrik Nordwall
4761feb071 Merge pull request #858 from akka/wip-2547-metrics-router-patriknw
AdaptiveLoadBalancingRouter and refactoring of metrics, see #2547
2012-11-30 23:37:30 -08:00
Patrik Nordwall
b06b0fa087 DOC: Formatting issues, see #2723
(cherry picked from commit 15abee84875cdb534056986b9172a38b57d24d92)
2012-11-22 17:23:18 +01:00
Patrik Nordwall
5d874fec17 Incorparate more review feedback, see #2547
* negative double check
* correction of cluster specification
* add isEmpty in WeightedRoutees
2012-11-16 12:34:21 +01:00
Patrik Nordwall
5eec693fd0 Incorparate review feedback, see #2547
* case object and case class for MixMetricsSelector
* Rename decay-half-life-duration to moving-average-half-life
* Clarification of decay-half-life-duration and collect-interval
* Removed Fields, Java compatibility issue
* Adapt for-yield variables
* Comment metrics collector constructor that takes system param
* Don't copy EWMA if not needed
* LogOf2 constant 0.69315
* Don't use mapValues
* Remove RichInt conversion
* sigar version replace tag in docs
* createDeployer factory method to make it possible to override
  deployer in subclass
* Improve readability of MetricsListener (in sample)
* Better startup of factorial sample (no sleep)
* Many minor enhancements and cleanups
2012-11-16 11:03:20 +01:00
Patrik Nordwall
dcde7d3594 AdaptiveLoadBalancingRouter and more refactoring of metrics, see #2547
* Refactoring of standard metrics extractors and data structures
* Removed optional value in Metric, simplified a lot
* Configuration of EWMA by using half-life duration
* Renamed DataStream to EWMA
* Incorporate review feedback
* Use binarySearch for selecting weighted routees
* More metrics selectors for the router
* Removed network metrics, since not supported on linux
* Configuration of router
* Rename to AdaptiveLoadBalancingRouter
* Remove total cores metrics, since it's the same as jmx getAvailableProcessors,
  tested on intel 24 core server and amd 48 core server, and MBP
* API cleanup
* Java API additions
* Documentation of metrics and AdaptiveLoadBalancingRouter
* New cluster sample to illustrate metrics in the documentation,
  and play around with (factorial)
2012-11-14 15:08:30 +01:00
Viktor Klang
e6d54b59ac #2623 - Adding a @github@ substitution for links to github, as well as adding a pointer as to where to find the example code for the docs. 2012-10-22 11:14:22 +02:00
Patrik Nordwall
94eaeca3a7 Mavenize java akka-sample-cluster 2012-10-16 11:03:43 +02:00
Patrik Nordwall
c959d4a973 Incorporate feedback, see #2502 2012-10-05 08:17:54 +02:00
Patrik Nordwall
3e0e5f8473 Java version of Cluster usage documentation, see #2502
* Created separate java and scala rst chapters
* Converted the 3 cluster samples to java
* Everything tested manually, and with new multi-node tests
2012-10-04 14:16:11 +02:00