[erlang-questions] Timers for hibernated processes
Wed Nov 23 04:30:49 CET 2011
I wonder what the difference is between using erlang:start_timer(Timeout,
Pid, Msg) and directly using the receive-after clause as below:
_Event -> ok
Timeout -> Pid ! Msg
On Wed, Nov 23, 2011 at 7:20 AM, Scott Lystig Fritchie <
> Jesper Louis Andersen <> wrote:
> jla> In *principle* this kind of structure should be extremely
> jla> scalable. I would try reconstructing the problem without any kind
> jla> of other subsystem (TCP, Cowboy, ...) first, so you have a smaller
> jla> failing test case. Then you can probably instrument Erlang/OTP by
> jla> inspecting the Timer wheel. This will probably tell us a lot more
> jla> about the limitations of the timer wheel structure in this case.
> Sounds like an excellent use of DTrace, hint hint.....
> The hints aren't just for Jesper and Zvi but anyone else who's intersted
> in measuring the behavior of stuff inside the Erlang VM. This stuff is
> working its way into (we hope!) R15B right now. To read more about it,
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions