10x faster than Spark on a laptop

techgopal 15 points 11 comments November 28, 2026
krishiv.ai · View on Hacker News

Discussion Highlights (8 comments)

lnxsxu

how much free disk space did the 1 tb run need once the parquet files were on the laptop? i can see myself checking that the data fits and remembering the temp files about ten minutes too late.

tormeh

I once showed my coworkers Datafusion. Everyone was used to Databricks and so were of course surprised at how fast it was. Spark has a lot of overhead.

ftchd

I thought this was about the Nvidia Spark initially

ordx

This completely misses the point of Spark. If your data fits on a laptop you should be using something like DuckDB. Spark shines when you have enormous datasets and want to join and/or apply some sort parallelizable transformation on top.

librasteve

Thanks for sharing, those look very impressive, but Spark has some distributed overhead. I wonder how Krishiv compares to Polars which is more of a single machine oriented library?

ozgrakkurt

Please, where are the numbers? What is 10x. There is no way some poeple who measure like this can make an actual fast system.

zX41ZdbW

Just another attempt to implement something like ClickHouse.

splix

There was some YouTube video, and interview of a BigQuery (I think) developer, and he said it may need 40x more resources that a similar query on a single machine when it fits that machine. That's an insane number, and he probably meant some ideal scenario. Anyway I remember this quote as an example of what it costs to build a distributed system and when you actually want this. Here we see just 10x on a single machine, so I guess that the whole deal is to make it distributed eventually. Hope they will have a similar number in distributed mode too, that would be a really great achievement.

Semantic search powered by Rivestack pgvector
4,908 stories · 45,036 chunks indexed