MuleESB / Akka interview questions
How Actors handle error situations gracefully?
When the delegated task on the target actor failed due to an error in the task, service actor will reply to the sender with a message about the error case.
Akka enforces that all actors are organized into a tree-like hierarchy, i.e. an actor that creates another actor becomes the parent of that new actor. When a service itself encounters an internal fault, its parent actor is notified and it can react to the failure.
if the parent actor is stopped due to error conditions, all of its children are recursively stopped, too.
More Related questions...