MVA: Actor Flow

Bogusław Błoński
2 min readJan 20, 2020

--

Fault tolerance between actors

Context: Have ever wonders about War Machine works? Soldiers dying in battle field, how is possible that command chain is hold and working no matter what happens. How command and responsibility is passed when man is down or injured?

Single Actor responsibility

Single actor interactions

VM that is Actor is responsible interactions with user, and data sources all of actions (arrows) can fail.

Single actor — self healing

Actor Flow

Actor can interact (navigate, pass and refresh data) with other Actors, but better to have mediator between them or routing an Flow Actor Service.

Flow Actor Service is responsible how iterations between Actors are made and what to do in case of fault retry or navigate to safe point.

Fault and retry

Critical fault

Logger “Actor”

It indented logging service that should not kill app and track all actions.

See also:

--

--

Bogusław Błoński
Bogusław Błoński

Written by Bogusław Błoński

Did small internal corporate and big projects with over 1 000 000 active users in ASP.NET and XAMARIN.FORMS and XAMARIN.NATIVE. Blogging for better sleep.

No responses yet