[erlang-questions] [clarify] Limits and overhead of monitors

Vance Shipley vances@REDACTED
Mon Jun 9 17:00:59 CEST 2008


I'm seeing a paralell between this discussion of 100K monitors
and the selective receive thread and the question therein of 
practical reasons why a mailbox would grow large.  If a process
had 100K monitors and there was a cascading crash within that
population of processes you would have a very large number of 
messages arriving in one mailbox.  Furthermore you may well
want to deal with the monitor messages on a priority basis.  If
you are running a marshalling process you'd probably rather know
the consumer process is gone before forwarding a message to it.

	-Vance



More information about the erlang-questions mailing list