talira

Apache Spark

Unified engine for large-scale data analytics

open sourceApache-2.0self-hostablefree

Apache Spark is a multi-language engine for data engineering, data science and machine learning on a single machine or a cluster, from the Apache Software Foundation. One API in Python, SQL, Scala, Java or R processes data in batches and in real-time streams, runs distributed ANSI SQL queries for dashboards and ad-hoc reports, explores petabyte-scale data without downsampling, and trains machine learning models (MLlib) on a laptop with the same code that scales to clusters of thousands of machines. Its libraries include Spark SQL and DataFrames, Structured Streaming, pandas API on Spark and Spark Connect, a client-server protocol with clients for Go, Rust and Swift. It installs with pip install pyspark or runs from the official Docker image, and runs on Kubernetes through its operator.

Problems it solves

  • process terabytes of data that don't fit on one machine
  • run SQL queries over a data lake of Parquet files across a cluster
  • process streaming events and batch data with the same code
  • scale a pandas data pipeline beyond one machine's memory
  • train machine learning models on data too big for a laptop

Features

  • batch and streaming processing with one API
  • Python, SQL, Scala, Java and R
  • distributed ANSI SQL (Spark SQL) and DataFrames
  • Structured Streaming
  • pandas API on Spark
  • MLlib machine learning
  • Spark Connect client-server protocol, with Go, Rust and Swift clients
  • runs on a single node or a cluster, Kubernetes operator

Capabilities

Has a command line toolplan not known
Has official SDKsplan not known

Alternatives

The same job

These do what Apache Spark does.

  1. DuckDB An in-process analytical SQL database that queries CSV, JSON, Parquet and Iceberg files directly, from a laptop to a large server.
  2. Presto Distributed SQL query engine for big data
  3. Apache Flink Stateful computations over data streams
  4. Dask Easy parallel Python that does what you need
  5. Apache Doris Open source real-time analytics database with SQL, lakehouse queries and hybrid search
  6. Trino Fast distributed SQL query engine for big data analytics

Compare Apache Spark with the top 3