Head to head

Comet vs cuDF for Spark: which lowers Spark compute cost?

No overall score: 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 Hardware independence, Pricing and trial transparency and Openness; cuDF for Spark scores higher on Cost mechanism and evidence, Adoption effort, Fit on platforms you already run and Maturity and support. cuDF for Spark documents Amazon EMR; 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?

Comet and cuDF for Spark: scores by criterion (0 to 10)
CriterionCometcuDF for SparkHigher
Cost mechanism and evidence 30%67cuDF for Spark
Adoption effort 20%67cuDF for Spark
Fit on platforms you already run 10%59cuDF for Spark
Hardware independence 5%94Comet
Pricing and trial transparency 10%98Comet
Openness 10%109Comet
Maturity and support 15%79cuDF for Spark

Which cost levers does each document?

Documented by the vendorNot documented on the pages reviewed

Comet

1 of 4 levers: fewer instance hours

cuDF for Spark

1 of 4 levers: fewer instance hours

Where does each run?

Comet

Amazon EMR: DocumentedEMR on EKS: DocumentedDatabricks: Not documentedSelf-managed Spark: Documented

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.

cuDF for Spark

Amazon EMR: DocumentedEMR on EKS: Not documentedDatabricks: DocumentedSelf-managed Spark: Documented

NVIDIA documents EMR, Databricks, Dataproc, GKE, Azure Synapse, Kubernetes, on-prem and OCI. EMR on EKS is not named on the pages reviewed.

What does each cost to adopt?

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

cuDF for Spark

Pricing

No plugin fee. You pay for GPU instance hours at your cloud's published rates.

Source: NVIDIA/spark-rapids on GitHub

Trial
Free to download and run.
Hardware
NVIDIA GPUs, Volta or later. On EMR, core and task nodes must be GPU instance types; ARM is not supported.
Adoption
AWS states it works "without code changes" on EMR 6.2.0 and later: set enableSparkRapids, YARN GPU settings, spark.plugins=com.nvidia.spark.SQLPlugin and the DominantResourceCalculator.
License
Apache 2.0

What figures does each publish?

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

Vendor figure. Not measured by Spark Cost Compare.

cuDF for Spark

NVIDIA headline performance figures were not collected for this page.

Which should you choose?

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.

Choose cuDF for Spark if

you value a visible release and support record and documentation on the platforms you already run. Best fit: Teams that can run GPU instances and want an open-source engine documented on many platforms.

Common questions

Which scores higher overall, Apache DataFusion Comet or NVIDIA cuDF for Apache Spark?

No overall score: 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 DataFusion Comet and NVIDIA cuDF for Apache Spark run on Amazon EMR?

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. NVIDIA cuDF for Apache Spark: Yes. NVIDIA documents EMR, Databricks, Dataproc, GKE, Azure Synapse, Kubernetes, on-prem and OCI. EMR on EKS is not named on the pages reviewed.

Which is cheaper to adopt?

Apache DataFusion Comet: Free. Apache 2.0, no license fee. NVIDIA cuDF for Apache Spark: No plugin fee. You pay for GPU instance hours at your cloud's published rates. Neither figure includes the instance hours your jobs use.

Read next