Commit graph

836 commits

Author SHA1 Message Date
Viktor Klang
037caf5136 merge with master 2012-05-24 16:52:25 +02:00
Roland
8cad9bb1b6 add deployOn/deployOnAll DSL to MultiNodeSpec, see #2118 2012-05-24 12:40:52 +02:00
Viktor Klang
a9945f77f6 Binary compat for serialization 2012-05-24 12:19:39 +02:00
Viktor Klang
cb7de1db75 Binary compat work for routing 2012-05-24 12:12:45 +02:00
Viktor Klang
ea1817b6d8 Merging with latest master 2012-05-24 11:59:36 +02:00
Viktor Klang
6bed19c6c9 Binary compat work for Akka Remote 2012-05-24 11:44:39 +02:00
Roland
fa5960372c Merge branch 'wip-2069-DirectRoutedRemoteActorMultiJvmSpec-patriknw' 2012-05-24 11:40:05 +02:00
Roland
e054816047 make failure injection idempotent
- instead of creating local top-level actors per pipeline, just create
  one system actor through which everything is sent
- this enables storing settings (like what to throttle how) within this
  actor and applying settings when connections come up later
- it also gets rid of the blocking actor creation from
  NetworkFailureInjector, fixing the dead-lock
- moved also the ServerFSMs to be children of the Controller
- all actors have proper names now for easier debugging
2012-05-24 10:56:32 +02:00
Roland
6c67149512 Merge branch 'wip-testconductor-∂π'
fixing up constructor of TestConductorTransport and adding resolver for
sbt-assembly (Ivy-style for scalasbt.artifactoryonline.com)
2012-05-22 16:22:10 +02:00
Roland
508d8f70a5 incorporate review comments into TestConductor work
- protect all internal API using private[akka] and ScalaDoc
- remove package object which was after a previous refactoring only used
  from a single place anyway
- document all public API methods, add brief description how failure
  injector works
- include remoteTests in the top-level aggregate project
2012-05-22 15:19:45 +02:00
Viktor Klang
60dd03d0a2 Merge branch 'master' into wip-2006-binary-compat-√ 2012-05-22 14:32:05 +02:00
Jonas Bonér
5c48cbb145 Added section to remote docs about remote security as well as improved doc in reference config 2012-05-22 12:08:49 +02:00
Viktor Klang
fad9470005 Merge branch 'master' into wip-2006-binary-compat-√ 2012-05-21 20:21:27 +02:00
Jonas Bonér
ae84ee0a57 Updated copyright to 2012 2012-05-21 16:45:15 +02:00
Viktor Klang
3ba5db053a Merge branch 'master' into wip-2006-binary-compat-√ 2012-05-21 14:37:42 +02:00
Patrik Nordwall
a98827c150 unb0rkening the akka-docs 2012-05-21 14:35:23 +02:00
Viktor Klang
95db4bfd37 Moving out ConfigurationException from akka.config to akka 2012-05-16 17:04:13 +02:00
Viktor Klang
fccbba0de5 Docs, comments, cleanup, fairy dust... 2012-05-16 15:22:21 +02:00
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
793af8b4ec Imrovements from feedback. See #1755 2012-05-15 17:16:46 +02:00
Viktor Klang
c6d60e1089 Future proofing ActorRefProvider 2012-05-15 16:26:08 +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
Jonas Bonér
34f1566bdb Updated copyright headers to say Typesafe instead of Scalable Solutions 2012-05-11 12:06:28 +02:00
Roland
d931a6e727 break out TestConductor stuff into akka-remote-tests project 2012-05-10 10:56:52 +02:00
Roland
8b16c5875c move blocking of client.connect() out of writeLock, see #2034 2012-05-09 15:07:33 +02:00
Roland
e950045015 handle barrier failures better 2012-05-08 11:08:43 +02:00
Roland
33cea733a3 rename mkPipeline => createPipeline 2012-05-08 10:05:14 +02:00
Roland
d8268f8e6f fix BuilderParent in generated TestConductorProtocol.java 2012-05-07 18:12:53 +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
Roland
f81184236f wait for initial crew before starting the party
- the Controller is started with the required initial number of
  participants
- if that is >0, it will hold off sending Done to the clients until that
  number has connected, then set it to zero
