Episode 351 - Bernd Rucker on Orchestrating Microservices with Workflow Management

Published: Jan. 10, 2019, 11:39 p.m.

Bernd R\xfccker, who has contributed to multiple open source workflow management projects, discusses orchestrating microservices with workflow management.\xa0 As distributed systems evolve into a family of microservices that must handle long-running stateful processes with time-dependent actions, events, multiple paths through the system, and complex rollbacks, the workflow management model provides a way to ensure clear modeling, correctness, and separation of concerns.\xa0\xa0 R\xfccker recommends a federated model in which each microservice is paired with its own workflow to handle retries and other policies and failure modes around that service.\xa0 Robert Blumen spoke with R\xfccker about microservice architecture, event-driven systems, long-running stateful processes versus synchronous request/response, event handling, time-outs, and handling exceptional conditions with compensating transactions. R\xfccker compares the choreography versus orchestration models for collaboration and discusses why orchestration provides a better separation of concerns.\xa0 The discussion delves into the implementation of workflow management systems including persistence, scaling, event handling, timers and scheduling, and similarities to CQRS.\xa0 The discussion wraps up with monitoring and visualization.