Commit graph

7752 commits

Author SHA1 Message Date
Roland
70ae4e1984 Merge branch 'logging'
known failures in BalancingDispatcherModelSpec and ActorPoolSpec have
tickets
2011-11-09 18:18:32 +01:00
Peter Vlugter
c8325f6410 Check mailbox status before readding buddies in balancing dispatcher. Fixes #1338 (or appears to) 2011-11-09 17:45:29 +01:00
Roland
594f52100b actually make buddies comparator consistent now 2011-11-09 17:40:04 +01:00
Roland
402258f5b7 make BalancingDispatcher.buddies comparator transitive 2011-11-09 17:25:23 +01:00
Viktor Klang
0b2690ec50 Adding support for reusing inbound connections for outbound messages, PROFIT 2011-11-09 17:17:03 +01:00
Viktor Klang
51a01e252f Removing akka-http, making so that 'waves of actors'-test fails when there's a problem and removing unused config sections in the conf file 2011-11-09 15:47:57 +01:00
Viktor Klang
3bffeaefc8 De-complecting the notion of address in the remoting server 2011-11-09 15:04:57 +01:00
Roland
a747ef7856 Merge remote branch 'origin/master' into logging
BalancingDispatcherModelSpec is currently broken, leaves count==1 in
wavesOfActors test, committed anyway in order to check out where it
broke before this merge
2011-11-09 14:56:05 +01:00
Viktor Klang
39ba4fb254 Removing a pointless TODO and a semicolon 2011-11-09 13:04:41 +01:00
Viktor Klang
ed3ff933fa Simplifying remote error interception and getting rid of retarded exception back-propagation 2011-11-09 12:49:51 +01:00
Viktor Klang
b6d53aa54f Removing a couple of lines of now defunct code from the remoting 2011-11-09 12:42:28 +01:00
Viktor Klang
f04b6a5647 Removing executionHandler from Netty remoting since we do 0 (yes, Daisy, you heard me) blocking ops in the message sends 2011-11-09 12:41:37 +01:00
Viktor Klang
bd5b07c573 Merge branch 'master' of github.com:jboner/akka 2011-11-09 11:14:54 +01:00
Viktor Klang
c5de77972d Removing some bad docs 2011-11-09 11:10:36 +01:00
Roland
b3249e0adb finish EventFilter work and apply in three places
- fix memory visibility issue with occurrences counter
- add non-throwing awaitCond and use that for better error reporting
- move occurrence book-keeping (side-effect) out of PF guard, was
  evaluated multiple times (of course!)
- apply in cases where EventFilter.custom was used (one legitimate use
  case remains)
2011-11-09 11:04:39 +01:00
Peter Vlugter
d04ad32588 Get rst docs building again and add some adjustments to the new cluster documentation 2011-11-09 10:40:22 +01:00
Viktor Klang
294c71d9cb Adding stubs for implementing support for outbound passive connections for remoting 2011-11-08 20:43:38 +01:00
Viktor Klang
f12914f8f9 Turning all eventHandler log messages left in NettyRemoteSupport into debug messages and remove more dual entries (log + event) 2011-11-08 20:18:24 +01:00
Viktor Klang
7e66d93e46 Removign dual logging of remote events, switching to only dumping it into the eventHandler 2011-11-08 20:06:41 +01:00
Viktor Klang
01df0c3766 Removing the guard (ReentrantGuard) from RemoteServerModule and switching from executing reconnections and shutdowns in the HashWheelTimer instead of Future w. default dispatcher 2011-11-08 20:00:45 +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
55d2a48887 Adding a project definition for akka-amqp (but without code) 2011-11-08 18:56:24 +01:00
Viktor Klang
84706721f9 Renaming ActorCell.supervisor to 'parent', adding 'parent' to ActorContext 2011-11-08 18:55:55 +01:00
Viktor Klang
39d169612f Dropping akka-http (see 1330) 2011-11-08 14:57:11 +01:00
Viktor Klang
48dbfda255 Reducing sleep time for ActorPoolSpec for typed actors and removing defaultSupervisor from Props 2011-11-08 12:30:46 +01:00
Viktor Klang
fd130d0310 Fixing ActorPoolSpec (more specifically the ActiveActorsPressure thingie-device) and stopping the typed actors after the test of the spec 2011-11-08 11:25:15 +01:00
Roland
c1a9475015 TestEventFilter overhaul
- make normal filters available for all four log levels
- allow filtering for
  + exact and complete message
  + start of message
  + regular expression
- keep count of occurrences if requested and verify correct count at end
  of filterEvents/filterExceptions block
