talira

Postgres re-engineered for multi-tenant B2B apps

SaaSfree

Nile is a hosted, serverless Postgres built for multi-tenant B2B apps. It decouples storage from compute and virtualizes tenants inside one database, so each customer's data, and its vector embeddings (with pgvector), is isolated and can be managed, placed and backed up per tenant, with per-tenant insights. It is still Postgres, so SQL clients and ORMs such as Drizzle and Prisma work with it, and it has JavaScript SDKs for Node.js and React. Nile Auth, its open source authentication for B2B apps with tenants built in, can be self-hosted or managed by Nile. A Docker image runs Postgres with Nile's extensions locally for development, with storage that is lost when it stops; production runs on Nile's cloud. The product is in public preview.

Problems it solves

  • isolate each customer's data in my B2B SaaS without running a database per tenant
  • a Postgres that understands tenants for my multi-tenant app
  • per-customer vector embeddings for my AI SaaS without a separate vector database
  • authentication with organizations and tenants for a B2B app

Features

  • tenant virtualization in one Postgres database
  • per-tenant isolation of data and vector embeddings
  • pgvector embeddings
  • database branches and per-tenant backups
  • Nile Auth with tenants built in
  • serverless compute billed by query tokens
  • local Docker image for development

Limitations

  • Doesn't offer a production self-hosted version of the database: the Docker image is for local development and its storage is ephemeral1

Capabilities

Has official SDKsplan not known
Has single sign-onPro and Scale plans, from $15/month2