#1946 - Adding clarification in docs about the HashedWheelTimer semantics

This commit is contained in:
Viktor Klang 2012-04-23 14:30:28 +02:00
parent 4204b31759
commit 8df2314bb3
3 changed files with 15 additions and 1 deletions

View file

@ -15,6 +15,13 @@ You can schedule sending of messages to actors and execution of tasks (functions
You will get a ``Cancellable`` back that you can call :meth:`cancel` on to cancel the execution of the
scheduled operation.
.. warning::
The default implementation of ``Scheduler`` used by Akka is based on the Netty ``HashedWheelTimer``.
It does not execute tasks at the exact time, but on every tick, it will run everything that is overdue.
The accuracy of the default Scheduler can be modified by the "ticks-per-wheel" and "tick-duration" configuration
properties. For more information, see: `HashedWheelTimers <http://www.cse.wustl.edu/~cdgill/courses/cs6874/TimingWheels.ppt>`_.
Some examples
-------------