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.
techgopalNov 28, 2026, 5:38 PM
DataFusion is great, and a big part of why the "Spark has a lot of overhead" point is now easy to show. What we're after is slightly different: running the PySpark and Spark SQL people already have, unchanged. Same DataFrame API, Spark's error classes, the same results, so the switch is krishiv.session() instead of a rewrite. Most of that overhead is the JVM and the cluster machinery. On one machine you can drop both.
renyicircleNov 28, 2026, 6:16 PM
Why would you share your project on HN if you can't be bothered to answer the comments yourself?
techgopalNov 28, 2026, 6:33 PM
[dead]
splixNov 28, 2026, 6:47 PM
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.
librasteveNov 28, 2026, 5:50 PM
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?
techgopalNov 28, 2026, 6:24 PM
[dead]
ftchdNov 28, 2026, 5:29 PM
I thought this was about the Nvidia Spark initially
techgopalNov 28, 2026, 5:38 PM
Haha, fair. Too many Sparks this year. This one is the Apache Spark API (PySpark / Spark SQL) running on an engine written in Rust, no JVM.
ozgrakkurtNov 28, 2026, 5:53 PM
Please, where are the numbers? What is 10x. There is no way some poeple who measure like this can make an actual fast system.
techgopalNov 28, 2026, 6:25 PM
[dead]
ordxNov 28, 2026, 5:48 PM
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.
techgopalNov 28, 2026, 6:31 PM
[dead]
lnxsxuNov 28, 2026, 5:23 PM
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.
techgopalNov 28, 2026, 5:37 PM
[dead]
zX41ZdbWNov 28, 2026, 6:18 PM
Just another attempt to implement something like ClickHouse.