Commit graph

9162 commits

Author SHA1 Message Date
Viktor Klang
7c43d049a9 Adding Receiver-docs 2012-02-20 16:25:01 +01:00
Viktor Klang
ccae535c79 Adding testcase for Receiver 2012-02-20 00:44:56 +01:00
Viktor Klang
ff29498669 Adding support for Receiver and yanking out DeathWatcher 2012-02-19 22:28:54 +01:00
Viktor Klang
95b1590cd9 Adding support for DeathWatcher for TypedActors 2012-02-19 18:25:22 +01:00
Henrik Engstrom
f4069ee776 Fixed minor typos in the Futures doc 2012-02-18 14:01:43 +01:00
Viktor Klang
ee08695e6f #1830 - Adding warning section in dispatcher docs for the default dispatcher 2012-02-17 13:06:50 +01:00
Viktor Klang
ee6e7e3a2d Fixing #1837 2012-02-17 13:01:22 +01:00
Henrik Engstrom
3955813db7 Missed one place in the documentation containing a reference to an old version of play-mini. All refs are now ok. 2012-02-17 10:36:44 +01:00
Henrik Engstrom
073b6912f9 Updated version of play-mini in documentation. 2012-02-17 10:02:19 +01:00
Viktor Klang
1cd34fae5b Adding leeway to ResizerSpec 2012-02-16 15:48:43 +01:00
Viktor Klang
2e45b036d8 Fixing the signatures of the Java API for Coordinated 2012-02-16 14:52:26 +01:00
viktorklang
6af612153e Merge pull request #326 from waywardmonkeys/typos
Fix spelling errors.
2012-02-16 02:25:27 -08:00
Patrik Nordwall
8dda029d15 DOC: Migration guide for routing. See #1700 2012-02-16 11:23:03 +01:00
Jonas Bonér
4923d9a1a8 Added copyright header.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-02-16 10:51:38 +01:00
Jonas Bonér
61b2c3d5f7 Deleted broken startup scripts.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-02-16 10:51:14 +01:00
Jonas Bonér
1b35d59b67 Merge branch 'master' of github.com:jboner/akka 2012-02-16 09:50:49 +01:00
Jonas Bonér
e4d7ab39b2 Updated license to 2012.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-02-15 20:27:27 +01:00
Jonas Bonér
0099146b79 Fixed './scripts/generate_config_with_secure_cookie.sh' - generated the wrong config.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
2012-02-15 20:21:59 +01:00
Bruce Mitchener
3d90f480d0 Fix spelling errors. 2012-02-14 19:50:01 +07:00
Roland
c316cd4e0b don’t mask origin NPE when invoking actor 2012-02-13 22:54:06 +01:00
Roland
c59e1381ab update to latest config lib 2012-02-13 22:38:18 +01:00
Roland
2cf9353ca3 Merge branch 'master' of github.com:jboner/akka 2012-02-13 22:32:12 +01:00
Viktor Klang
8a20a37568 Nulling out the actor field when the actor terminates 2012-02-13 22:27:33 +01:00
Viktor Klang
68d0e2612d Performance optimization for BalancingDispatcher 2012-02-13 22:09:57 +01:00
Roland
d814de6c9f Merge branch 'master' of github.com:jboner/akka 2012-02-13 22:07:47 +01:00
Viktor Klang
060633331a Restoring the order of the universe 2012-02-13 22:07:12 +01:00
Roland
6fbcfe62af Merge branch 'master' of github.com:jboner/akka 2012-02-13 22:05:51 +01:00
Viktor Klang
4980118159 Renaming buddies to team and then optimized usage of the teamwork 2012-02-13 22:04:39 +01:00
Roland
e4aaae4d74 Merge branch 'master' of github.com:jboner/akka 2012-02-13 21:38:20 +01:00
Viktor Klang
0f314582b8 Sprinkling magic dust and webscale sauce 2012-02-13 21:37:30 +01:00
Roland
c0ec1b994f fix AddressExtractor (from URI) 2012-02-13 20:48:25 +01:00
Roland
c9b8062fe7 Merge branch 'wip-1800-balancing-è' 2012-02-13 20:44:32 +01:00
Roland
11f067abfc fix DefaultResizer.pressure, make ResizerSpec less flaky
- also clean up left-over reference to “buddy-wakeup-threshold”
2012-02-13 20:42:14 +01:00
Roland
89cf7aa2f0 unborking compile in akka-cluster (sorry …) 2012-02-13 20:38:02 +01:00
Roland
14d180c92a unborking compile in akka-cluster (sorry …) 2012-02-13 20:16:54 +01:00
Viktor Klang
aef41fbef3 Merge branch 'master' into wip-1800-balancing-è 2012-02-13 18:18:29 +01:00
viktorklang
f371e817f1 Merge pull request #325 from jboner/wip-1806-Address-parsing-∂π
make unbalanced Address() constructor private, fix parsing, see #1806
2012-02-13 09:17:58 -08:00
Viktor Klang
607ec4c2cf Switching approaches to check for max throttle 2012-02-13 18:14:35 +01:00
Roland
669a4ff9ca make unbalanced Address() constructor private, fix parsing, see #1806 2012-02-13 17:46:14 +01:00
Roland
7c57a9d60e final touch to actor start-up sequence
split systemDispatch(Create()) into systemEnqueue(Create()) directly
after createMailbox and registerForExecution from within
Dispatcher.attach() (resp. CallingThreadDispatcher.register() does its
own thing)
2012-02-13 15:33:31 +01:00
Roland
bb40c1ae30 tweak ResizerSpec to work better with async Resize(), see #1814
- previously relied on resize() being invoked before enqueueing to the
  mailbox, which is not at all guaranteed any longer.
