Commit graph

6555 commits

Author SHA1 Message Date
Jonas Bonér
f75dcdbd15 Full clustering circle now works, remote communication.
Added test for cluster communication.
Refactored deployment parsing.
Added InetSocketAddress to remote protocol.

Signed-off-by: Jonas Bonér <jonasremove@jonasboner.com>
2011-05-24 19:04:25 +02:00
Peter Veentjer
5fd10978d8 - added the InMemoryRawStorage (tests will follow) 2011-05-24 07:59:12 +03:00
Jonas Bonér
7f455fd92e removed duplicated NodeAddress 2011-05-23 23:48:25 +02:00
Jonas Bonér
96367d9575 Merge branch 'master' of github.com:jboner/akka 2011-05-23 22:35:15 +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
Peter Veentjer
694134090d - fixed the type problems. This time with a compile (since no tests currently are available for this code). 2011-05-23 21:17:33 +03:00
Peter Veentjer
e84a7cb5ea - disabled the functionality for the rawstorage, will inspect it locally. But at least the build will be running again. 2011-05-23 21:08:59 +03:00
Peter Veentjer
d25ca826fa Merge remote branch 'origin/master' 2011-05-23 20:04:42 +03:00
Peter Veentjer
27e9d71f76 - initial checkin of the storage functionality 2011-05-23 20:03:40 +03:00
Viktor Klang
556ee4b5e9 Added a default configuration object to avoid object allocation for the trivial case 2011-05-23 18:17:31 +02:00
Viktor Klang
39481f0a5f Adding a test to verify usage of TypedActor.self outside of a TypedActor 2011-05-23 18:10:57 +02:00
Viktor Klang
e320825137 Added some API to be able to wrap interfaces on top of Actors, solving the ActorPool for TypedActor dilemma, closing ticket #724 2011-05-23 17:08:45 +02:00
Viktor Klang
1f5a04c678 Adding support for customization of the TypedActor impl to be used when creating a new TypedActor, internal only, intended for things like ActorPool etc 2011-05-23 14:13:16 +02:00
Viktor Klang
19cf26b6a9 Rewriting one of the tests in ActorRegistrySpec not to use non-volatile global state for verification 2011-05-23 12:08:38 +02:00
Viktor Klang
3b8c39582a Adding assertions to ensure that the registry doesnt include the actor after stop 2011-05-23 11:59:17 +02:00
Viktor Klang
cf0970d277 Removing duplicate code for TypedActor 2011-05-23 11:54:41 +02:00
Viktor Klang
8a790b1ddf Renaming CompletableFuture to Promise, Renaming AlreadyCompletedFuture to KeptPromise, closing ticket #854 2011-05-23 11:31:01 +02:00
Viktor Klang
aa52486fdc Fixing erronous use of actor uuid as string in ActorRegistry, closing ticket #886 2011-05-23 11:27:02 +02:00
Jonas Bonér
7778c93c1c Added docs about setting JVM options and override akka.conf options to multi-jvm-testing.rst 2011-05-23 10:45:53 +02:00
Jonas Bonér
ef1bb9c9c2 removed ./docs 2011-05-23 10:22:12 +02:00
Peter Vlugter
ce69b25593 Add individual options and config to multi-jvm tests 2011-05-23 16:45:46 +12:00
Viktor Klang
d84a169747 Removing excessive allocations and traversal 2011-05-21 17:30:16 +02:00
Viktor Klang
00f837418f Reformatting and some cleanup of the Cluster.scala code 2011-05-21 16:55:32 +02:00
Viktor Klang
2f87da5dd4 Removing some boilerplate code in Deployer 2011-05-21 16:14:15 +02:00
Viktor Klang
e5035be5fa Tidying up some code in ClusteredActorRef 2011-05-21 15:55:15 +02:00
Viktor Klang
5f03cc5d87 Switching to a non-blocking strategy for the CyclicIterator and the RoundRobin router 2011-05-21 15:37:09 +02:00
Viktor Klang
e735b335fb Removing lots of duplicated code 2011-05-21 13:13:40 +02:00
Viktor Klang
70137b45e5 Fixing a race in CyclicIterator 2011-05-21 13:13:28 +02:00
Viktor Klang
50bf97bf54 Removing allocations and excessive traversals 2011-05-21 12:53:46 +02:00
Viktor Klang
3181905fed Renaming EBEDD to Dispatcher, EBEDWSD to BalancingDispatcher, ThreadBasedDispatcher to PinnedDispatcher and PEBEDD to PriorityDispatcher, closing ticket #784 2011-05-20 22:56:30 +02:00
Viktor Klang
1f024f1c9e Harmonizing constructors and Dispatcher-factories, closing ticket #807 2011-05-20 22:25:46 +02:00
Viktor Klang
476334bad7 Merge branch 'master' of github.com:jboner/akka 2011-05-20 20:47:27 +02:00
Viktor Klang
41a08237d9 Moved secure cookie exchange to on connect established, this means I could remove the synchronization on send, enabling muuuch more throughput, also, since the cookie isn`t sent in each message, message size should drop considerably when secure cookie handshakes are enabled. I do however have no way of testing this since it seems like the clustering stuff is totally not working when it comes to the RemoteSupport 2011-05-20 19:40:11 +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
763dfffa0b Changed creating ClusterDeployer ZK client on object creation cime rather than on 'init' method time 2011-05-20 15:16:26 +02:00
Jonas Bonér
b9a1d49999 Fixed problems with trying to boot up cluster through accessing Actor.remote when it should not 2011-05-20 15:04:21 +02:00
Jonas Bonér
19f6e6a469 Merge branch 'master' of github.com:jboner/akka 2011-05-20 14:36:54 +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
Viktor Klang
64c7107d8c Replacing hook + provider with just a PartialFunction[String,ActorRef], closing ticket #749 2011-05-20 13:56:47 +02:00
Viktor Klang
2f62d30b91 Fixing import shadowing of TransactionLog 2011-05-20 13:56:13 +02:00
Viktor Klang
5a9be1be06 Adding the migration guide from 0.10 to 1.0 closing ticket #871 2011-05-20 13:37:28 +02:00
Viktor Klang
cd3cb8cd57 Renaming akka.routing.Dispatcher to Router, as per ticket #729 2011-05-20 12:29:48 +02:00
Viktor Klang
f9a335ea13 Adding support for obtaining the reference to the proxy of the currently executing TypedActor, this is suitable for passing on a safe alternative to _this_ 2011-05-20 11:45:14 +02:00
Jonas Bonér
b95382c3e2 Merge branch 'wip-new-serialization' 2011-05-20 09:31:57 +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
Roland
4809b63fda fix bad move of CallingThreadDispatcherModelSpec 2011-05-19 23:08:39 +02:00
Roland
a48f6fdf90 add copyright headers 2011-05-19 21:34:21 +02:00
Viktor Klang
7955912593 Reverting use of esoteric character for field 2011-05-19 18:58:11 +02:00
Viktor Klang
e3daf11425 Removed some more boilerplate 2011-05-19 18:50:28 +02:00
Viktor Klang
1e5e46c089 Cleaned up the TypedActor coe some more 2011-05-19 18:31:22 +02:00