Execution Pairs
An execution pair consists of:
Main Actor Am,i
Executes the assigned task Ti.
Monitors the state of the fallback actor Af,i.
Fallback Actor Af,i
Monitors the main actor Am,i.
Takes over if the main actor fails S(Am,i)=failed.
Notifies the orchestration layer to assign a new fallback actor.
The state of an actor S(A) can either be:
Active: The actor is performing its assigned task.
Failed: The actor is unable to complete the task.
The state of an execution pair Pi is considered operational if at least one actor in the pair is active: [S(Pi)=operational⟺S(Am,i)=active∨S(Af,i)=active.] If both actors in the pair fail, the orchestration layer reassigns both roles.
Last updated