One Postgres, a database per user, or both?
Choosing between one Postgres database, a Turso database per user, or both comes down to where data must live, who owns it, and how many features need to read across users.
Topics Architecture & design
Tenant isolation, noisy neighbours, per-customer resources.
Search within Multi-tenancy, or combine it with other topics →
Choosing between one Postgres database, a Turso database per user, or both comes down to where data must live, who owns it, and how many features need to read across users.
A KVM flaw on AMD hosts with nested virtualization let root inside a guest read and write physical host memory.
eve 1.0, Vercel's open-source framework for production agents, is now generally available with a customizable harness (model, tools, subagents, approvals), durable execution via the Workflow SDK, multiplayer sessions across Slack and other channels, multi-tenant credentials and policies, cross-session memory, and OpenTelemetry-based tracing with per-destination redaction.
Ideavo, a bring-your-own-key AI app builder, has its agent provision a separate Neon Postgres project for every generated app through the Neon API.
Neon and Turso both support a database per agent but differ in the unit: Neon gives each agent a Postgres project with its own autoscaling compute that suspends after 5 minutes idle and is billed by CU-hour, while Turso treats each SQLite-compatible database as a file managed by a shared server, billed by rows read/written and storage with unlimited databases on paid plans.
Kylon, a shared workspace where teams and AI agents build internal apps like CRMs and invoice trackers, maps its product directly onto Neon resources: one Neon project per workspace, one database per app, and one branch per draft.
Sauna, a proactive AI work assistant, gives every session, agent and connected inbox or calendar its own Turso database, creating about 90,000 databases a day and over 2 million in total.
An attacker seeking AI provider API keys for model distillation escalated privileges through Railway's build infrastructure, then used CI credentials to decrypt a subset of envelope-encrypted environment variables.
Real BYOC (Bring Your Own Cloud) splits a managed platform into a vendor-hosted control plane, which holds only infrastructure metadata, and a data plane in the customer's own cloud account.
Sample Vault, an AI sample browser for music producers, gives each premium user a dedicated Turso database.
Replit layers its security controls so that no single one is the last line of defense, from development sandboxes to production hosting.
Multi-tenant GPU clusters pool hardware at a shared infrastructure layer (central control plane, shared storage, InfiniBand east/west and Ethernet north/south fabric) while giving each team dedicated GPU nodes, storage PVCs, credentials and its own orchestration layer such as Kubernetes or Slurm.
Attackers exploited CVE-2025-55182, a React Server Components vulnerability in unpatched Next.js versions, to hijack a subset of Railway customer workloads and run a cryptominer.
Seemplicity, a security remediation platform aggregating findings from 150+ tools, outgrew a Postgres-only design as heavy upserts, table bloat and multi-table joins across ~16 per-tenant tables slowed customer dashboards.
Noisy neighbors in a shared Postgres instance such as AWS RDS degrade performance for every tenant through CPU saturation, work_mem and shared_buffers pressure, disk I/O contention on EBS, exhaustion of max_connections, and lock contention from long transactions.
Turso Cloud is now generally available on AWS, built on an S3-native architecture where every commit is made durable on S3 Express One Zone and local disks serve as a read cache.
Temporal built Chronicle, an observability system on ClickHouse, to handle high-cardinality, per-tenant telemetry for its multi-tenant Temporal Cloud without runaway costs.
Inference and many other GPU workloads are highly volatile: Poisson noise, daily and weekly cycles, viral spikes and bursty batch jobs, which pushes fixed-reservation GPU clusters below 50% utilization.
Turso is opening a private beta for Offline Writes, letting applications write to local embedded SQLite replicas while online or offline and sync those changes to the cloud later.
Postgres multi-tenancy comes in three main designs: shared schema, schema-per-user and database-per-user.
Cedalio, an ESG data verification startup, moved from DynamoDB to Postgres and picked Neon over RDS for a simpler API and console.
Neon now supports private and custom Postgres extensions in its serverless platform via Dynamic Extension Loading, available in beta on request.
Deno Deploy and Deno Subhosting isolate untrusted tenant code using layered defenses mapped to a five-point threat model: per-deployment V8 isolates, a virtualized filesystem, and separate VPCs for ingress and outbound traffic.
Windmill.dev, an open-source platform for building internal workflows and UIs from scripts, runs TypeScript on Deno because inline, version-pinned imports make each script a self-contained, reproducible file that is hashed immutably and stored in Postgres.