[Twisted-Python] Scalability of timers
Tobias Oberstein
tobias.oberstein at tavendo.de
Sun Aug 10 16:23:05 MDT 2014
> >What I am after is to explicitly _control_ the maximum syscall rate to
> >select() - not simply max. out the box on syscall rate.
> >
> >Like: limit syscall rate to select() at 1000Hz - regardless how many
> >timers I issue per second.
>
> In other words:
>
> If you ask Twisted to wake up N times per second, is there an API to make
> Twisted wake up M (M<N) times per second instead?
>
> Is that what you're looking for?
Yes, exactly.
I want to trade less precision (timers fire at less exact times) for higher efficiency (less context switches).
/Tobias
More information about the Twisted-Python
mailing list