Krishiv 0.2, a new Rust-based batch SQL engine, was tested against Apache Spark on a single laptop using 22 queries derived from TPC-H and Parquet datasets. At SF100, roughly 100 GB, Krishiv completed the suite in 228 seconds versus Spark’s 2,675 seconds, a 10.4× geometric-mean speed advantage; it was faster on every query, with per-query gains from 5× to 28×. At SF1000, about 1 TB, Krishiv finished all 22 queries under a 20 GB engine memory limit by spilling to disk. Its slowest query took 654 seconds. Spark completed only six of the first 17 queries within a 30-minute per-run cap, and the remaining five were not attempted.
The comparison used cold runs, 12 threads, and the same machine and data files; Krishiv’s results matched a reference engine’s for all queries at SF10 and SF100, and 20 of 22 at SF1000, with specific verification limitations for the two exceptions. The results are not an audited TPC-H benchmark: they cover one laptop and one batch workload, and Spark’s answers were not independently checked. Krishiv is also not the fastest engine tested; the embedded reference engine was about 18-26% faster by geometric mean across scales. The results therefore demonstrate a substantial advantage over local Spark in this particular setup, not a general performance guarantee or evidence about cluster, streaming, or distributed workloads.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.