- remove akka.testkit.Testing (sleepFor replaced by Duration.dilated.sleep)
- remove Duration.timeFactor (needs config -> AkkaApplication)
- TestLatch needs config -> AkkaApplication (was forgotten because used
  directly System.getProperty)
- lots of scaladoc for TestEventListener infrastructure
2011-11-07 22:23:48 +01:00
Patrik Nordwall
3681d0fe4e Separate latency and throughput measurement in performance tests. Fixes #1333
* TradingThroughputPerformanceSpec and microbench.TellThroughputPerformanceSpec for throughput with high load
* TradingLatencyPerformanceSpec and microbench.TellLatencyPerformanceSpec for latency with moderate load
* Removed usage of JUnit
* Removed all usage of latches for flow control, instead replies with ordinary tell. This means that trading sample generates 4 msg for each transaction.
* Removed req-rsp test from trading, since it adds complexity and isn't realistic
2011-11-07 09:38:40 +01:00
Roland
6559511bce FSMTimingSpec overhaul
- revise timings to make them more robust (granularity changed in
  general from 100ms to 500ms)
- make one test more deterministic by awaiting context.hasMessages,
  which has been added for this purpose; is the same kind of “non-racy”
  as isShutdown
- add static version of TestKit.awaitCond (checked that it does not
  conflict, even when “import TestKit._” is used; seems like imports are
  not even searched if the symbol is found locally)
2011-11-06 12:10:14 +01:00
Derek Williams
1e3ab2645f Slight tweak to solution for ticket 1313 2011-11-05 12:48:19 -06:00
Roland
4f4227acf3 work-around compiler bug in ActiveRemoteClient
It seems that 2.9.1 has a bug when a constructor argument is passed to
superclass which makes a public field out of it under the same name:
scalac got confused and generated invokespecial byte-code which is
rejected by the verifier. One could argue that the verifier is too
strict in this case ...

So, I changed the names of the constructor arguments by prepending an
underscore and thus avoiding the clash.
2011-11-04 22:20:58 +01:00
Roland
b4ab6730ab fix Logging.format by implementing {} replacement directly 2011-11-04 19:01:08 +01:00
Viktor Klang
d8d322c6e8 Moving in Deployer udner the provider 2011-11-04 10:11:07 +01:00
Roland
3f21c8a2a6 fix ActorDocSpec by allowing INFO loglevel to pass through 2011-11-04 09:30:33 +01:00
Viktor Klang
a75310a181 Removing unused code in ReflectiveAccess, fixing a performance-related issue in LocalDeployer and switched back to non-systemServices in the LocalActorRefProviderSpec 2011-11-04 00:39:02 +01:00
Roland
7198dd6287 fix FSMActorSpec (wrongly setting loglevel) 2011-11-03 22:42:28 +01:00
Roland
d4c91ef61c expand MainBusSpec wrt. logLevel setting 2011-11-03 21:41:32 +01:00
Viktor Klang
a044e41008 Removing outdated and wrong serialization docs 2011-11-03 20:34:48 +01:00
viktorklang
5efe091ebc Merge pull request #103 from jboner/no-uuid
Profit! Removing Uuids from ActorCells and ActorRefs and essentially repl
2011-11-03 11:53:29 -07:00
Viktor Klang
e958987e5b Switching to AddressProtocol for the remote origin address 2011-11-03 19:32:53 +01:00
Roland
91bee0370c fix TestKit.receiveWhile when using implicitly discovered maximum wait
time (i.e. default argument)
2011-11-03 19:11:15 +01:00
Roland
05b9cbc8c7 fix LoggingReceiveSpec
- make sure that needed log channels are subscribed
- do not .stop() applications within test cases, that’s no good for
  following test cases (might change when we move to one app per case)
- re-enable and fix (adapting to message format changes) the life-cycle
  logging spec
2011-11-03 19:09:17 +01:00
Roland
b35f8dece0 incorporate review from Viktor & Jonas
- use intercept[]{} in PinnedActorSpec
- make Logging.logLevel_= thread safe
- add lots of scaladoc
- make more friendly to Java API
2011-11-03 18:56:20 +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
601df0421c Folding RemoteEncoder into the RemoteMarshallingOps 2011-11-03 15:42:46 +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
Viktor Klang
2f52f43fa8 Refining the DeadLetterActorRef serialization test to be a bit more specific 2011-11-01 11:31:53 +01:00
Viktor Klang
f427c99814 Merge branch 'master' of github.com:jboner/akka 2011-11-01 11:20:16 +01:00
Viktor Klang
3aed09c43d #1320 - Implementing readResolve and writeReplace for the DeadLetterActorRef 2011-11-01 11:20:02 +01:00
Peter Vlugter
06c66bd325 Fix deprecation warnings in sbt plugin 2011-11-01 11:10:14 +01:00