Overview
Explore transactional event sourcing using Slick in this 47-minute conference talk from Scala Days Berlin 2016. Dive into the benefits of event sourcing as an alternative to traditional CRUD architectures, focusing on its implementation with relational databases and SQL. Learn how to create a persistent stream of events that drives read model changes and business logic, enabling state recreation and detailed audit logging. Through live coding, discover the 'slick-eventsourcing' micro-framework and its core concepts: command handlers, read model updates, and event listeners. Understand how Slick's 'DBAction' and Scala's flexibility provide an elegant DSL for building event-sourced applications with minimal dependencies. Gain insights into solving common problems and addressing potential challenges in implementing this approach.
Syllabus
Introduction
Conference Application
What is Event Sourcing
Why use Event Sourcing
History with auditing
Goals
Other approaches
Events
Read Model
DPI Election
Descriptions
Overview
Coding
Registry
Demo
Problems
Questions
Taught by
Scala Days Conferences