=act #17372 warn when non-zero push timeout detected

This commit is contained in:
Konrad Malawski 2015-08-20 15:16:32 +02:00
parent e1f54d5367
commit 3036012e58
5 changed files with 216 additions and 180 deletions

View file

@ -105,12 +105,13 @@ configuration section from the actor systems configuration, overriding its
``id`` key with the configuration path of the mailbox type and adding a
fall-back to the default mailbox configuration section.
Builtin implementations
=======================
Builtin Mailbox Implementations
===============================
Akka comes shipped with a number of mailbox implementations:
* UnboundedMailbox
* **UnboundedMailbox** (default)
- The default mailbox
- Backed by a ``java.util.concurrent.ConcurrentLinkedQueue``
@ -119,87 +120,29 @@ Akka comes shipped with a number of mailbox implementations:
- Bounded: No
- Configuration name: "unbounded" or "akka.dispatch.UnboundedMailbox"
- Configuration name: ``"unbounded"`` or ``"akka.dispatch.UnboundedMailbox"``
* SingleConsumerOnlyUnboundedMailbox
* **SingleConsumerOnlyUnboundedMailbox**
- Backed by a very efficient Multiple-Producer Single-Consumer queue, cannot be used with BalancingDispatcher
- Backed by a very efficient Multiple-Producer Single-Consumer queue, cannot be used with ``BalancingDispatcher``
- Blocking: No
- Bounded: No
- Configuration name: "akka.dispatch.SingleConsumerOnlyUnboundedMailbox"
- Configuration name: ``"akka.dispatch.SingleConsumerOnlyUnboundedMailbox"``
* BoundedMailbox
* **NonBlockingBoundedMailbox**
- Backed by a ``java.util.concurrent.LinkedBlockingQueue``
- Blocking: Yes
- Bounded: Yes
- Configuration name: "bounded" or "akka.dispatch.BoundedMailbox"
* NonBlockingBoundedMailbox
- Backed by a very efficient MultiPle-Producer Multiple-Consumer queue
- Backed by a very efficient Multiple-Producer Multiple-Consumer queue
- Blocking: No
- Bounded: Yes
- Configuration name: "akka.dispatch.NonBlockingBoundedMailbox"
- Configuration name: ``"akka.dispatch.NonBlockingBoundedMailbox"``
* UnboundedPriorityMailbox
- Backed by a ``java.util.concurrent.PriorityBlockingQueue``
- Delivery order for messages of equal priority is undefined - contrast with the UnboundedStablePriorityMailbox
- Blocking: Yes
- Bounded: No
- Configuration name: "akka.dispatch.UnboundedPriorityMailbox"
* BoundedPriorityMailbox
- Backed by a ``java.util.PriorityQueue`` wrapped in an ``akka.util.BoundedBlockingQueue``
- Delivery order for messages of equal priority is undefined - contrast with the BoundedStablePriorityMailbox
- Blocking: Yes
- Bounded: Yes
- Configuration name: "akka.dispatch.BoundedPriorityMailbox"
* UnboundedStablePriorityMailbox
- Backed by a ``java.util.concurrent.PriorityBlockingQueue`` wrapped in an ``akka.util.PriorityQueueStabilizer``
- FIFO order is preserved for messages of equal priority - contrast with the UnboundedPriorityMailbox
- Blocking: Yes
- Bounded: No
- Configuration name: "akka.dispatch.UnboundedStablePriorityMailbox"
* BoundedStablePriorityMailbox
- Backed by a ``java.util.PriorityQueue`` wrapped in an ``akka.util.PriorityQueueStabilizer`` and an ``akka.util.BoundedBlockingQueue``
- FIFO order is preserved for messages of equal priority - contrast with the BoundedPriorityMailbox
- Blocking: Yes
- Bounded: Yes
- Configuration name: "akka.dispatch.BoundedStablePriorityMailbox"
* UnboundedControlAwareMailbox
* **UnboundedControlAwareMailbox**
- Delivers messages that extend ``akka.dispatch.ControlMessage`` with higher priority
@ -211,7 +154,67 @@ Akka comes shipped with a number of mailbox implementations:
- Configuration name: "akka.dispatch.UnboundedControlAwareMailbox"
* BoundedControlAwareMailbox
Previously available mailbox implementations which were deprecated because they might block:
* **BoundedMailbox**
- Backed by a ``java.util.concurrent.LinkedBlockingQueue``
- Blocking: Yes
- Bounded: Yes
- Configuration name: "bounded" or "akka.dispatch.BoundedMailbox"
* **UnboundedPriorityMailbox**
- Backed by a ``java.util.concurrent.PriorityBlockingQueue``
- Delivery order for messages of equal priority is undefined - contrast with the UnboundedStablePriorityMailbox
- Blocking: Yes
- Bounded: No
- Configuration name: "akka.dispatch.UnboundedPriorityMailbox"
* **BoundedPriorityMailbox**
- Backed by a ``java.util.PriorityQueue`` wrapped in an ``akka.util.BoundedBlockingQueue``
- Delivery order for messages of equal priority is undefined - contrast with the ``BoundedStablePriorityMailbox``
- Blocking: Yes
- Bounded: Yes
- Configuration name: ``"akka.dispatch.BoundedPriorityMailbox"``
* **UnboundedStablePriorityMailbox**
- Backed by a ``java.util.concurrent.PriorityBlockingQueue`` wrapped in an ``akka.util.PriorityQueueStabilizer``
- FIFO order is preserved for messages of equal priority - contrast with the UnboundedPriorityMailbox
- Blocking: Yes
- Bounded: No
- Configuration name: "akka.dispatch.UnboundedStablePriorityMailbox"
* **BoundedStablePriorityMailbox**
- Backed by a ``java.util.PriorityQueue`` wrapped in an ``akka.util.PriorityQueueStabilizer`` and an ``akka.util.BoundedBlockingQueue``
- FIFO order is preserved for messages of equal priority - contrast with the BoundedPriorityMailbox
- Blocking: Yes
- Bounded: Yes
- Configuration name: "akka.dispatch.BoundedStablePriorityMailbox"
* **BoundedControlAwareMailbox**
- Delivers messages that extend ``akka.dispatch.ControlMessage`` with higher priority
@ -223,6 +226,7 @@ Akka comes shipped with a number of mailbox implementations:
- Configuration name: "akka.dispatch.BoundedControlAwareMailbox"
Mailbox configuration examples
==============================