Commit graph

13 commits

Author SHA1 Message Date
Patrik Nordwall
d552e06a07 Add deploy-on-own-node setting for cluster router, see #2103
* Useful for master-worker scenario where all routees are remote.
2012-09-07 12:07:41 +02:00
Patrik Nordwall
ae3b4ab8b7 Test cluster router deployment config 2012-08-30 13:41:01 +02:00
Jonas Bonér
5a04095c6b Added multi-jvm test for ClusterDeployer 2011-06-27 08:51:54 +02:00
Viktor Klang
21fe2055f6 Removing deprecation warnings 2011-06-04 16:00:14 -07:00
Jonas Bonér
e6fa55b3a8 - Changed implementation of Actor.actorOf to work in the the new world of cluster.ref, cluster.use and cluster.store.
- Changed semantics of replica config. Default replicas is now 0. Replica 1 means one copy of the actor is instantiated on another node.
- Actor.remote.actorFor/Actor.remote.register is now separated and orthogonal from cluster implementation.
- cluster.ref now creates and instantiates its replicas automatically, e.g. it can be created first and will then set up what it needs.
- Added logging everywhere, better warning messages etc.
- Each node now fetches the whole deployment configuration from the cluster on boot.
- Added some config options to cluster

Signed-off-by: Jonas Bonér <jonasremove@jonasboner.com>
2011-05-25 16:18:35 +02:00
Jonas Bonér
ddb2a69c19 Moved ClusterNode interface, NodeAddress and ChangeListener into akka-actor as real Trait instead of using structural typing.
Refactored boot dependency in Cluster/Actor/Deployer.
Added multi-jvm test for testing clustered actor deployment, check out as LocalActorRef and ClusterActorRef.

Signed-off-by: Jonas Bonér <jonasremove@jonasboner.com>
2011-05-23 22:35:01 +02:00
Jonas Bonér
cd18e72342 Fixed issues with 'ClusterNode.use(address): ActorRef'.
Various other fixes and minor additions.

Signed-off-by: Jonas Bonér <jonasremove@jonasboner.com>
2011-05-20 17:13:39 +02:00
Jonas Bonér
f0be165a07 Refactored and changed boot of Cluster and ClusterDeployer.
Fixed problems with ClusterDeployerSpec and ClusterMultiJvmSpec.
Removed all akka-remote tests and samples (needs to be rewritten later).
Added Actor.cluster member field.
Removed Actor.remote member field.

Signed-off-by: Jonas Bonér <jonasremove@jonasboner.com>
2011-05-20 14:36:26 +02:00
Jonas Bonér
b63709d82c Removed typeclass serialization in favor of reflection-based.
Removed possibility to create multiple ClusterNode, now just one in Cluster.node.
Changed timestamp format for default EventHandler listener to display NANOS.
Cleaned up ClusterModule in ReflectiveAccess.

Signed-off-by: Jonas Bonér <jonasremove@jonasboner.com>
2011-05-20 09:08:11 +02:00
Jonas Bonér
a7311c83e6 Added Scalariform sbt plugin which formats code on each compile. Also checking in reformatted code 2011-05-18 17:25:30 +02:00
Jonas Bonér
962ee1ebba Added docs for durable mailboxes, plus filtered out replication tests 2011-05-17 16:34:07 +02:00
Jonas Bonér
7cf3d0876d Added tests for usage of cluster actor plus code backing the test.
Added more cluster API to ReflectiveAccess.
Plus misc refactorings and cleanup.
2011-05-17 11:05:09 +02:00
Jonas Bonér
bd5cc53235 Clustered deployment in ZooKeeper implemented. Read and write deployments from cluster test passing. 2011-05-03 21:04:45 +02:00