My YOW! 2018 presentation: Events and Commands: Developing Asynchronous Microservices
At the end of 2018, I presented at the YOW! conference, which took place in Sydney, Brisbane, and Melbourne. It’s a great conference with some excellent speakers.
Presentation
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.
Video
You can also watch the video.
Learn more
- Read my book Microservices patterns
- My open-source frameworks:
- Event Sourcing - Eventuate Local
- Transactional messaging - Eventuate Tram
- Saga orchestration - Eventuate Tram Sagas
- Example applications
- In depth saga presentation including video
Need help adopting microservices?
I provide consulting and training.