[Twisted-Python] a question about monotonic clock
dynamicgl at gmail.com
Sun Oct 28 11:43:25 EDT 2012
On Sun, Oct 28, 2012 at 8:28 PM, <exarkun at twistedmatrix.com> wrote:
> On 05:57 am, dynamicgl at gmail.com wrote:
> >Hi All
> > I am quite concerned the ticket 2424 due to our system use
> >reactor.callLater almost anywhere. I know this issue is hard to be
> >otherwise It wouldn't exist for such a long time. So any work around
> >we getting fix it? The only way I can do is to disable NTP or stop
> >sync the time manually and then restart the process. The latter way is
> >to be accepted due to we have many machines.
> NTP does not cause problems with scheduling. NTP gradually slews the
> system clock - it does not introduce discontinuities (either forward or
> backward), it changes the rate at which time passes until the system
> clock agrees with the external clock.
> If you have systems configured to have their system clocks jump
> (`ntpdate` is sometimes used for this), fix them to not be configured
> this way.
> #2424 is primarily about user-initiated events, primarily on desktop
> machines - a user changing the system time, a user suspending the
> machine (and later unsuspending it). There's little or no reason for
> problems related to #2424 to ever come up on a properly maintained
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
Thanks for your answer. It is much clearer from now.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Twisted-Python