Commit graph

51 commits

Author SHA1 Message Date
Patrik Nordwall
31ace9e83f Optimize remote serialization for the create from class case. See #1755
* Added FromClassCreator as special Function0 to be able to serialize
  class name as protobuf string
2012-05-15 18:22:40 +02:00
Patrik Nordwall
6dd017d6c1 Replace Java serialization of DaemonMsg by protobuf. See #1755
* Serializers for DaemonMsgCreate and DaemonMsgWatch
* Protobuf for DaemonMsgCreateProtocol, PropsProtocol,
  DeployProtocol, DaemonMsgWatchProtocol
* Removed unused MailboxProtocol.proto
* Fixed wrong serializeActorRef in DurableMessageSerialization
2012-05-15 10:50:05 +02:00
Viktor Klang
ca0d400a3a unb0rkening the akka-docs 2012-05-07 18:02:42 +02:00
Viktor Klang
94552a732f Removing legacy messages from the remote protocol 2012-05-07 17:41:54 +02:00
Viktor Klang
9421f37f96 Ripping out ReadTimeout and adding Idle timeout and fixing issues with configured port on top of that 2012-02-01 16:06:30 +01:00
Viktor Klang
7108a54f22 Unborking docs, ScalaDoc.... 2011-12-30 22:44:52 +01:00
Viktor Klang
cffe60bf43 Closing #1584 and #1585 2011-12-30 14:15:26 +01:00
Roland
5e0ed18056 Remote DeathWatch (1): daemon communication 2011-12-26 18:23:55 +01:00
Roland
c16fcebc21 fix docs generation 2011-12-13 17:53:59 +01:00
Roland
e5bd8b5f88 make remote supervision and path continuation work
- add supervisor to remote USE message
- make remoteDaemon a VirtualPathContainer like
  LocalActorRefProvider.tempContainer (i.e. synchonous with CHM-based
  child lookup), scrap remoteDaemonSupervisor and rename remoteDaemon to
  “/remote” to match the plans in the docs
- comment out the remote deployment configuration section, to be done
  when Henrik is finished with RoutedActorRef work
- for now only “remote.nodes = ["sys@host:port"]” is looked at, i.e. if
  at least one is present, the first one is used to determine where to
  deploy the currently created child (routers will do the scaling-out
  component) [rest is commented out]
- multi-jvm tests not yet re-enabled (need to be adapted), but all other
  tests are GREEN (at least on my machine)
2011-12-09 00:02:27 +01:00
Roland
fac840adfc make remote lookup work
- create RemoteActorRef in actorFor
- simplify send/receive because Futures/Exceptions do not go over the
  wire anymore
- add RemoteCommunicationSpec which uses two ActorSystems communicating
  in the same JVM via TCP socket
2011-12-08 14:44:05 +01:00
Roland
6b9cdc5f65 fix ActorRef serialization
- represent it by SerializedActorRef(path), i.e. only a “tagged” string
- remove serialize/deserialize from ActorRefProvider interface
- adapt test since deadLetters is returned when nothing found instead of
  exception
- multi-jvm tests are still broken, but that is due to look-up of remote
  actors, which I have just not done yet
