D
D
Dmitry Bashinsky2019-05-27 23:33:51
API
Dmitry Bashinsky, 2019-05-27 23:33:51

How to deal with losses in the Actor model?

Hello, I stumbled upon the Actor model and I like it very much, I want to apply it but did not find the answer to a couple of questions.
Since everything works for us in the cache (memory) and is periodically clogged into the database, how do they deal with a cache drop?
after all, if the cache falls, the entire state will be lost in the last hour? If important rollback transactions took place there, how can we protect ourselves from losses?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
�
âš¡ Kotobotov âš¡, 2019-05-28
@angrySCV

google saga pattern.
in general, actors are given a strategy of behavior in case of failures.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question