Creating Persistent Actors in Akka.NET with Akka.Persistence
How to Create Akka.NET Actors with Durable State
One of the most frequently asked questions I get is about how to create stateful actors that are also durable by default, meaning that the actor can recover its state from some sort of storage engine in the event that the entire Akka.NET process needs to be restarted.
Enter Akka.Persistence - an entire framework built into Akka.NET that’s designed to allow you to create actors with durable state that can be persisted on any database or storage system you want.
In this post we’re going to explore the concepts behind Akka.Persistence, how it works, and what some of the available storage options are.