Commit graph

12466 commits

Author SHA1 Message Date
Viktor Klang
4c440c91af Silencing unhandled message in IOActor 2012-11-16 14:09:26 +01:00
Patrik Nordwall
c57f84fd28 Add Typesafe repo in cluster sample, for sigar, see #2547 2012-11-16 13:42:34 +01:00
Patrik Nordwall
39d81b37df Fix failing WeightedRouteesSpec, see #2547 2012-11-16 13:35:10 +01:00
Patrik Nordwall
5d874fec17 Incorparate more review feedback, see #2547
* negative double check
* correction of cluster specification
* add isEmpty in WeightedRoutees
2012-11-16 12:34:21 +01:00
Patrik Nordwall
5eec693fd0 Incorparate review feedback, see #2547
* case object and case class for MixMetricsSelector
* Rename decay-half-life-duration to moving-average-half-life
* Clarification of decay-half-life-duration and collect-interval
* Removed Fields, Java compatibility issue
* Adapt for-yield variables
* Comment metrics collector constructor that takes system param
* Don't copy EWMA if not needed
* LogOf2 constant 0.69315
* Don't use mapValues
* Remove RichInt conversion
* sigar version replace tag in docs
* createDeployer factory method to make it possible to override
  deployer in subclass
* Improve readability of MetricsListener (in sample)
* Better startup of factorial sample (no sleep)
* Many minor enhancements and cleanups
2012-11-16 11:03:20 +01:00
Patrik Nordwall
65cc0826ae Merge pull request #872 from akka/wip-2699-cluster-sample-test-timeouts-patrikwn
Increase within timeouts in cluster sample tests, see #2699
2012-11-15 12:15:58 -08:00
Roland Kuhn
44bf8a5d82 Merge pull request #869 from akka/wip-2686-HWT-overflow-∂π
make HashedWheelTimer tolerate wrap-arounds, see #2686
2012-11-15 08:41:04 -08:00
Patrik Nordwall
1914be7069 Merge branch 'master' into wip-2547-metrics-router-patriknw
Conflicts:
	akka-actor/src/main/scala/akka/actor/Deployer.scala
	akka-cluster/src/main/scala/akka/cluster/ClusterMetricsCollector.scala
	akka-cluster/src/test/scala/akka/cluster/MetricsCollectorSpec.scala
2012-11-15 12:33:11 +01:00
Patrik Nordwall
524bb65e0f Increase within timeouts in cluster sample tests, see #2699 2012-11-15 08:28:35 +01:00
Björn Antonsson
21c55a8387 Cleaning up after 2.1.0-RC2 staging 2012-11-15 08:16:19 +01:00
Björn Antonsson
c2bf33afbf Update doc with correct version of ScalaTest 2012-11-15 08:16:19 +01:00
Björn Antonsson
c33bd9fb9e Building with 2.10.0-RC2 and all dependencies that are published. 2012-11-15 08:16:19 +01:00
Björn Antonsson
5569cd676a Release script instructions added. 2012-11-15 08:16:19 +01:00
Viktor Klang
b1d96c8794 Preventing the TimerBasedThrottlerSpec printing to the console 2012-11-15 00:46:13 +01:00
Viktor Klang (√)
3cd23f5f34 Merge pull request #838 from akka/wip-2645-√
Wip 2645 √
2012-11-14 15:07:49 -08:00
Roland
69505855fd make HashedWheelTimer tolerate wrap-arounds, see #2686 2012-11-14 17:08:01 +01:00
Viktor Klang
b00c47854b Switching over to immutable.Iterable where possible 2012-11-14 16:24:25 +01:00
Patrik Nordwall
dcde7d3594 AdaptiveLoadBalancingRouter and more refactoring of metrics, see #2547
* Refactoring of standard metrics extractors and data structures
* Removed optional value in Metric, simplified a lot
* Configuration of EWMA by using half-life duration
* Renamed DataStream to EWMA
* Incorporate review feedback
* Use binarySearch for selecting weighted routees
* More metrics selectors for the router
* Removed network metrics, since not supported on linux
* Configuration of router
* Rename to AdaptiveLoadBalancingRouter
* Remove total cores metrics, since it's the same as jmx getAvailableProcessors,
  tested on intel 24 core server and amd 48 core server, and MBP
* API cleanup
* Java API additions
* Documentation of metrics and AdaptiveLoadBalancingRouter
* New cluster sample to illustrate metrics in the documentation,
  and play around with (factorial)
2012-11-14 15:08:30 +01:00
Roland
f5185860ef amend one place in docs referring to blocking system.actorOf 2012-11-14 14:21:56 +01:00
Viktor Klang
8f131c680f Switching to immutable.Seq instead of Seq 2012-11-12 14:17:47 +01:00
Viktor Klang (√)
2866ecfa85 Merge pull request #857 from akka/wip-2688-switch-to-s.c.u.unsafe-detection-√
#2688 - Switching to s.c.u.Unsafe.instance for akka.util.Unsafe.instance
2012-11-08 03:20:52 -08:00
Viktor Klang (√)
5a1bc3baf6 Merge pull request #842 from akka/wip-poolsize-for-everyone-√
Adding pool size for both use with dispatcher as without.
2012-11-07 14:52:00 -08:00
Patrik Nordwall
c9d206764a ClusterLoadBalancingRouter and refactoring of metrics, see #2547
* MetricsSelector, calculate capacity, weights and allocate weighted
  routee refs
