We will cover the following recipes in this chapter:
- Preparing an actor for persistence
- Recovering the state of an actor
- Safely shutting down a persistent actor
- Reducing recovery time using snapshots
- Creating a persistence FSM model
- Persisting the state to LevelDB
- Persisting the state to Cassandra
- Persisting the state to Redis
- Understanding event sourcing
- Handling failure in event sourcing
- Using persistence query
- Persistence query for LevelDB