Use cases

Replace four or five stitched-together services with one schema.

Each guide pairs a common application architecture with the working schema, deployed queries and external services Napalm replaces.

016 sections

AI training data & features

Your app database doubles as your feature store, dataset catalog and eval log.

Read live model inputs straight from your tables instead of syncing a feature cache. Export rows from consenting workspaces to Parquet files in object storage, and score new checkpoints against your test cases before switching traffic.

Replaces
  • Redis feature caches and sync jobs
  • Airflow or Spark dataset ETL
  • Custom Parquet manifest tables
  • Separate eval and model databases
036 sections

Multi-tenant SaaS & sharding

Each customer’s workspaces, roles and billing stay isolated on one shard.

Link workspaces and documents to an Organization once, and Napalm places each tenant’s rows together while checking membership on every query. When a customer grows or needs EU residency, move that tenant to a dedicated or regional shard online.

Replaces
  • Vitess or Citus composite keys
  • Oso or Zanzibar authz service
  • Separate billing ledger database
  • Per-table RLS join boilerplate
046 sections

Realtime & mobile apps

Web tabs and mobile apps share live queries, cursors and file uploads.

Generated hooks for Next.js, Expo and Flutter subscribe to your deployed read queries over one connection. Edits push compact row diffs, open records host in-memory presence rooms, and phones upload media straight to storage.

Replaces
  • Pusher or Ably pub-sub servers
  • Liveblocks presence services
  • Custom WebSocket fan-out
  • Separate media upload backend
056 sections

CDC & lakehouse sync

Sync committed changes to your warehouse without polling or superuser keys.

Schema notify rules send a signed wake-up ping whenever rows change, and a read-only service key pulls only the rows its access policy allows. Built-in cron jobs roll up tables and compact Parquet files in object storage.

Replaces
  • Debezium or Kafka Connect
  • Fivetran polling connectors
  • Managed CDC slot plumbing
  • Custom backfill and gap scripts