* ClusterLoadBalancingRouterSpec
* Optional heap max
* Constants for the metric fields
* Refactoring of Metric and decay
* Rewrite of DataStreamSpec
* Correction of EWMA and removal of BigInt, BigDecimal
* Separation of MetricsCollector into trait and two classes,
  SigarMetricsCollector and JmxMetricsCollector
* This will reduce cost when sigar is not installed, such as
  avoiding throwing and catching exc for every call
* Improved error handling for loading sigar
* Made MetricsCollector implementation configurable
* Tested with sigar
2012-11-07 20:36:24 +01:00
Helena Edelson
f306964fca Initial work of adaptive metrics aware routers, see #2547 2012-11-07 18:18:38 +01:00
Patrik Nordwall
e99d92e25d Merge pull request #844 from akka/wip-2664-win-load-patriknw
Allow negative Load average in test, see #2664
2012-11-07 07:46:11 -08:00
Viktor Klang
eee616c635 #2688 - Switching to s.c.u.Unsafe.instance for akka.util.Unsafe.instance 2012-11-07 16:38:40 +01:00
Roland
1f61c293ec fix two old Duration references 2012-11-07 09:49:56 +01:00
Roland Kuhn
15a46c0dce Merge pull request #835 from hbf/wip-throttler-hbf
TimerBasedThrottler contribution module
2012-11-06 06:53:21 -08:00
Kaspar Fischer (hbf)
aeb4e47141 fixes to accomodate time dilation in tests and minor issues from reviews by @rkuhn and @patriknw 2012-11-06 15:35:40 +01:00
Roland
d98c4db1f9 fix up two oversights in previous doc change
- use discardOld=false also in Scala stash sample code
- correct link to UnnestedReceives sample
2012-11-06 14:15:57 +01:00
Roland Kuhn
4acd483ed3 Merge pull request #814 from drewhk/wip-2282-closedchannelexception-drewhk
Disabled read timeout and suppressed ClosedChannelException Fixes#2632, ...
2012-11-06 04:17:07 -08:00
Roland Kuhn
666d79680d Merge pull request #851 from akka/wip-2642-Java-stash-∂π
change Java stash sample to become(), see #2642
2012-11-06 03:06:53 -08:00
Roland Kuhn
ec592fa769 Merge pull request #850 from akka/wip-2683-doc-become-∂π
better document become semantics, see #2683
2012-11-06 03:06:37 -08:00
Roland Kuhn
e71c5199e9 Merge pull request #847 from akka/wip-2682-Act.become-∂π
align Act.become with context.become, see #2682
2012-11-06 03:04:24 -08:00
Roland Kuhn
4c4472f01b Merge pull request #845 from akka/wip-2680-FSM-receive-∂π
make FSM.receive overridable, see #2680
2012-11-06 03:03:49 -08:00
Roland Kuhn
7b874fe75b Merge pull request #843 from akka/wip-2637-ReliableProxySpec-∂π
make timing requirements for lenient for ReliableProxySpec, see #2637
2012-11-06 03:02:26 -08:00
Björn Antonsson
2fe46d9861 Merge pull request #846 from akka/wip-2678-sbt-plugin-take-2
Update build and sbt plugin to sbt 0.12.1
2012-11-06 02:59:45 -08:00
Roland
ebd47bcdf6 correct small confusion (short: confuso) 2012-11-06 11:59:11 +01:00
Kaspar Fischer (hbf)
fb237b859e removed remaining argument in expectNoMsg calls in tests 2012-11-06 11:55:09 +01:00
Roland
657a24dbc8 change Java stash sample to become(), see #2642 2012-11-06 11:41:50 +01:00
Roland
f9eb59e883 better document become semantics, see #2683 2012-11-06 11:00:27 +01:00
Roland
645e713362 align Act.become with context.become, see #2682
- become uses discardOld=true
- becomeStacked uses discardOld=false
- update docs and demonstrate this difference
2012-11-06 09:34:45 +01:00
Peter Vlugter
94060d6132 Update build and sbt plugin to sbt 0.12.1 2012-11-06 12:30:31 +13:00
Roland
480f5d5683 make FSM.receive overridable, see #2680 2012-11-05 22:11:57 +01:00
Viktor Klang
35493b6c58 Unbreaking poolsize for everybody. 2012-11-05 20:24:46 +01:00
Patrik Nordwall
99cf420a37 Use undefined metrics value for negative load average, see #2664 2012-11-05 20:07:57 +01:00
Kaspar Fischer (hbf)
4917680f73 more tests and bug fixes 2012-11-05 17:38:40 +01:00
Kaspar Fischer (hbf)
2622bba571 Merge remote-tracking branch 'upstream/master' into wip-throttler-hbf 2012-11-05 17:37:53 +01:00
Patrik Nordwall
edc9fd733d Allow negative Load average in test, see #2664
* According to documentation it can be negative for some OS
2012-11-05 17:11:13 +01:00
Roland
29cf71d6bc make timing requirements for lenient for ReliableProxySpec, see #2637 2012-11-05 13:33:24 +01:00