Event Sourcing and CQRS - A better alternative to CRUD for Microservices


Details
This meeting is hosted by Jfokus (http://jfokus.se) at the conference venue, but open to non-Jfokus attendees as well.
18:30 Doors open, light food and mingle
19:00 Welcome, Enno
19:05 Event Sourcing and CQRS - A better alternative to CRUD for Microservices, James Roper
CRUD is a perfectly acceptable approach to persisting data in a monolith because a monolith has a single database that can implement ACID transactions. This allows the database to ensure consistency is maintained in the face of failure, which lets developers focus on their domain problem rather than on handling failures. However, when you move to microservices, you isolate the data in your services, and suddenly you cannot rely on ACID transactions to handle failures for you. In this presentation, I'll demonstrate what happens when microservices that use CRUD encounter failure, and show that a developer using CRUD cannot rely the technologies they build on top of to handle failure for them. I'll then demonstrate how an alternative approach to persistence - Event Sourcing with CQRS - deals with failure, allowing the developer to once again focus on their domain problem, rather than handling failures. This will be demonstrated live using the Lagom Scala persistence API.
ca 20:30 After the talk we will join the Jfokus mingle at the same venue.

Event Sourcing and CQRS - A better alternative to CRUD for Microservices