Skip to content

Ultrafast, realtime
database on Iceberg

The fastest realtime, high-throughput query engine. Open source.

Host on Contrast

Scale to billions.

Start on Contrast

Run locally

curl -fsSL https://lakeserve.contrastdb.com | sh

11×cheaper than Snowflake and Databricks

2–10×faster on the same queries

Spark compatiblePySpark and Spark clients connect over Spark Connect

Apache-2.0open source, written in Rust

Standard suite, 11 queriesSnowflake Large against 4 × m8gd.4xlarge

Snowflake Large52.7 s$0.351

Lakeserve28.3 s$0.030

Heavy suite, 8 queriesSnowflake Large against 4 × m8gd.4xlarge

Snowflake Large144.8 s$0.965

Lakeserve96.0 s$0.103

Heavy suite on 256 vCPUsSnowflake 2XL against 4 × m8gd.16xlarge

Snowflake 2XL39.7 s$1.059

Lakeserve33.1 s$0.138

Ten questions on one table100M events in S3, each engine on its own

ClickHouse18.0 s

Databricks SQL10.4 s

DuckDB5.0 s

Lakeserve3.0 s

Total time per run, with cost where the hardware has a list price. Warm, median of five runs.Queries and results on GitHub (opens in a new tab)

Query a row the moment it lands.

Single-row inserts commit in milliseconds, and the next query sees them. The same binary runs on a laptop, or across a cluster of workers when the job grows.

QuickstartLinux and Apple silicon Macs
  1. # Installcurl -fsSL https://lakeserve.contrastdb.com | sh
  2. # Start a local database with a web UI on :15080lakeserve start
  3. # Query it, or connect PySpark to sc://127.0.0.1:15002lakeserve client --query "SELECT * FROM trips"
How does it work?

Lakeserve runs Spark SQL and DataFrame queries on Apache DataFusion and Arrow. On a laptop it is one process. In a cluster, a coordinator plans each query and workers run it, caching table data on local NVMe.

How do clients connect?

Over Spark Connect on port 15002, so PySpark and other Spark clients work unchanged, or with SQL over HTTP: POST /query on port 15080, which also serves the web UI.

Where does the data live?

In standard Iceberg tables. Locally they sit in a warehouse directory on disk; on a server, in any Iceberg REST catalog such as AWS Glue, on S3-compatible storage you own. Spark, Trino and DuckDB read the same tables.

What does hosting on Contrast add?

Contrast runs Lakeserve for you on dedicated compute next to your data and gives you an endpoint. It is the same open-source binary you install locally. See pricing.

Is it ready for production?

Lakeserve is in preview, with builds for Linux on x86-64 and ARM64 and for macOS on Apple silicon. Open an issue if something breaks.

Start it on your laptop, or let Contrast run it for you.

Host on Contrast

Scale to billions.

Start on Contrast

Run locally

curl -fsSL https://lakeserve.contrastdb.com | sh

lakeserve