Head to head
Gluten vs Comet: which lowers Spark compute cost?
No overall score: Apache Gluten is outside our lead question (Not documented for Amazon EMR on the pages reviewed); Apache DataFusion Comet is outside our lead question (Documented for EMR only with a caveat: The install guide says Comet "may not fully work with proprietary forks of Apache Spark such as the Spark versions offered by Cloud Service Providers", which applies to EMR's Spark runtime. AWS engineers published a run on Amazon EKS). Comet scores higher on Adoption effort and Hardware independence. They tie on Cost mechanism and evidence, Fit on platforms you already run, Pricing and trial transparency, Openness and Maturity and support. Neither documents Amazon EMR without qualification: Gluten does not document it on the pages reviewed and Comet documents it with a caveat.
By The Meter DeskSpark Cost Compare
Desk research from public vendor and project pages. Editorial assessment; we did not run the products.
How do the scores compare?
| Criterion | Gluten | Comet | Higher |
|---|---|---|---|
| Cost mechanism and evidence 30% | 6 | 6 | Tie |
| Adoption effort 20% | 5 | 6 | Comet |
| Fit on platforms you already run 10% | 5 | 5 | Tie |
| Hardware independence 5% | 7 | 9 | Comet |
| Pricing and trial transparency 10% | 9 | 9 | Tie |
| Openness 10% | 10 | 10 | Tie |
| Maturity and support 15% | 7 | 7 | Tie |
Which cost levers does each document?
Gluten
1 of 4 levers: fewer instance hours
Comet
1 of 4 levers: fewer instance hours
Where does each run?
Gluten
Binaries are published for Spark 3.3, 3.4, 3.5, 4.0 and 4.1. Managed platforms are not documented on the pages reviewed.
Comet
The install guide says Comet "may not fully work with proprietary forks of Apache Spark such as the Spark versions offered by Cloud Service Providers", which applies to EMR's Spark runtime. AWS engineers published a run on Amazon EKS.
What does each cost to adopt?
Gluten
- Pricing
Free. Apache 2.0, no license fee.
Source: Apache Gluten homepage
- Trial
- Free download.
- Hardware
- Runs on CPUs. Binaries are compiled on CentOS 7 and Intel Xeon Platinum 8272CL; the project says performance and compatibility are not guaranteed on other operating systems or hardware.
- Adoption
- No query changes, but setup needs spark.plugins=org.apache.gluten.GlutenPlugin, off-heap memory and the ColumnarShuffleManager. Spill support is marked experimental.
- License
- Apache 2.0
Comet
- Pricing
Free. Apache 2.0, no license fee.
Source: Apache DataFusion Comet
- Trial
- Free download.
- Hardware
- Runs on standard CPU instances.
- Adoption
- No code changes. Requires JDK 17 or later; JDK 11 is no longer supported as of 1.1.0.
- License
- Apache 2.0
What figures does each publish?
Gluten
Vendor states
"TPC-H: Overall 3.34x speedup with Gluten + Velox"
Source: Apache Gluten homepage
Vendor states
"TPC-DS: Overall 3.02x speedup"
Source: Apache Gluten homepage
Vendor states
"Up to 23.45x speedup on individual queries"
Source: Apache Gluten homepage
Comet
Vendor states
"3 TB TPC-DS on Amazon EKS: 11% slower at first, 32% faster after fixes, 37% faster on Iceberg (as the authors state)."
Source: DataFusion blog: Comet on Amazon EKS
Which should you choose?
Choose Gluten if
you value an open-source license and seeing the price before a sales call. Best fit: Teams running self-managed Spark who can tune off-heap memory and want an Apache-governed engine.
Choose Comet if
you value an open-source license and seeing the price before a sales call. Best fit: Teams on self-managed Spark, including on Kubernetes, who want an open engine with a public, candid performance record.
Common questions
Which scores higher overall, Apache Gluten or Apache DataFusion Comet?
No overall score: Apache Gluten is outside our lead question (Not documented for Amazon EMR on the pages reviewed); Apache DataFusion Comet is outside our lead question (Documented for EMR only with a caveat: The install guide says Comet "may not fully work with proprietary forks of Apache Spark such as the Spark versions offered by Cloud Service Providers", which applies to EMR's Spark runtime. AWS engineers published a run on Amazon EKS). The bill estimator lets you re-weight the scores for your platform.
Do Apache Gluten and Apache DataFusion Comet run on Amazon EMR?
Apache Gluten: Not documented on the pages reviewed. Binaries are published for Spark 3.3, 3.4, 3.5, 4.0 and 4.1. Managed platforms are not documented on the pages reviewed. Apache DataFusion Comet: With a caveat. The install guide says Comet "may not fully work with proprietary forks of Apache Spark such as the Spark versions offered by Cloud Service Providers", which applies to EMR's Spark runtime. AWS engineers published a run on Amazon EKS.
Which is cheaper to adopt?
Apache Gluten: Free. Apache 2.0, no license fee. Apache DataFusion Comet: Free. Apache 2.0, no license fee. Neither figure includes the instance hours your jobs use.