Jonas Bonér
978cbe4437
Change the package name of all classes in remote module to 'akka.remote'.
...
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-09-20 22:08:38 +02:00
Jonas Bonér
8e4bcb304a
Moved remoting code into akka-cluster.
...
Removed akka-remote.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-06-23 18:15:47 +02:00
Viktor Klang
0b1174fff9
Fixing mem leak in NettyRemoteSupport.unregister
2011-06-17 12:04:17 +02:00
Jonas Bonér
04bf416ead
Merge branch 'master' into pluggable-serializer
2011-06-14 14:41:24 +02:00
Roland
ca592ef1b4
Merge branch 'master' of github.com:jboner/akka
...
Conflicts:
akka-actor/src/main/scala/akka/actor/Actor.scala
akka-actor/src/main/scala/akka/actor/ActorRef.scala
akka-actor/src/main/scala/akka/actor/TypedActor.scala
akka-cluster/src/main/scala/akka/cluster/ClusterActorRef.scala
akka-cluster/src/main/scala/akka/cluster/ReplicatedClusterRef.scala
akka-durable-mailboxes/akka-mailboxes-common/src/main/scala/akka/actor/mailbox/DurableDispatcher.scala
akka-testkit/src/test/scala/akka/testkit/TestActorRefSpec.scala
akka-tutorials/akka-tutorial-second/src/main/java/akka/tutorial/java/second/Pi.java
2011-06-14 00:19:54 +02:00
Roland
7712c20620
unify sender/senderFuture into channel (++)
...
(squashed merge from the various bits and pieces already part of
release-1.2, everything related to Channel & Future)
2011-06-13 22:36:46 +02:00
Debasish Ghosh
f27e23bf1d
Merged with master
2011-06-13 13:35:39 +05:30
Viktor Klang
54960f7e7d
Fixing ticket #916 , adding a catch-all logger for exceptions around message processing
2011-06-12 20:29:32 +02:00
Jonas Bonér
5c92a2704d
Moved 'akka.remote' config elements into 'akka.cluster'
2011-06-10 20:49:00 +01:00
Debasish Ghosh
40d1ca6da2
Issue #595 : Pluggable serializers - basic implementation
2011-06-07 06:36:21 +05:30
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
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
Viktor Klang
8a790b1ddf
Renaming CompletableFuture to Promise, Renaming AlreadyCompletedFuture to KeptPromise, closing ticket #854
2011-05-23 11:31:01 +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
Viktor Klang
236d8e07e9
Removing the old typed actors
2011-05-19 14:29:21 +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
Viktor Klang
3a255ef083
Fixing typos
2011-05-17 22:22:47 +02:00
Viktor Klang
e2042d003d
Resolve merge conflict in cherry-pick
2011-05-17 09:16:16 +02:00
Jonas Bonér
2655d44ee9
Merged wip-2.0 branch with latest master
2011-05-16 12:32:00 +02:00
Viktor Klang
c2486cd52c
Fixing ticket 808
2011-04-29 17:15:00 +02:00
Jonas Bonér
517f9a212b
Massive refactorings in akka-cluster. Also added ClusterDeployer that manages deployment data in ZooKeeper
2011-04-29 15:47:56 +02:00
Patrik Nordwall
6576cd51e9
Scala style fixes, added parens for side effecting shutdown methods
2011-04-29 10:20:16 +02:00
Jonas Bonér
868ec62ee7
Rebased from master branch
2011-04-27 01:06:08 +02:00
Jonas Bonér
2e7c76dd98
Rebased from master
2011-04-27 00:38:10 +02:00
Patrik Nordwall
a60bbc5f59
Applied patch from bruce.mitchener, with minor adjustment
2011-04-23 08:11:31 +02:00
Viktor Klang
d5c7e12787
Adding possibility to use akka.japi.Option in remote typed actor
2011-04-18 16:26:31 +02:00
Patrik Nordwall
3c8e375f30
Added parens to stop
2011-04-12 10:53:56 +02:00
Patrik Nordwall
087191f19f
Added parens to start
2011-04-12 09:56:17 +02:00
Jonas Bonér
3374eef6ce
Merged with Viktors work with removing client managed actors. Also removed actor.id, added actor.address
2011-04-08 21:16:05 +02:00
Jonas Bonér
5f918e55bc
commit in the middle of address refactoring
2011-04-08 15:29:14 +02:00
Patrik Nordwall
521643782e
fixed warnings, asScalaIterable -> collectionAsScalaIterable
2011-04-08 15:12:39 +02:00
Viktor Klang
87069f6e02
Adding TODOs for solving the problem with sender references and senderproxies for remote TypedActor calls
2011-04-07 13:37:17 +02:00
Viktor Klang
b41ecfe09e
Removing even more client-managed remote actors residue, damn, this stuff is sticky
2011-04-07 13:14:59 +02:00
Viktor Klang
3f49eadedc
Removing more deprecation warnings and more client-managed actors residue
2011-04-07 13:03:23 +02:00
Viktor Klang
0dff50fa52
Removed client-managed actors, a lot of deprecated methods and DataFlowVariable (superceded by Future)
2011-04-07 12:48:30 +02:00
Jonas Bonér
cdbde3f661
Added comment about broken TypedActor remoting behavior
2011-03-31 15:55:30 +02:00
Jonas Bonér
3d529e8ca4
Added check to ensure that messages are not null. Also cleaned up misc code
2011-03-30 15:12:58 +02:00
Jonas Bonér
dcd49bd052
Added configuration to define capacity to the remote client buffer messages on failure to send
2011-03-29 17:07:41 +02:00
Jonas Bonér
0412ae4151
Renamed config option for remote client retry message send.
2011-03-28 09:05:16 +02:00
Jonas Bonér
cf80e6a33d
1. Added config option to enable/disable the remote client transaction log for resending failed messages.
...
2. Swallows exceptions on appending to transaction log and do not complete the Future matching the message.
2011-03-27 22:58:50 +02:00
Viktor Klang
f853c05031
Potential fix for #723
2011-03-27 00:01:18 +01:00
Jonas Bonér
e6c658f58d
Changed UnknownRemoteException to CannotInstantiateRemoteExceptionDueToRemoteProtocolParsingErrorException - should be more clear now.
2011-03-25 16:25:36 +01:00
Jonas Bonér
5a9bfe9053
1. Fixed issues with remote message tx log.
...
2. Added trait for network failure testing that supports 'TCP RST', 'TCP DENY' and message throttling/delay.
3. Added test for the remote transaction log. Both for TCP RST and TCP DENY.
2011-03-25 16:06:55 +01:00
Jonas Bonér
331b5c7b74
Added accessor for pending messages
2011-03-25 08:36:43 +01:00
Jonas Bonér
f2ebd7a2f4
1. Added a 'pending-messages' tx log for all pending messages that are not yet delivered to the remote host, this tx log is retried upon successful remote client reconnect.
...
2. Fixed broken code in UnparsableException and renamed it to UnknownRemoteException.
2011-03-24 16:58:59 +01:00
Jonas Bonér
6449fa940f
refactored remote event handler and added deregistration of it on remote shutdown
2011-03-24 12:48:40 +01:00
Jonas Bonér
cb0f14a2c0
Added a remote event handler that pipes remote server and client events to the standard EventHandler system
2011-03-24 12:28:01 +01:00
Jonas Bonér
a8991ac538
Merge branch 'master' of github.com:jboner/akka
2011-03-23 15:12:32 +01:00
Jonas Bonér
6429086b51
Moved EventHandler to 'akka.event' plus added 'error' method without exception param
2011-03-23 15:12:09 +01:00
Viktor Klang
dfbc694059
Adding synchronous writes to NettyRemoteSupport
2011-03-23 15:00:29 +01:00