当传统数据库在全能路线上挣扎时,Mooncake Labs 核心团队选择拥抱 Postgres 生态,仅用 13 个月便被巨头收购。本期聊聊这群大牛如何用“包月饼”的哲学解决实时分析痛点,并赢得 Databricks 的青睐。

Mooncake 的核心价值在于减少复杂性,不再去重造轮子,而是通过一个 Postgres 扩展实现‘零 ETL’,让数据在交易型数据库和分析型湖仓之间实现亚秒级的实时同步。
Mooncake Labs (software development and data company) - focus on its company history and founding.








Mooncake Labs 是一家由 Zhou Sun、Cheng Chen 和 Pranav Aurora 于 2024 年在旧金山创立的初创公司,在成立仅 13 个月后就被大数据巨头 Databricks 收购。其核心产品是一个名为 pg_mooncake 的 Postgres 开源扩展。这个扩展旨在打破交易型数据库(OLTP)与分析型数据库(OLAP)之间的隔阂,让开发者能够直接在熟悉的 Postgres 环境中获得高性能的实时分析能力。
Mooncake 通过其核心组件 Moonlink(一个用 Rust 编写的库)来实现这一目标。Moonlink 作为 Postgres 的后台工作线程运行,实时监控逻辑复制日志。一旦主库有数据插入或更新,它会立即感知并将数据转换为 Apache Iceberg 开放格式,直接推送到云端对象存储(如 S3)。这种机制省去了传统架构中复杂的 ETL 管道(如 Kafka 或 Flink),实现了数据的实时同步与分析。
AI 智能体在运行过程中会产生海量数据并需要即时反馈。传统架构由于数据搬运延迟,往往只能提供“过去的数据”,导致 AI 决策滞后。Mooncake 提供的亚秒级刷新能力让 AI 智能体能够基于实时数据进行推理和决策。此外,它整合了 DuckDB 的向量化执行能力,能够高效处理 AI 应用所需的复杂关联分析和大规模聚合查询。
为了保证系统的稳定性,Mooncake 建议在生产环境中将 Moonlink 作为一个独立的服务运行,而不是直接作为 Postgres 内部的插件,以避免分析任务占用主数据库的 CPU 和内存资源。此外,由于数据存储在 S3 等对象存储上,数据库实际上变成了“无状态”的,这极大地增强了系统的扩展性。对于想要尝试的企业,可以先从非核心的实时监控场景开始,逐步替换原有的重型数据管道。
Создано выпускниками Колумбийского университета в Сан-Франциско
"Instead of endless scrolling, I just hit play on BeFreed. It saves me so much time."
"I never knew where to start with nonfiction—BeFreed’s book lists turned into podcasts gave me a clear path."
"Perfect balance between learning and entertainment. Finished ‘Thinking, Fast and Slow’ on my commute this week."
"Crazy how much I learned while walking the dog. BeFreed = small habits → big gains."
"Reading used to feel like a chore. Now it’s just part of my lifestyle."
"Feels effortless compared to reading. I’ve finished 6 books this month already."
"BeFreed turned my guilty doomscrolling into something that feels productive and inspiring."
"BeFreed turned my commute into learning time. 20-min podcasts are perfect for finishing books I never had time for."
"BeFreed replaced my podcast queue. Imagine Spotify for books — that’s it. 🙌"
"It is great for me to learn something from the book without reading it."
"The themed book list podcasts help me connect ideas across authors—like a guided audio journey."
"Makes me feel smarter every time before going to work"
Создано выпускниками Колумбийского университета в Сан-Франциско