2012-02-13 15:33:10 +01:00
viktorklang
9b9378c2f8 Merge pull request #324 from jboner/wip-1538-http-docs-he
Wip 1538 http docs he
2012-02-13 05:12:10 -08:00
viktorklang
216513933a Merge pull request #323 from jboner/wip-1808-timeout-patriknw
Replace akka.actor.timeout with specfic settings. See #1808
2012-02-13 04:52:30 -08:00
Roland
251a7cc7e3 clean up BalancingDispatcher:
- change from messageQueue.numberOfMessages to maintaining an AtomicLong
  for performance reasons
- add comments/scaladoc where missing
- remove some assert()s
- fix ResiserSpec to employ buddy-wakeup-threshold
2012-02-13 12:38:59 +01:00
Henrik Engstrom
0cc34fdb3c Added resolver to Typesafe snapshot repo used for play-mini. See #1538 2012-02-13 08:42:57 +01:00
Henrik Engstrom
1e879b6d03 Added HTTP docs with a sample application. See #1538 2012-02-12 23:09:47 +01:00
Viktor Klang
49f101d186 #1813 - Adding clarification regarding JMM and Futures 2012-02-12 19:20:00 +01:00
Roland
5a9ec45d01 first stab at balancing algorithm: it passes the tests
- add new config item "buddy-wakeup-threshold" which defaults to 5
- if BWT>=0, then check mailbox.numberOfMessages in case the target
  actor was not scheduled during dispatch and schedule a buddie if that
  is found >=BWT (BWT is a getfield)
- if during unregister() there are messages in the queue, schedule a
  buddie

This way people can tune which behavior they want, knowing full well
that numberOfMessages is O(n).
2012-02-10 22:22:09 +01:00
Roland
880f09be22 special start-up sequence for actors on BalancingDispatcher
Normally the ActorCell would register the actor with the dispatcher
(yeah, I moved it into the logical order, because the other one was
specifically done for BD but does not work out) and then dispatch the
Create() message. This does not work for BD, because then the actor
could potentiall process a message before Create() is enqueued, so
override systemDispatch() to drop Create() and insert that during
register() (which is called from attach()), making sure to achieve the
following order:

- enqueue Create()
- register with dispatcher
- add to buddies
- schedule mailbox
2012-02-10 21:29:11 +01:00
Roland
a2ef3eed7e scaffolding: make debug printout more useful, add assertions 2012-02-10 20:56:52 +01:00