Hi Lawrence,

this is a very good point to bring up: systematic errors in the event 
application logic will indeed just be recreated during replay, so persistence 
does not lead to resilience in this case. However, it does allow you to fix the 
implementation of your actor and rerun the log in the correct fashion, fixing 
the bug retroactively. This works a lot better for event-sourcing due to 
explicit control over the side-effects, which is why we are going to remove the 
Processor trait and enhance EventsourcedProcessor’s throughput (the lack of 
which is currently the reason for having Processor at all), see 
https://github.com/akka/akka/issues/15230.

Regards,

Roland

14 maj 2014 kl. 22:21 skrev Lawrence Wagerfield <[email protected]>:

> Akka documentation highlights that actor state is reset on failure in 
> standard actor systems.
> 
> However, an actor powered by Persistent messages will simply have these 
> messages replayed and hence will rebuild the same state.
> 
> Does akka-persistence therefore assume we have designed all processors/views 
> to have incorruptible internal state?
> 
> -- 
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ: 
> >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Akka User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.



Dr. Roland Kuhn
Akka Tech Lead
Typesafe – Reactive apps on the JVM.
twitter: @rolandkuhn


-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to