Commits on Feb 13, 2012
  1. update to latest config lib

    rkuhn committed Feb 13, 2012
  2. fix AddressExtractor (from URI)

    rkuhn committed Feb 13, 2012
  3. fix DefaultResizer.pressure, make ResizerSpec less flaky

    - also clean up left-over reference to “buddy-wakeup-threshold”
    rkuhn committed Feb 13, 2012
  4. Merge pull request #325 from jboner/wip-1806-Address-parsing-∂π

    make unbalanced Address() constructor private, fix parsing, see #1806
    viktorklang committed Feb 13, 2012
  5. 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)
    rkuhn committed Feb 13, 2012
  6. 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.
    rkuhn committed Feb 13, 2012
  7. Merge pull request #324 from jboner/wip-1538-http-docs-he

    Wip 1538 http docs he
    viktorklang committed Feb 13, 2012
  8. Merge pull request #323 from jboner/wip-1808-timeout-patriknw

    Replace with specfic settings. See #1808
    viktorklang committed Feb 13, 2012
  9. 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
    rkuhn committed Feb 13, 2012
Commits on Feb 12, 2012
Commits on Feb 10, 2012
  1. 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
    This way people can tune which behavior they want, knowing full well
    that numberOfMessages is O(n).
    rkuhn committed Feb 10, 2012
  2. 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
    rkuhn committed Feb 10, 2012
  3. change IdentityHashComparator to fall back to a real one

    System.identityHashCode is not guaranteed to be consistent with equals()
    (cannot be, just imagine more than 2^32 objects); fix it by checking
    equals in case 0 would be returned and fall back to a real Comparator in
    case that’s needed.
    rkuhn committed Feb 10, 2012