Session

Tackle Eventual Consistency with Domain Events

Writing an application that follows the eventual consistency pattern requires a different way of thinking (and coding). Applying Domain-Driven Design (DDD) equally requires a shift in your way of working. DDD encourages you to use eventual consistency as a way to improve the performance, scalability, or flexibility of your system.

This workshop will give a short and concise hands-on introduction on how to apply the Domain Event pattern in a Spring Boot application and achieve eventually consistent behaviour.

In DDD, a domain event is an occurrence that is meaningful to the domain and has an associated set of implications. Domain events are a way of representing the changing state of the domain. They provide a means for different parts of the system to communicate and respond to changes in the domain in a decoupled or loosely-coupled manner. Our system becomes event-driven.

Event-Driven architectures become increasingly relevant in our world, where the race to the public cloud has already begun and we as developers need to think more and more in distributed contexts. Performance, Scalability and Flexibility play a crucial role in this.

First public delivery: Devoxx UK 2023
preferred Session duration: 2 hours

Maik Kingma

Principal Consultant @ the/experts.

Breda, The Netherlands

Actions

Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.

Jump to top