Tool
Database Traffic Control is a PlanetScale feature for enforcing real-time resource budgets on Postgres query traffic. It matches workloads by query pattern, application name, Postgres user, or custom tags attached through SQL comments, then limits server share, burst capacity, per-query usage, or concurrency for each traffic slice. Budgets can run in warn mode to observe violations or enforce mode to block queries that exceed limits, with separate warning thresholds available for enforced budgets. It is designed for incident response, priority-based traffic shaping, protection against AI-agent traffic spikes, tenant and regional isolation, and safe deployment rollbacks. The feature is available for PlanetScale Postgres databases through the dashboard, API, and CLI, and integrates with PlanetScale Insights for finding problematic queries.
1 use taken from transcripts — each links to the moment in the video.
A PlanetScale feature that categorizes and tags traffic coming into a database and lets you set resource budgets (CPU, backend processes) per traffic segment. When a budget is exceeded it gracefully degrades — warning or killing queries — so a surge of agent traffic doesn't crash the whole database.
1 in the library.