Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Event Sourced Architecture: A Deep Dive

Tejas Kumar via YouTube

Overview

Coursera Plus Monthly Sale: All Certificates & Courses 40% Off!
This 90-minute podcast episode provides a comprehensive deep dive into Event Sourcing architecture, beginning with fundamental definitions rooted in Domain Driven Design and exploring how this pattern records every state change in an application. Learn about the nature of events, real-world implementation strategies, and the balance between benefits and challenges of this approach. Discover practical aspects including storage costs, computational expenses, and performance optimization through snapshotting. The discussion covers essential related concepts like event ownership, Command Query Responsibility Segregation (CQRS), and ensuring data consistency with Apache Kafka. Explore Kafka's performance mechanisms, its role as an event store, and the transition from Zookeeper to KRaft for cluster coordination. Compare alternatives like using Postgres' Write-Ahead Logging as an event store, examine industry use cases, and get practical advice for common implementation problems. By the conclusion, gain clarity on whether Event Sourcing is the right architectural choice for specific project requirements.

Syllabus

00:00 - Intro
03:33 - Sponsor CrabNebula.dev
04:21 - Defining Event Sourcing
07:47 - What are Events? Domain Driven Design
14:45 - Real-World Examples of Event Sourcing
19:52 - Complexities of Event Sourcing
21:33 - Storage Costs
23:36 - Computational Costs
24:10 - Snapshotting
35:15 - Event Ownership
36:19 - CQRS
44:08 - Consistency with Kafka
54:10 - Kafka Performance Mechanisms
01:03:05 - Kafka as an Event Store
01:04:13 - Zookeeper & KRaft
01:09:47 - Postgres WAL as an Event Store?
01:13:24 - Event Sourcing Use Cases
01:18:50 - Event Sourcing Problems
01:26:22 - Should You Event Source?
01:27:44 - Conclusion

Taught by

Tejas Kumar

Reviews

Start your review of Event Sourced Architecture: A Deep Dive

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.