Link Details

Link 880953 thumbnail
User 355617 avatar

By piccoloprincipe
Published: Nov 22 2012 / 08:10

Linking processes bidirectionally is a robust way of dealing with failures: a parent can be sure its children are stopped when it crashes, while it can trap the exit signals from them to handle their demise. However, you have also the option of trapping exists unidirectionally: in this scenario a process A will monitor the state of process B, but B won't be aware of the status of A or if it still exists at all.
  • 3
  • 0
  • 538
  • 19021

Add your comment

Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Upvoters (3)

Downvoters (0)

    Apache Hadoop
    Written by: Piotr Krewski
    Featured Refcardz: Top Refcardz:
    1. Play
    2. Akka
    3. Design Patterns
    4. OO JS
    5. Cont. Delivery
    1. Play
    2. Java Performance
    3. Akka
    4. REST
    5. Java