EN
返回档案库

档案库 · 开发与企业工具 · 产品决策 · 2021–2026

InstantDB 押注客户端关系型数据库胜过 Firebase;Show HN 获 1,145 分

Joe 和 Stopa 打造的客户端关系型数据库(默认支持认证、离线、多人协作)在 Show HN 上获得 1,145 分,GitHub 星标 10.5k。

InstantDB

它在赌什么一个默认支持认证、离线和多人协作的客户端数据库,让实时应用变成查询——开发者选择 Instant 而不是 Firebase 或手工同步。已上线

做的是什么生意

Instant (InstantDB) is a hosted or self-hostable client-side database: relational data stored as triples in Postgres, queried in the shape you want from JavaScript, React or React Native, with auth, permissions, presence, offline persistence and optimistic updates built in, free at small scale with paid plans that scale.

起因

Joe and Stopa, senior and staff engineers at Facebook and Airbnb, kept rebuilding servers, endpoints, stores and selectors for every feature. In 2021 Stopa wrote that these schleps are database problems in disguise, and in 2022 sketched a relational Firebase as the fix. They got the backing of James Tamplin (CEO of Firebase), built a five-engineer team, pushed roughly 2,000 commits, and open-sourced InstantDB in a 2024-08-22 Show HN.

经过

The Show HN drew 1,145 points and 297 comments. Skeptics asked what made it modern versus Firebase or PocketBase; the founders answered with relations, a datalog engine over Postgres triples and WAL tailing, citing Asana's WorldStore and Figma's LiveGraph, while commenters started shipping real apps — one replaced Firebase in a notes app and another built a bouldering log. By the 2026-09-04 crawl the repo had 10.5k stars, 398 forks and 2,511 commits, and the README's positioning had shifted to 'the best backend for AI-coded apps'.

结果

Still running as of 2026-09-04: the repo is live at 10.5k stars and 2,511 commits with a hosted free tier, paid plans and self-hosting; the record contains no funding, revenue or customer-count disclosures.

背景

Joe 和 Stopa 是 Facebook 和 Airbnb 的高级和主管工程师,他们发现每个功能都需要重建相同的管道——服务器、端点、存储、选择器、乐观更新。2021 年,Stopa 撰文指出这些杂务实际上是数据库问题的伪装;2022 年,他勾勒出解决方案:一个带关系的 Firebase 型数据库,使开发者无需维护后端即可查询所需数据。

公司构建了该数据库为 InstantDB:所有用户数据以三元组形式存储在单个 Postgres 实例中,Clojure 同步服务器尾随 WAL 以获取变化,datalog 查询引擎隐藏在 InstaQL 背后,这是一种类 GraphQL 语言,无需构建步骤。客户端直接从浏览器或 React Native 订阅,权限、离线持久化和乐观回滚由 SDK 处理——多人协作和离线默认启用,灵感来自 Asana 的 WorldStore 和 Figma 的 LiveGraph。

2024 年 8 月 22 日的 Show HN 获得 1,145 分和 297 条评论。怀疑者问它与 Firebase 或 PocketBase 相比有何现代之处;创始人指出关系和基于 Postgres 的 datalog 架构,开发者立即开始在讨论中构建——在笔记应用中替代 Firebase,启动抱石应用,请求聚合查询。Firebase 的 CEO James Tamplin 从早期就支持该团队。

截至 2026 年 9 月 4 日抓取时,仓库已有 10.5k 星标、398 个分叉和 2,511 次提交,READ ME 已从“现代 Firebase”重新定位为“AI 编码应用的最佳后端”,增加了认证、存储、在线状态和流。公司仍在运营托管免费层和付费计划;记录中未出现资金、收入或客户数量。

这件事要成立,得有什么

  • 平台吸引力数据:2024 年 8 月 22 日的 Show HN 获得 1,145 分和 297 条评论,是当时开发者工具发布中最热门的之一。
  • 可验证的轨迹:仓库从开源发布到 2026 年 9 月 4 日抓取时已有 10.5k 星标、398 个分叉和 2,511 次提交。
  • 真正的架构押注:将数据库放在客户端,基于 datalog/Postgres 核心,使实时、离线和权限成为数据层的属性,而不是每个应用需构建的功能。
  • 创始人先写了论文:2021–22 年的文章为发布提供了可测试的预测——“杂务是数据库问题的伪装”——而不是功能列表。

可借鉴之处

一篇宣言式文章指出现有玩家的结构性缺陷——Firebase 的文档模型和手工同步——将数据库发布变成一场运动,让架构承担对比。

后续进展

截至 2026 年 9 月 5 日,Instant 仍在运营并持续发布:instantdb/instant 仓库在 2026 年 9 月 4 日抓取时已有 10.5k 星标、398 个分叉和 2,511 次提交,提供永不暂停的托管免费层、付费计划及后端和仪表盘的自托管。README 现在将 Instant 定位为 AI 编码应用的后端,在原有客户端数据库基础上增加了认证、权限、存储、在线状态和流。记录中未披露资金轮次、收入或客户数量,因此商业吸引力除开发者采用外未经证实。

资料来源

发现哪里写错了?告诉我们。

轮到你了

你刚读完一家。说说你在做什么,看看谁在赌同一件事。

免费账号 · 3 次免费提问 · 不用绑卡

相关案例