[Eventmachine-talk] next_tick efficiency

Roger Pack
Mon, 12 Nov 2007 16:57:15 -0000

>Not quite sure what you''re actually trying to do here. next_tick
>will
>certainly busy-loop if nothing else is happening in the application.
>Are you waiting for an outbound connection to drain?

Yeah similar to FileStreamer I want to keep tight tabs on the outbound
queues.  I think the answer for now is to just use periodic_timer and
call it good.

Question: should period timer warn when a user enters a time less than
the set quantum?  Do you want me to add that?