HN 精选

"Turning the database inside out with Apache Samza" by Martin Kleppmann

Strange Loop Conference
9 人推荐 · 跨 9 个月 · 2015–2025
数据库与存储系统分布式系统
"Turning the database inside out with Apache Samza" by Martin Kleppmann

中文导读

Martin Kleppmann 犀利指出传统数据库本质上是全局可变共享状态,提出应将数据视作不断追加的不可变事实日志,再经由 Apache Samza 等流处理器衍生出缓存、索引和视图,融合了 Kafka 与 LinkedIn 在 commit log 上的实战经验。

为什么 HN 推它

许多架构师与后端工程师的启蒙之作,彻底颠覆并重塑了大家对缓存、衍生数据和事件溯源(Event Sourcing)的认知框架。

「这场关于 Apache Samza 的演讲彻底刷新了我对缓存和衍生数据的认知框架。」HN 网友原话:This talk on Apache Samza completely changed how I think about caching and derived data in general
英文原摘要(HackerTube / Claude 整理)

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.

Commenters repeatedly cite it as the talk that reframed how they think about caching, derived data and event sourcing.

HN 上的提及

rec felipesabino · 2015-04 · HN 原文
Samza's author really opened my mind related to how useful stream process is to high performance data processing
strong_rec btown · 2015-04 · HN 原文
Here's an excellent talk that provides some context to the Confluent article
reference atrilumen · 2015-07 · HN 原文
Immutability is useful everywhere in the stack, even the database.
reference rapind · 2016-01 · HN 原文
Data as a stream is pretty interesting too
rec pramodliv1 · 2016-04 · HN 原文
talk by Martin Kleppmann is pretty good too

相关视频