O'Reilly logo

Programming Microsoft Azure Service Fabric by Haishi Bai

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3. Stateful services

As discussed in Chapter 1, “Hello, Service Fabric!,” many services have states by nature. However efficient and reliable, state management is a challenge. In this chapter, you’ll first review the challenges of state management in a distributed system. Then, you’ll learn how Service Fabric solves this problem. And once you understand the theory, you’ll move to a number of exercises that walk you through the steps of creating stateful services.

Service Fabric state management

In a distributed environment, especially in a large-scale distributed environment, any messages could get lost, any nodes could fail, and any communication channels could stall at any time. The CAP theorem states that it’s impossible to achieve ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required