Show HN: Mason – A lightweight Postgres read-replica, built on columnar storage
Trending on Hacker News: Show HN: Mason – A lightweight Postgres read-replica, built on columnar storage (69 points / 10 comments, via masondata.ai)
In one line
Mason is a lightweight drop-in replacement for your Postgres read replica. Same SQL, same answers. But extremely fast for analytical queries.
Opening excerpt
$ 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.
(Excerpted from the original; full article via the source link below.)
This story hit the Hacker News front page today (69 points / 10 comments, via masondata.ai). Our Tech Radar aggregates daily signals on AI engineering, backend architecture and DevOps — browse the related services and further reading below, or get in touch with our team.
Source: Hacker News