"Turning the database inside out with Apache Samza" by Martin Kleppmann
What it is
Martin Kleppmann argues that databases are global shared mutable state and proposes treating them as an ever-growing log of immutable facts. Derived data such as caches, indexes and views is then built by stream processors like Apache Samza. The talk draws on Kafka and LinkedIn's experience with commit logs.
Why Hacker News recommends it
Commenters repeatedly cite it as the talk that reframed how they think about caching, derived data and event sourcing.
- 9 people recommended it
- 9 different months
- 5 strong recommendations
- first 2015, last 2025
What HN commenters said
“Here's an excellent talk that provides some context to the Confluent article”
Simplifying database-cache interactions by thinking in streams of derived data
btown, 2015-04 · Strong recommendation · in “How Sift Science Rebuilt Its App on React and DropWizard”
“I can highly recommend Martin Kleppmann”
Explains the log as the core of databases
lbradstreet, 2018-05 · Strong recommendation · in “GCP and Confluent partner to deliver a managed Apache Kafka service”
“This talk on Apache Samza completely changed how I think about caching and derived data in general”
Changed how commenter thinks about caching and derived data
chamomeal, 2025-08 · Strong recommendation · in “Replacing a cache service with a database”
“Samza's author really opened my mind related to how useful stream process is to high performance data processing”
Shows how useful stream processing is for data processing
felipesabino, 2015-04 · Recommendation · in “Real-Time Full-Text Search with Luwak and Samza”
“talk by Martin Kleppmann is pretty good too”
Modern concrete example of event sourcing ideas
pramodliv1, 2016-04 · Recommendation · in “GraphQL-enabled event sourcing engine”
“I think this video[1] does a nice job of talking about stream processing as a programming architecture.”
Stream processing as a programming architecture linked to messaging
z1mm32m4n, 2016-06 · Recommendation · in “Alan Kay on the misunderstanding of OOP (1998)”
“a good starter to for knowing how to use a Streaming Store like Kafka as DB”
Starter for using a streaming store like Kafka as a database
je42, 2020-12 · Recommendation · in “Kafka Is Not a Database”
“Martin's talk validated many of my obsessive-compulsive insecurities about data.”
Inspired the commenter's adoption of event sourcing
dmitryminkovsky, 2021-09 · Recommendation · in “The Reactive Monolith – How to Move from CRUD to Event Sourcing”
Excerpts from Hacker News comments, linked to the originals. Summaries and labels were written by a language model from those comments.
Topics: apache samza, kafka, event sourcing, immutable data, commit log, derived data
Also recommended by the same people
lectureDistributed Systems 1.1: IntroductionMartin Kleppmann · 5 HN recommenders · 2021–2025
lectureLecture 1: IntroductionMIT 6.824: Distributed Systems · 5 HN recommenders · 2020–2025
lecture01 - Course Introduction & Relational Model (CMU Databases Systems / Fall 2019)CMU Database Group · 6 HN recommenders · 2020–2023
lecturePreface | MIT Calculus Revisited: Single Variable CalculusMIT OpenCourseWare · 4 HN recommenders · 2017–2025
commentaryThe Next Major RTS Will Fail. This Is Why.GiantGrantGames · 2 HN recommenders · 2023–2024
documentaryHow We Made MuseScore 4 - Music App Design is Challenging!Tantacrul · 4 HN recommenders · 2022–2026
talkCheerpX: a WebAssembly-based x86 virtual machine in the browser, Yuri IozzelliWebAssembly NA · 2 HN recommenders · 2020–2025
demoNaN Gates and Flip FLOPSsuckerpinch · 7 HN recommenders · 2020–2025