Ephemeral databases and Postgres
A database that exists for one test run, one pull request, or one agent task removes a whole class of accidents. These posts cover ephemeral and per-branch Postgres, cloning and point-in-time restore, database isolation for multi-tenant and agent workloads, and the operational side of running Postgres in its own microVM.
Ephemeral Postgres databases on PandaStack86 posts
Leader Election When Your Compute Can Be Cloned
A restarted process comes up empty and has to ask who the leader is. A restored one never asks — it resumes mid-sentence still believing it holds the lock. Leases, fencing tokens, and why a forked sandbox must revoke leadership before it does anything else.
What "persistent" actually means in a sandbox
You wrote the file. You ran cat and saw it. Neither of those facts says the bytes are on a disk. Here is every layer a write passes through inside a microVM, which of them a crash erases, and why the honest answer for an ephemeral rootfs is not "fsync harder" but "get the artifact out".
The Best Prefect Hosting Platforms in 2026
Almost every 'how do I host Prefect' thread is two questions wearing one coat: where does the server live, and where do flow runs actually execute? They have different answers, and the second one is the one that costs money.
The best ways to host MLflow in 2026
MLflow looks like a web app and is actually a database, a bucket, and a code-distribution channel wearing one name. An honest look at where to put each part — including where we're the wrong answer.
Ephemeral Databases for AI Agents
Give an agent a run_sql tool and it will use it — including the DELETE it emits while debugging its own step. The fix isn't a better statement filter; it's a database that exists for one task and is deleted when the task ends.
The Best Dagster Hosting Platforms in 2026
You do not deploy 'Dagster'. You deploy a webserver, a daemon that must be a singleton, one or more code-location servers, and a Postgres you cannot skip. Here is how the hosting options handle that, honestly.
Webhook Replay and Relay: Ingest First, Process Later
The provider retried for eleven hours, gave up, and the event is gone with no record you can inspect. The fix is boring and it is one afternoon of work: ingest first, process later.
Per-Tenant SQLite: One File, One microVM, and No Noisy Neighbours
One SQLite file per customer gets the data model right: blast radius is a path, erasure is rm. Then you put a thousand of them in one process and discover that a file boundary is not a failure boundary.
The best Meilisearch hosting platforms in 2026
Meilisearch is one stateful Rust binary with a memory-mapped index on a disk. That sentence explains every hosting option below, including the one where you do not host it at all.
More posts in this topic
- The best durable execution platforms in 2026
- Top 8 MySQL Hosting Platforms in 2026
- The 8 Best AWS SQS Alternatives in 2026
- The best Upstash alternatives in 2026
- The best Convex alternatives in 2026
- The best Appwrite alternatives in 2026
- The Best Managed Redis Providers in 2026
- How to Run Redis Alongside Your App
- The Best ClickHouse Hosting Platforms in 2026
- The Best TimescaleDB Hosting Platforms in 2026
- The Best Crunchy Bridge Alternatives in 2026
- Rehearse Your Data Migration on a Real Copy, Not a Staging Guess
- How to use Drizzle ORM with a managed Postgres database
- The best Xata alternatives in 2026
- How to build a multi-tenant audit log your customers' auditors will accept
- How to Run a Job Queue Without a Worker Fleet
- The best ways to host Langfuse in 2026
- The best ways to host LiteLLM in 2026
- The best ways to host Windmill in 2026
- CREATE EXTENSION Is dlopen: Sandboxing Untrusted Postgres Extensions
- The best DigitalOcean Managed Databases alternatives in 2026
- The best Turso alternatives in 2026
- The best vector database hosting platforms in 2026
- Best Apache Airflow Hosting Platforms in 2026
- Best Cloudflare D1 Alternatives (2026)
- Your Backup Is a Hypothesis: DR Drills in Disposable microVMs
- Best n8n Hosting Platforms in 2026: A Self-Hoster's Guide
- Best LangGraph Deployment Platforms in 2026
- The best Strapi hosting platforms in 2026
- The best Vercel Postgres alternatives in 2026
- The best Supabase Edge Functions alternatives in 2026
- The best Prisma Postgres alternatives in 2026
- How to branch a Postgres database for a pull request
- The best MongoDB Atlas alternatives in 2026
- The best Aiven alternatives in 2026
- How to add pgvector to a Postgres database
- How to use Prisma with a managed Postgres database
- How to connect to Postgres with a connection pooler
- How to restore a Postgres database to a point in time
- How to run database migrations on every deploy
- The Best Heroku Postgres Alternatives in 2026
- The best CockroachDB alternatives in 2026
- The best Amazon RDS alternatives in 2026
- The best PlanetScale alternatives in 2026
- The best Firebase alternatives in 2026
- The best Neon alternatives in 2026
- The best Supabase alternatives in 2026
- The best managed Postgres providers in 2026
- How to migrate a Postgres database with minimal downtime
- How to deploy an Express API with Postgres
- How to Migrate from Heroku to MicroVM Hosting
- Schema migrations that don't take the site down
- Connection pooling, and why you ran out of connections
- Wiring an app to managed Postgres with Prisma or Drizzle
- How much memory does your Postgres actually need?
- Backups you haven't restored aren't backups
- The Postgres metrics worth watching
- Getting realistic test data into ephemeral databases
- PandaStack vs Neon: Comparing Managed Postgres Providers
- PandaStack vs Supabase: an honest comparison
- Best Postgres Database Branching Platforms (2026)
- Running managed Postgres inside a microVM
- Postgres point-in-time recovery, explained
- Cloning production data for testing, safely
- Suspending idle Postgres databases
- Routing Postgres connections by SNI
- Database failover when the host disappears
- Rotating database credentials without downtime
- End-to-end tests with a real app and a real database
- A staging environment per branch, database included
- Database Branching with Copy-on-Write MicroVMs
- Run AI-Agent DB Migrations in an Isolated microVM
- Sandboxing an AI Agent's Generated SQL in MicroVMs
- Testing LLM-Generated Database Migrations Safely in a Sandbox
- Running LLM-Generated SQL and Analysis Safely
- Spin Up an Ephemeral, Seeded Postgres per Pull Request
- Database-per-Tenant Isolation with MicroVMs