Database Traffic Control™
We're introducing Database Traffic Control™ for PlanetScale Postgres — a traffic management system that lets you enforce flexible budgets on your database query traffic in real time.
Traffic Control uses budgets to cap resource usage for specific slices of your workload. Each budget can limit server share (CPU percentage), burst capacity, per-query execution time, and query concurrency. You can target traffic using rules that match on query pattern, application name, Postgres user, or custom sqlcommenter tags.
Budgets run in warn mode to observe what would be throttled, or enforce mode to actively block queries that exceed limits.
Common use cases include incident response, priority-based traffic shaping, protecting user traffic from AI agent workloads, and safe deployments.