2011-12-01 14:31:02 +01:00
Peter Vlugter
7b8a865c00 Rename address to name or path where appropriate
- TypedActor: address -> name
- TestActorRef, TestFSMRef: address -> name
- Props.randomAddress -> randomName
- Remote protocol: address -> name
- Address.validate moved to ActorPath
2011-11-10 12:19:07 +01:00
Viktor Klang
3021baa3e4 Fixing the BuilderParents generated by protobuf with FQN and fixing @returns => @return 2011-11-08 19:10:07 +01:00
Viktor Klang
e958987e5b Switching to AddressProtocol for the remote origin address 2011-11-03 19:32:53 +01:00
Viktor Klang
37ba03eadb Adding initial support in the protocol to get the public host/port of the connecting remote server 2011-11-03 18:33:57 +01:00
Viktor Klang
a040a0c54d Profit! Removing Uuids from ActorCells and ActorRefs and essentially replacing the remoting with a new implementation. 2011-11-03 14:53:38 +01:00
Jonas Bonér
9bf9cea0d9 Removed trailing whitespace 2011-10-28 15:55:47 +02:00
Peter Vlugter
52595f3692 Fix the scaladoc generation again so that nightlies work 2011-10-21 10:19:04 +02:00
Jonas Bonér
c8215dfd54 Added Gossip messages and management to remote protocol. Various refactorings and improvements of remoting layer.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-10-19 14:45:24 +02:00
Peter Vlugter
f60d0bdfc4 Fix scaladoc generation manually again 2011-09-27 12:01:17 +02:00
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
38c2fe1894 Moved remote-only stuff from akka-cluster to new module akka-remote.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-09-09 13:46:36 +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
Jonas Bonér
04bf416ead Merge branch 'master' into pluggable-serializer 2011-06-14 14:41:24 +02:00
Peter Vlugter
73694af5a5 Manually fix remote protocol for scaladoc 2011-06-14 09:49:07 +12:00
Debasish Ghosh
0d471ae084 fixed protobuf new version issues and some minor changes in Actor and ActorRef from merging 2011-06-13 17:17:53 +05:30
Debasish Ghosh
f27e23bf1d Merged with master 2011-06-13 13:35:39 +05:30
Jonas Bonér
8098a8d9be Added storage models to remote protocol and refactored all clustering to use it.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-06-10 16:31:24 +01:00
Jonas Bonér
04efc440d6 1. Made LocalActorRef aware of replication
2. Added configuration for transaction log replication
3. Added replication schemes WriteThrough and WriteBehind
4. Refactored serializer creation and lookup in Actor.scala
5. Extended network protocol with replication strategy
6. Added BookKeeper management to tests
7. Improved logging and error messages
8. Removed ReplicatedActorRef
9. Added snapshot management to TransactionLog

Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2011-06-07 11:10:29 -07:00
Debasish Ghosh
40d1ca6da2 Issue #595: Pluggable serializers - basic implementation 2011-06-07 06:36:21 +05:30
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
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
517f9a212b Massive refactorings in akka-cluster. Also added ClusterDeployer that manages deployment data in ZooKeeper 2011-04-29 15:47:56 +02:00
Jonas Bonér
5f918e55bc commit in the middle of address refactoring 2011-04-08 15:29:14 +02:00
Viktor Klang
fd6c879668 Updating the Remote protocol to support control messages 2011-03-05 23:42:28 +01:00
Peter Vlugter
9012847ff1 First pass on separating stm into its own module
- removed transactors everywhere
- moved stm into akka-stm module
- disabled agents (they use transactors internally)
- rewrote persistence tests so that they don't use transactors
2010-11-14 09:53:14 +13:00
Jonas Bonér
cbca588248 merged with upstream 2010-11-02 21:18:31 +01:00
Jonas Bonér
c589c4fb55 removed trailing spaces 2010-10-29 16:33:31 +02:00
Jonas Bonér
19d86c8ada mid prococol refactoring 2010-10-28 20:30:11 +02:00
Viktor Klang
41b5fd2de8 Merge with master 2010-10-28 14:03:53 +02:00
Jonas Bonér
cbc10111af Added Erlang-style secure cookie authentication for remote client/server 2010-10-26 15:23:29 +02:00
Viktor Klang
680ee7ddf1 BREAKAGE: switching from se.scalablesolutions.akka to akka for all packages 2010-10-26 12:49:25 +02:00
Viktor Klang
386ffade5c Merge with master 2010-09-21 16:00:47 +02:00
Viktor Klang
551f25aba8 Aaaaalmost there... 2010-09-17 16:04:25 +02:00
Michael Kober
b78658ad29 closing #364, serializiation for typed actor proxy ref 2010-09-17 09:56:36 +02:00
Michael Kober
e77f07c643 closing ticket 434; added id to ActorInfoProtocol 2010-09-16 13:50:57 +02:00
Jonas Bonér
31cd0c5321 Added meta data to network protocol 2010-09-13 17:57:13 +02:00
Jonas Bonér
81e37cddfd improved error reporting 2010-09-06 21:26:02 +02:00