Commit graph

74 commits

Author SHA1 Message Date
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
Viktor Klang
db1b50a6b6 Adding OrderedMemoryAwareThreadPoolExecutor with an ExecutionHandler to the NettyRemoteServer 2011-03-23 11:31:19 +01:00
Viktor Klang
e33eefa1d2 Rewriting getClassFor to do a fall-back approach, first test the specified classloader, then test the current threads context loader, then try the ReflectiveAccess` classloader and the Class.forName 2011-03-20 18:32:32 +01:00
Jonas Bonér
233044f077 Merge branch 'master' of github.com:jboner/akka 2011-03-19 12:22:17 +01:00
Jonas Bonér
299f865156 Fixed bug with restarting supervised supervisor that had done linking in constructor + Changed all calls to EventHandler to use direct 'error' and 'warning' methods for improved performance 2011-03-18 23:04:48 +01:00
Viktor Klang
d738674eeb Switching to PoisonPill to shut down Per-Session actors, and restructuring some Future-code to avoid wasteful object creation 2011-03-18 18:03:10 +01:00
Viktor Klang
76f058edac Fixing stall issue in remote pipeline 2011-03-18 10:41:49 +01:00
Viktor Klang
ac51509184 Removign leftover debug statement. My bad. 2011-03-14 17:04:21 +01:00
Viktor Klang
0899fa44ab Merge with master 2011-03-14 16:29:22 +01:00
Viktor Klang
2a390d3fcb All tests pass, might actually have solved the typed actor method resolution issue 2011-03-14 14:17:54 +01:00
Viktor Klang
cce0fa8b8f Pulling out _resolveMethod_ from NettyRemoteSupport and moving it into ReflectiveAccess 2011-03-14 12:17:59 +01:00
Viktor Klang
b5b46aaff0 Potential fix for the remote dispatch of TypedActor methods when overloading is used. 2011-03-14 11:49:37 +01:00
Viktor Klang
49338dc9ed Fixing ReadTimeoutException, and implement proper shutdown after timeout 2011-03-14 11:21:41 +01:00
Jonas Bonér
978ec62c1a Merge branch 'master' of github.com:jboner/akka 2011-03-14 10:45:55 +01:00