here is the scenario in my mission critical application: Actor A does some resource intense work, then sends a message to actor B on another physical unix box. B is accessing external network elements and may take long time to process the message. B then sends back process result back to A.
Q1: A looks up B using B's path. if B's unix box is down or B is not started yet, the lookup will fail. akka doc says a deadletter like actor ref is returned. how do i test it is a normal actor ref or deadletter-like actor ref is returned?
Q2: suppose a normal actor ref of B is return. if A uses B.tell() to send msg to B and the msg fails to reach B's mailbox, which is persistent, how do I know it happened so that A can send the msg to a local actor C with persistent mailbox? C will be trying to deliver the message to B forever until it succeeds.