Show HN: Mason – A lightweight Postgres read-replica, built on columnar storage
Hacker News 热议:Show HN: Mason – A lightweight Postgres read-replica, built on columnar storage(69 赞 / 10 评论,来源 masondata.ai)
一句话概要
Mason is a lightweight drop-in replacement for your Postgres read replica. Same SQL, same answers. But extremely fast for analytical queries.
原文开头节选
$ npm i -g @mason-data/cli $ cd my-app # tell Mason which Postgres database to sync from $ mason init ‘postgres://me:secret@db.example.com:5432/my_db’ # choose the tables to sync $ mason add orders customers # start Mason locally and wait for the first sync to finish $ mason start && mason wait # get a connection URL for your favorite Postgres client $ mason user add me # get results fast $ psql “postgres://me:
Queries that read lots of rows, like counts, sums and group-bys over big tables. The kind dashboards, reports and AI agents run.
Queries that fetch a few rows and many columns, like looking up one order by its ID. Mason is fastest when you’re querying a lot of rows across a few columns.
(以上为原文节选,完整内容见下方”原文来源”)
这条动态今日登上 Hacker News 首页(69 赞 / 10 评论,来源 masondata.ai)。技术雷达每日自动聚合 AI 工程、后端架构、DevOps 方向的前沿动态;相关工程落地可浏览下方的相关服务与延伸阅读,或直接与我们团队交流。
原文来源: Hacker News