More patterns · Open reference architecture

Serverless lakehouse services

Catalog and lineage as Neon Functions on branchable Postgres

Every pull request gets its own catalog, database and bucket.

ServerlessUpdated 2026-11-21

In one paragraph

Serverless lakehouse services package the control plane of an open lakehouse (the catalog, the lineage service and the sharing server) as functions that run per database branch. In luminescent-lakehouse, Rust services built on axum are compiled to Node-API addons and deployed as Neon Functions; each Neon branch gets its own Postgres schema and storage bucket, so a pull request preview has a full, isolated catalog and lineage service that disappears with the branch.

More patterns

Catalog and lineage as Neon Functions on branchable Postgres

Sources

Ingestion

Open lakehouse platform

Engine access

Data foundation

Governance

Serving

Teams

Lit boxes are part of this architecture, with the versions its reference repo pins. Switch to Full platform to see every capability. Select any box or team for details. marks a swappable choice.

When to use it

  • You want preview environments with their own catalog per pull request.
  • You want to run lakehouse control-plane services without operating servers.

When to pick something else

  • Data-plane compute: engines still run elsewhere and talk to these services over HTTP.

Walkthrough

How data moves through it

  1. 1

    Build

    Each Rust service is compiled to a linux-arm64 Node-API addon and bundled within Neon's size limits.

  2. 2

    Migrate a branch

    Deploying to a Neon branch runs the database migrations for that branch.

  3. 3

    Deploy functions

    The catalog and lineage functions are applied to the branch from neon.ts.

  4. 4

    Promote

    Pull requests get preview branches, merges deploy to staging, and production needs manual approval.

Bill of materials

Components and versions

Versions are the ones pinned in the reference repositories below.
CapabilityComponentRole in this architectureVersionLicense
Data foundationCatalog and credentialsNeonPer-branch Postgres and storage bucket
Data foundationCatalog and credentialsunitycatalog-rsCatalog function (mangrove server)
Data foundationOpen table formatDelta LakeManaged tables under s3://lakehouse/managedApache-2.0
GovernanceLineageheadwatersOpenLineage ingest with Marquez-compatible readsApache-2.0
ServingData sharingdistributarySharing function; built and tested, not yet deployed

People and agents

Who works with it

Data engineers

Pipelines that are correct, idempotent and cheap to rerun.

Works with: Open table format

Platform engineers

A platform that is boring to run: deployable from code, observable, with identities for every person, service and agent.

Works with: Catalog and credentials

Governance and security

Policies that hold in every engine and for every agent, lineage for audits, and least privilege by default.

Works with: Lineage, Catalog and credentials

External partners

Live, read-only access to the tables they are entitled to.

Works with: Data sharing

Run it

Reference code

Deploys open-lakehouse services (Unity Catalog, OpenLineage, OpenSharing) to Neon as functions.

just test <fn>         # host-native addon behind the fetch handler, node --test
just build <fn>        # linux-arm64 bundle + zip, gated on Neon's size limits
just test-arm64 <fn>   # the deployable bundle in node:24-bookworm-slim
just deploy <branch>   # migrate a Neon branch and apply neon.ts to it

Caveats from the reference repos

  • The opensharing function builds and passes tests but is not in neon.ts yet; only the catalog and lineage functions deploy.

Answers

Frequently asked questions

Can a data catalog run serverless?
Yes. luminescent-lakehouse runs a Unity Catalog implementation and an OpenLineage service as Neon Functions, with a separate Postgres branch and bucket per environment.