API Summit 2019
Das große Trainingsevent für Web APIs mit Java, .NET und Node.js
9. - 11. Dezember in Berlin

Events, Flows und long-running Services

Workshop
Dieser Talk Stammt aus dem Archiv. zum AKTUELLEN Programm
Very Early Bird Bis 26. September anmelden und bis zu 400 € extra sparen! Jetzt anmelden
Infos
Dienstag, 18. Juni 2019
13:30 - 17:00

Event-driven architectures enable nicely decoupled microservices. However, using peer-to-peer event chains to implement complex end-to-end logic crossing service boundaries can accidentally increase coupling. Extracting such business logic into dedicated services reduces coupling and allows to keep sight of larger-scale flows – without violating bounded contexts, harming service autonomy, or introducing god services. Service boundaries get clearer and service APIs get smarter by focusing on their potentially long-running nature. I will demonstrate how a new generation of lightweight and highly-scalable state machines ease the implementation of long-running services. I will emphasise how this can also help to solve consistency challenges in distributed systems. Based on real-life experience, I will share how to handle complex logic and flows which require proper reactions on failures, timeouts, and compensating actions, and provide guidance backed by code examples.

Bitte beachten: Der Workshop wird auf Deutsch gehalten!