- if that is <=0, send Done back immediately upon connect
2012-05-07 08:04:15 +02:00
Roland
0076bddb52 optimize partial message scheduling
- split only right before send (if necessary)
- do not reschedule Tick if that has already been done, because the head
  of the queue does not change so the old data are still correct
- make test a bit less fickle wrt. timing
2012-05-07 07:36:02 +02:00
Roland
a351e6ad9f implement more precise bandwith throttling
- will keep track of theoretical packet boundaries and send on timer
  tick or send request according to actual time
- will split packets if calculated release time is >100ms into the
  future (configurable) to simulate proper trickling
2012-05-05 22:14:42 +02:00
Roland
c68df0635f add previously forgotten TestConductorTransport 2012-05-05 15:16:21 +02:00
Roland
9266ac451b integrate NetworkFailureInjector and add first test
- rework socket pipeline to transform protobuf into case classes and
  back
- introduce NetworkOp messages for that purpose
- make API asynchronous (because it is, really) and add Done
  notification for all server operations; enter(...) is still
  synchronous, because that is its only purpose in life
- factor out mkPipeline in NettyRemoteTransport, enabling the very slick
  TestConductorTransport (essentially a one-liner)
- switch NetworkFailureInjector from Channel{Up,Down}streamHandler to
  subclassing SimpleChannelHandler, because otherwise deadlocks
  occurred, not sure why (but SCH is the recommended way from the netty
  docs, so there may well be a reason)
2012-05-04 22:33:08 +02:00
Roland
afd81d8506 Revert "closes #2019: Use parentheses for arity-0 methods which are not referentially transparent"
This reverts commit 8dbfbbe966.
2012-05-03 21:14:47 +02:00
Roland
5cf0fa66f8 TestConductor: convert to Akka Extension and add test
- make start-up synchronous and explicit for client and server
- server can be queried for actual port, client requires explicit port
- simple multi-jvm-test for verification of TestConductor barriers
2012-05-03 20:48:27 +02:00
Roland
6c786d20b8 porting to 2.0, making it compile: UNTESTED! 2012-05-02 21:56:26 +02:00
Viktor Klang
7cb67ce0ee Removing ChannelLocalSystem (binary incompat change) as well as increasing timeout for ConcurrentSocketActorSpec 2012-04-30 16:26:11 +02:00
viktorklang
55dc5106a4 Merge pull request #417 from akka/issue-2019
closes #2019: Use parentheses for arity-0 methods which are not referent...
2012-04-27 06:46:44 -07:00
viktorklang
eb9876997d Merge pull request #426 from akka/wip-2003-wildcard-match-deploy-√
Wip 2003 wildcard match deploy √
2012-04-27 06:34:07 -07:00
Viktor Klang
70f1997e7e Avoiding the top-level node in the WildcardTree for the Deployer 2012-04-27 12:48:22 +02:00
Viktor Klang
a99d980bb9 Changing so that you can specify any dispatcher id to be used for remoting 2012-04-27 01:10:20 +02:00
Viktor Klang
97e8e4880f Removing the String-only lookup method and replaced it with Iterable, Iterator and ActorPath 2012-04-26 23:59:18 +02:00
Viktor Klang
45694c65f4 Added support for a config flag that allows the user to reuse the default dispatcher as the ExecutorService for the Netty Remote Pipeline (IO) 2012-04-25 10:41:16 +02:00
Heiko Seeberger
8dbfbbe966 closes #2019: Use parentheses for arity-0 methods which are not referentially transparent 2012-04-24 16:38:21 +02:00
Viktor Klang
5f2b23c0c8 #2005 - Putting the required fields into RemoteTransport and took the opportunity to clean up use of ActorSystemImpl 2012-04-23 18:59:49 +02:00
Viktor Klang
7cc4c03018 #1962 - Clarifying the error logging when dropping inbound messages and lazy-fying the logger 2012-04-23 16:38:22 +02:00
Roland
21f2c28fd1 Merge branch 'wip-ask-remote-tests-∂π' 2012-04-10 15:15:22 +02:00
Viktor Klang
eea0d826d0 #1983 - Removing network-event-sender from reference.conf 2012-04-08 01:20:33 +02:00