The long-standing divide between operational and analytical databases is finally dissolving. Databricks is demonstrating this shift by integrating Backstage, Spotify's internal developer portal, with its Lakebase. This move effectively moves Backstage off its traditional PostgreSQL database and onto Databricks' unified data platform.
Historically, operational (OLTP) and analytical (OLAP) databases required separate infrastructure, budgets, and on-call rotations due to fundamental differences in storage, compute, and failure modes. However, with shared storage, serverless, workload-isolated compute, and catalog-level governance, these distinctions are becoming mere access patterns on a single foundation.
The Setup: Pointing Backstage at Lakebase
Lakebase now offers a serverless PostgreSQL surface, powered by Neon's architecture, directly within the Databricks Platform. Because it speaks the wire-protocol PostgreSQL, Backstage operates seamlessly, unaware it's not connected to a standard RDS instance. The integration involved updating Backstage's configuration to point to Lakebase and replacing its default in-memory search with PgSearchEngine.
A key hurdle was authentication. Lakebase requires OAuth JWTs instead of traditional Databricks Personal Access Tokens. The `databricks postgres generate-database-credential` CLI command provides short-lived, scoped JWTs, suitable for applications and CI/CD. For this proof-of-concept, a cron script refreshed these credentials every 50 minutes to manage expiration.
With authentication resolved, Backstage's Knex migrations ran without issue, bringing the portal online.