[erlang-questions] On selective receive (Re: eep: multiple patterns)

Christian S <>
Tue Jun 3 12:38:07 CEST 2008

On Tue, Jun 3, 2008 at 12:11 PM, Sean Hinde <> wrote:
> I respectfully disagree. It is nigh on impossible to predict where
> there might be some error that leads to a large queue, and this would
> lead to "defensive programming" where every process has a short max
> length. This would result in random crashes and loss of data for those
> uncommon situations in an generally well designed system where there
> might be a legitimate short term peak in queue lengths.
> We already have a mechanism to restart if a queue grows too large
> (actually 2 - process_info monitoring, and out of memory !)

Maybe more-queued-than-a-set-threshold could be made into a traceable event?

What happened to the thread about creating a dtrace provider for erlang?

More information about the erlang-questions mailing list