frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Show HN: Quack-Cluster – A serverless distributed SQL engine with DuckDB and Ray

https://github.com/kristianaryanto/Quack-Cluster
2•kristian1232•5h ago
Hi HN,

I'm excited to share a project I've been working on: Quack-Cluster.

I love the speed and simplicity of DuckDB for analytics, but I often work with datasets spread across hundreds of files in object storage (like S3). I wanted a way to run distributed queries across all that data without the complexity of setting up and managing a full-blown Spark or Presto cluster. I'm also a big fan of Ray for its simplicity in distributed Python, so I decided to combine them.

How it works: You send a standard SQL query to a central coordinator. It uses SQLGlot to parse the query and identify the target files (e.g., s3://bucket/data/*.parquet). It then generates a distributed plan and sends tasks to a cluster of Ray actors. Each Ray actor runs an embedded DuckDB instance to process a subset of the files in parallel. The partial results (as Arrow tables) are then aggregated and returned to the user.

The goal is to provide a lightweight, high-performance, and serverless alternative for interactive SQL analytics directly on a data lake.

The core tech stack is:

Backend: Python, FastAPI

Distributed Computing: Ray

Query Engine: DuckDB

SQL Parsing: SQLGlot

The project is open-source and I've tried to make it easy to get started locally with Docker and make. I'm here to answer any questions and would be grateful for any feedback on the architecture, use case, or the code itself.

Thanks for checking it out!

Comments

kristian1232•5h ago
First Comment
hodgesrm•3h ago
Sounds interesting! What kind of query latency do you see with this approach?

Also, have you thought about caching? My team is working on a similar problem and we have caches for everything from contents of S3 list_objects_v2 calls to Parquet metadata to blocks read from object storage.

Flexport the Video Game

https://flexportgame.itch.io/flexport-tycoon
1•thedogeye•2m ago•0 comments

Building iBoot

https://nyansatan.github.io/building-iboot/
1•lr0•3m ago•0 comments

Scarcity, Inventory, and Inequity: A Deep Dive into Airline Fare Buckets

https://blog.getjetback.com/scarcity-inventory-and-inequity-a-deep-dive-into-airline-fare-buckets/
1•bdev12345•4m ago•0 comments

Compare all website analytics platforms

https://analyticsdir.com
1•XCSme•4m ago•1 comments

Applying the Six Thinking Hats Framework to Personal Data Security Analysis

https://guptadeepak.com/six-hat-analysis-of-personal-data-security-a-strategic-framework-for-digital-protection/
2•guptadeepak•9m ago•1 comments

Rome Roars, Titans Tremble

https://www.reuters.com/world/europe/meta-x-linkedin-appeal-unprecedented-vat-claim-by-italy-2025-07-21/
1•trilogic•9m ago•1 comments

New York City's Subway Is Safer Than Your Car

https://www.bloomberg.com/opinion/articles/2025-07-19/new-york-city-s-subway-is-actually-safer-than-your-car
1•rntn•10m ago•0 comments

Figma seeks $16B value in test of US tech IPO market

https://www.ft.com/content/e87afcc9-fb7b-4caa-a6b0-87783380ca58
2•frereubu•14m ago•1 comments

US aims to ban Chinese technology in undersea telecommunications cables

https://www.reuters.com/world/china/us-aims-ban-chinese-technology-submarine-cables-ft-reports-2025-07-16/
6•rbanffy•15m ago•0 comments

Unique, mathematical shortcuts language models use to predict dynamic scenarios

https://www.eecs.mit.edu/the-unique-mathematical-shortcuts-language-models-use-to-predict-dynamic-scenarios/
1•gsky•16m ago•0 comments

In Praise of Zines

https://buttondown.com/blog/zines
2•coloneltcb•16m ago•0 comments

Customer selection = biggest growth lever in B2B SaaS

https://customeracquisitionengine.substack.com/p/selecting-the-right-customers-is-your-biggest-growth-lever
1•superamped•17m ago•0 comments

Nvidia extends CUDA support to RISC-V just in time for next wave of Chinese CPUs

https://www.theregister.com/2025/07/21/nvidia_cuda_riscv/
2•mikece•17m ago•0 comments

Scott Hanselman on Tech Industry Promises

https://blog.marcocantu.com/blog/2025-july-scotth-on-tech.html
1•andsoitis•18m ago•1 comments

Eureka I've Hacked You: About a University Lesson and How It Shaped My Career

https://krthr.co/eureka-ive-hacked-you-about-a-university-lesson-and-how-it-shaped-my-career/
1•krthr•19m ago•0 comments

Using Claude Code as a Personal Tutor

https://www.jimmymeetsworld.com/claude-code-personal-tutor
1•jzhangteaching•20m ago•0 comments

Nanobody neutralizes deadly Nipah and Hendra viruses in lab tests

https://phys.org/news/2025-07-nanobody-neutralizes-deadly-nipah-hendra.html
1•PaulHoule•21m ago•0 comments

Attentional sampling resolves competition along the visual hierarchy

https://www.cell.com/trends/cognitive-sciences/fulltext/S1364-6613(25)00150-0
2•gnabgib•22m ago•0 comments

How to Deliver CSU's Gen Ed with AI Microservices

https://hollisrobbinsanecdotal.substack.com/p/how-to-deliver-csus-gen-ed-with-ai
1•HR01•24m ago•0 comments

Geany 2.1 is out (now with LSP)

https://www.geany.org/news/geany-plugins-21-are-out/
1•mixmastamyk•24m ago•0 comments

How the Human Brain Is Wired for Romance

https://www.theatlantic.com/science/archive/2022/12/how-the-human-brain-is-wired-for-beauty/672291/
1•lr0•26m ago•0 comments

12ft.io Taken Down

https://www.newsmediaalliance.org/takedown-of-12ftio/
23•afeuerstein•26m ago•9 comments

Science Explains Why People Get More Carsick in EVs

https://www.thedrive.com/news/science-finally-explains-why-people-get-more-carsick-in-evs
1•neogodless•26m ago•0 comments

The Cosby Show star Malcolm-Jamal Warner dies aged 54 in 'accidental drowning'

https://metro.co.uk/2025/07/21/cosby-show-star-malcolm-jamal-warner-dies-aged-54-accidental-drowning-23716715/
2•jeffwass•27m ago•1 comments

Lovable Just Raised

https://justraised.netlify.app
2•chiswanjo•33m ago•0 comments

Tracking Phishing Bots via Locations

https://gwern.net/blog/2025/bot-location
2•ngriffiths•40m ago•0 comments

MMD Pose Language: Declarative Syntax for MMD Pose

https://mmd-mpl.vercel.app
1•Amyang•42m ago•1 comments

I know genomes. Don't delete your DNA

https://stevensalzberg.substack.com/p/i-know-genomes-dont-delete-your-dna
14•bookofjoe•43m ago•7 comments

In Defense of Defensive Forecasting

https://www.argmin.net/p/in-defense-of-defensive-forecasting
2•ngriffiths•44m ago•0 comments

Law Firm Calls on City to Remove Flock Camera from in Front of Family's Home

https://ij.org/press-release/public-interest-law-firm-calls-on-arkansas-city-to-remove-surveillance-camera-from-in-front-of-innocent-familys-home-not-renew-contract-with-camera-company/
7•sbuttgereit•44m ago•0 comments