5
Introducing State Management
State management for services and actors is a centerpiece of Dapr. This chapter will illustrate how an application can transfer the responsibility of managing state to Dapr, with the ability to switch between different state store types.
These are the main topics that we will explore:
- Managing state in Dapr
- Stateful services in an e-commerce ordering system
- Using Azure Cosmos DB as a state store
Most, if not all, of our services and actors in the Dapr applications we are building have data persisted as a state.
The state could be the status of a request, kept aside to be able to return additional information of a complex interaction at a later stage, or it could be the central information managed by the service, ...
Get Practical Microservices with Dapr and .NET - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.