[erlang-questions] a question about pragmatic deadlock solutions

Raoul Duke raould@REDACTED
Thu Jul 10 03:04:03 CEST 2014


https://github.com/laforge49/JActor2

"Unfortunately, this problem [deadlock among actors] rarely comes up
in simple designs or initial implementations. It is only as the code
matures and the complexity increases that deadlocks begin to occur.
Supervisors detect such failed actors and restart them, which in turn
gives rise to the increased chance that messages will be lost. So
timeouts are often added, further increasing the complexity of the
code and potentially giving rise to an increasing frequency of
deadlocks."

Do people see this in real world Erlang?

thanks for any thoughts.



More information about the erlang-questions mailing list