Please log in to watch this conference skillscast.
The microservice architecture functionally decomposes an application into a set of services. Each service has its own private database that’s only accessible indirectly through the services API. Consequently, implementing queries and transactions that span multiple services is challenging. In this presentation, you will learn how to solve these distributed data management challenges using asynchronous messaging. I describe how to implement transactions using sagas, which are sequences of local transactions, coordinated using messages. You will learn how to implement queries using Command Query Responsibility Segregation (CQRS), which uses events to maintain replicas. I describe how to use event sourcing, which is an event-centric approach to business logic and persistence, in a microservice architecture.
YOU MAY ALSO LIKE:
- Distributed Data Patterns for Microservices — Half‑Day Workshop [SAG Digital 2021] (Online Course on 12th October 2021)
- Dark Energy, Dark Matter: Imperfect Metaphors for Designing Microservices (SkillsCast recorded in April 2021)
- The Science of Queues: Performance Monitoring for Themes Parks and Distributed Systems (SkillsCast recorded in December 2020)
- Solving Problems like a Game Designer (SkillsCast recorded in December 2020)
Events and Commands: Developing Asynchronous Microservices
Chris Richardson is a developer and architect. He is a Java Champion, a JavaOne rock star and the author of POJOs in Action, which describes how to build enterprise Java applications with frameworks such as Spring and Hibernate.