© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
H. F. Oliveira RochaPractical Event-Driven Microservices Architecturehttps://doi.org/10.1007/978-1-4842-7468-2_4

4. Structural Patterns and Chaining Processes

Hugo Filipe Oliveira Rocha1  
(1)
Ermesinde, Portugal
 
This chapter covers:
  • Understanding why strong consistency and transactions shouldn’t be an option in distributed event-driven systems

  • Why we should avoid two-phase commit and distributed transactions in distributed systems

  • Using orchestration pattern to implement higher-level business processes

  • Using choreography pattern as an alternative to orchestration

  • Understanding CQRS (command query responsibility segregation) and event sourcing and applying it to ...

Get Practical Event-Driven Microservices Architecture: Building Sustainable and Highly Scalable Event-Driven Microservices now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.