An unofficial, read-only Hacker News reader.

Show HN: Mason – A lightweight Postgres read-replica, built on columnar storage (opens external site)

111 points by tagspace 4 days ago | masondata.ai | 22 comments on HN

View full thread · View on Hacker News

Comment thread (2)

  1. Outside of the dashboard and team features stuff what does this add over just DuckDB + ADBC connected to postgres?

    Is pglite and the node stuff even necessary here?

    Replies (1)
    1. Good question. The majority of the work was two things:

      1. the replication logic that keeps duckdb in sync with your postgres (like you'd expect from a read replica)

      2. the query rewriter that takes incoming postgres queries and turns them into queries that run fast on duckdb (we've spent a lot of time making sure that most queries are answered in a few 100 milliseconds, even on 10+M rows).

      So, I guess the main differences are:

      - with ADBC the load still hits your postgres (which is what we wanted to avoid)

      - with ADBC you're not guaranteed to get the same answer as postgres (we want confidence that our queries will answer the same, not faster but different)

      - you'd have to build your own ETL (if you want to avoid the load on your postgres)

      Does that make sense?