Softwr

Machine Learning · head to head

Databricks vs Longhorn

Databricks logo

Databricks

Machine Learning

Unified analytics platform for data engineering and data science

From
Free
Free plan
Yes
Longhorn logo

Longhorn

Cloud

Open source distributed block storage for Kubernetes, incubating at the CNCF

From
Free
Free plan
Yes

The short version

  • Databricks is a unified analytics platform.
  • Longhorn is free; Databricks starts at $0.07/mo.
  • Only Databricks lists delta Lake; only Longhorn lists per-volume controllers.
  • Where Databricks falls short: cloud compute is billed separately by the cloud provider on top of Databricks DBU charges.

How do Databricks and Longhorn differ?

Databricks and Longhorn differ on pricing model, platforms and category (Machine Learning against Cloud). Only the attributes on which Databricks and Longhorn actually diverge.

Attributes where Databricks and Longhorn differ
AttributeDatabricksLonghorn
Pricing modelUsage-basedOpen source, no licence fee
PlatformsWeb, Aws, Azure, GcpLinux, Self-hosted
CategoryMachine LearningCloud

Identical on both: starting price (Free), free tier (Yes).

Not yet recorded: founded for Longhorn.

Which features does each one have?

They share no listed features; 16 appear only for Databricks and 6 only for Longhorn. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Databricks

  • Delta Lake
  • Apache Spark
  • MLflow
  • Unity Catalog
  • Photon Engine
  • Collaborative Notebooks
  • Auto-scaling
  • AWS

Only in Longhorn

  • Per-volume controllers
  • Synchronous replication
  • Snapshots and backups
  • Volume expansion
  • Disaster recovery volumes
  • Web interface

What is each one used for?

Databricks is most often brought in for running Spark data engineering pipelines on managed clusters. The jobs each tool is most often brought in to do.

Databricks

  • Running Spark data engineering pipelines on managed clustersnot Longhorn
  • Building a lakehouse over data in cloud object storagenot Longhorn
  • Training and serving machine learning models alongside the datanot Longhorn

Longhorn

  • An on-premises Kubernetes cluster with local disks and no SAN that needs replicated persistent volumesnot Databricks
  • Edge sites where shipping a storage array is impractical and three nodes is the whole clusternot Databricks
  • A K3s deployment where the storage layer must be light enough to run alongside the workloadsnot Databricks
  • A team that wants snapshots and S3 backups of persistent volumes without paying per-node storage licencesnot Databricks

Where do Databricks and Longhorn fall short?

Databricks's most cited limit: cloud compute is billed separately by the cloud provider on top of Databricks DBU charges. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Databricks

  • Cloud compute is billed separately by the cloud provider on top of Databricks DBU charges
  • The free trial lasts 14 days
  • Discounts require a Committed Use Contract, with larger commitments needed for larger discounts
  • Azure Databricks pricing is set by Microsoft rather than by Databricks
  • Security and compliance capabilities are sold as separate platform add ons rather than included in the base rate

Longhorn

  • There is no vendor and no SLA, so a production incident at three in the morning is your own problem unless you buy SUSE Rancher Prime support separately
  • Synchronous replication across nodes means write latency depends on the slowest replica and the network between nodes, which makes it a poor fit for latency-sensitive databases
  • Every replica is a full copy, so three-way replication consumes three times the raw capacity, unlike erasure-coded systems that are far more space efficient
  • It is designed for block storage on modest clusters and does not scale to the node counts or throughput that Ceph or a commercial array handles, so growth eventually forces a migration
  • Recovery from certain degraded states, such as a volume stuck detaching or replicas failing to rebuild, requires manual intervention and knowledge of Longhorn internals that is not widely held

How much do Databricks and Longhorn cost?

Databricks has a free plan, with paid plans from $0.07/mo; Longhorn is free to use. Plan by plan below, from each vendor's own pricing page.

Databricks

Free
  • Community EditionFree
    • Limited cluster
    • Notebook environment
    • Community support
  • Standard$0.07/dbu
    • Jobs compute
    • SQL compute
    • Standard support

Longhorn

Free
  • LonghornFree
    • Apache 2.0 licensed, no licence fee
    • Community support via GitHub and Slack only
    • No vendor SLA or escalation path

Which should you pick?

Choose Databricks if

  • You need delta lake.
  • You want to start without paying.
  • You work on Web, Aws, Azure, Gcp.
  • You also want apache spark.

Choose Longhorn if

  • You need per-volume controllers.
  • You want to start without paying.
  • You work on Linux, Self-hosted.
  • You also want synchronous replication.

Questions people ask

Is Databricks or Longhorn better?
It depends on the job. Databricks fits running Spark data engineering pipelines on managed clusters; Longhorn fits an on-premises Kubernetes cluster with local disks and no SAN that needs replicated persistent volumes. Databricks starts at Free and Longhorn at Free.
Which is cheaper, Databricks or Longhorn?
Databricks starts at Free and Longhorn at Free.
Does Databricks or Longhorn run on more platforms?
Databricks runs on Web, Aws, Azure, Gcp. Longhorn runs on Linux, Self-hosted.
Can I use Databricks for free?
Both have a free tier, so you can try either at no cost before committing.
What is Databricks best used for?
Databricks is most often used for running spark data engineering pipelines on managed clusters, building a lakehouse over data in cloud object storage, training and serving machine learning models alongside the data. Of those, running spark data engineering pipelines on managed clusters and building a lakehouse over data in cloud object storage are not what Longhorn is typically brought in for.
What can Databricks do that Longhorn cannot?
Databricks covers Delta Lake, Apache Spark, MLflow, Unity Catalog. Longhorn covers Per-volume controllers, Synchronous replication, Snapshots and backups, Volume expansion.

Answered from the vendors’ own pages

Databricks: How is Databricks priced?

Databricks bills pay as you go with no up front cost, charging per second for the products used. Consumption is measured in Databricks Units, a normalised unit of processing power on the platform.

Source
Longhorn: Who do we call when it breaks?

Nobody, unless you buy SUSE Rancher Prime, which includes commercial support for Longhorn. This is the decisive question for production use.

Databricks: Does Databricks publish a per DBU price?

Not on its main pricing page. Rates vary by product and instance type, and Databricks directs buyers to individual product pricing pages and a calculator rather than listing a single figure.

Source
Longhorn: How much capacity does replication cost?

Full copies, so three replicas means three times the raw capacity. Budget accordingly rather than assuming erasure coding efficiency.

Databricks: Does the Databricks price include cloud costs?

No. Databricks states that if you configure it to work with your own cloud account, your cloud provider still charges you separately for the underlying resources.

Source
Longhorn: Is it suitable for production databases?

For modest workloads yes, but synchronous replication adds write latency and high-transaction databases usually want something faster.

Databricks: Can I get a discount on Databricks?

Databricks offers Committed Use Contracts, where larger usage commitments earn greater benefits, including options to use commitments flexibly across multiple clouds.

Source
Share

Related pages

Other head to heads