Chapter 3 Stateful Services
As discussed in Chapter 1, many services have states. However, efficient and reliable state management in a distributed system is always a challenge. Service Fabric provides unique and deep support for stateful workloads, regardless of whether the workload uses the Service Fabric programming model. In my opinion, state management is the one of the most important contributions Service Fabric brings to the microservices community.
In a distributed environment, especially a large-scale one, messages can get lost, nodes can fail, and communication channels can stall at any time. The CAP theorem states that it’s impossible to achieve consistency, availability, and partition tolerance at the same time. However, this doesn’t ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access