-
Book Overview & Buying
-
Table Of Contents
Practical Microservices with Dapr and .NET - Second Edition
By :
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:
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, such as the quantity of the available product.
State management is equally important for a new, cloud-native solution built with Dapr and for an existing solution to which we are adding Dapr services.
An overview...