[Twisted-Python] scheduling timers with long interval
Alec Matusis
matusis at yahoo.com
Fri Aug 17 17:25:19 MDT 2007
I have a server that is running for weeks without restart, under significant load.
I am considering adding a function to it that requires setting long timers like
twisted.internet.reactor.callLater(604800, func)
i.e. scheduling events one week ahead. There will be up to 500 timers active at any given time.
I do not know how the scheduler works. Will having these timers with very long intervals significantly tax the performance, since the reactor will have to check on their status with every churn of the reactor loop?
Thanks
Alec
More information about the Twisted-Python
mailing list