Throttling a process
Vlad Dumitrescu (EAW)
Vlad.Dumitrescu@REDACTED
Wed Mar 19 12:35:00 CET 2003
Hi,
I need to be able to throttle down a process, if the node is very busy with more important things. What I thought I could do is check erlang:statistics() and also follow a few well-chosen processes with erlang:process_info(). This information will then be used to set longer sleep intervals for my process, or to simply make it wait until load goes down.
Is this the way to do it? I noticed that process_info has a warning "to noly be used when debugging" - is that a soft warning, or a hard one? :-)
Thanks in advance. Regards,
Vlad
More information about the erlang-questions
mailing list