This event has ended. Visit the official site or create your own event on Sched.
Thursday, October 19 • 12:20pm - 1:10pm
From CRUD to Event Sourcing - Why CRUD is the wrong approach for microservices

Sign up or log in to save this to your schedule and see who's attending!

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 - 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 persistence API.

avatar for James Roper

James Roper

Tech Lead, Lightbend
James is the tech lead of Lagom working for Lightbend. He has experience both in enterprise monoliths and web scale microservices, and is passionate about helping developers understand how their systems must evolve to meet the increasing demands placed on software systems today... Read More →

Thursday October 19, 2017 12:20pm - 1:10pm
Salon J

Attendees (100)