Distributed workflows expose whether a service split is truly workable or only looks clean in a diagram.
Distributed workflows expose whether a service split is truly workable or only looks clean in a diagram. Chapter 8 focuses on the moment a business process crosses several services and the system has to handle partial completion, delayed updates, retries, and recovery without pretending the whole workflow is one local transaction.
Read the lessons in order. The first explains why transaction boundaries become harder once state is distributed. The second turns eventual consistency into a practical design constraint instead of a vague slogan. The third compares saga orchestration and choreography. The fourth shows how compensation and failure design determine whether a workflow is survivable in production.
If a proposed decomposition seems clean until someone asks, “What happens when step three fails after step two already committed?”, this chapter is where the real architectural work starts.