December 2019
Intermediate to advanced
494 pages
11h 41m
English
Unlike Stateless services, stateful services do have to store some portion of the state, which must be kept consistent and present for the service to function correctly.
An example of a stateful service is a service that constantly needs to calculate a rolling average based on certain values it receives. To achieve this, it must have the current set of incoming requests that it needs to process, as well as the current average. This average needs to be stored in an external store by each service, which retrieves and processes the incoming request. This data can be stored inside Azure Tables Storage or another type of database, such as Azure SQL Database, Azure Cosmos DB, or Azure Database for MySQL.
When using Azure Service ...