[erlang-questions] Process Dictionary limitations??

Max Lapshin max.lapshin@REDACTED
Fri Oct 12 08:22:48 CEST 2012


No. Process dictionary is readable outside of process.

It should be used only as a well-known hack where you cannot work without it.
For example, it is the only way to collect information about busy process.

Think about process dictionary as of the way to make labels for processes.

For example in erlyvideo it is used to mark processes like:
put(flu_name, {stream, <<"stream1">>}) and thus I can understand, that
it is this problematic stream, that consumed 5 GB of ram.



More information about the erlang-questions mailing list