WhoBuilt

Move Fast and Don't Break Things: Scaling Databases for the AI Era

Oct 6, 2026· 19 min· 8.8K views·Watch on YouTube

Speaker

Ben from PlanetScale speaks at AI Engineer about scaling databases and giving AI agents safe, controlled ways to operate infrastructure.

Build for failure and growth

Ben says infrastructure should isolate components so a control plane failure does not take down access to critical database data. He also recommends redundant database nodes, with replicas ready to take over when a server fails. Failures that are rare on a small system become more frequent across thousands of servers.

Scale with sharding and back pressure

Sharding spreads data and queries across multiple servers, with a proxy routing requests to the right shard. PlanetScale uses Vitess for MySQL and Neki for Postgres, while keeping redundancy within each shard. Back pressure helps prevent overload from crashing a database by limiting or rejecting some traffic so other requests can remain healthy.

Decouple services to contain problems

Combining databases, analytics, queues, and caching can create resource contention and weaken failure isolation. Ben argues that separate services let teams scale the parts of a backend that need more capacity without scaling everything else.

Give agents safe infrastructure interfaces

Database changes can be riskier than code changes because a mistake may take down an application and may not be easy to reverse. Agents can help draft a Vitess VSchema, a JSON configuration for shard keys and table placement. Traffic Control can set resource budgets, warn clients when limits are exceeded, and, if configured, kill queries.

Match database workflows to code workflows

PlanetScale supports branching database schemas, testing changes in isolation, and merging them through deploy requests without downtime. Ben says teams can revert schema changes without data loss, and agents can use the APIs and CLI to automate these steps with human review. He frames well-designed developer tools as useful primitives for agents operating databases safely.

Takeaways

  • Design isolation and redundancy before user growth makes failures frequent.
  • Use sharding when a single database node no longer fits the data and query load.
  • Apply back pressure to protect healthy traffic when systems approach resource limits.
  • Give agents structured configuration and reversible workflows for infrastructure changes.
  • Keep human review in the loop for consequential database operations.

Mentioned in this talk

Search inside this talk

What was claimed 10

  • feature
    PlanetScale: Provides databases and works with companies scaling rapidly
    “We do databases; that's our whole thing. We work with a lot of AI companies that are scaling extremely fast.”
    YouTube
    Unverified1 source· Talk
  • works at
    “I'm Ben, and I'm from PlanetScale.”
    YouTube
    Unverified1 source· Talk
  • uses
    “and Neki for Postgres.”
    YouTube
    Unverified1 source· Talk
  • uses
    “We shard through Vitess for MySQL”
    YouTube
    Verified2 sources· Talk
  • feature
    VTGate: Parses MySQL queries and routes them to the appropriate shard
    “VTGate is the proxy: an intelligent proxy that takes MySQL queries, parses them, figures out which shard they need to go to, and routes the requests”
    YouTube
    Unverified1 source· Talk
  • integrates with
    Vitess integrates with MySQL
    “it works with MySQL to shard data.”
    YouTube
    Unverified1 source· Talk
  • feature
    VSchema: Specifies the column and configuration used to shard data and queries
    “It's literally a JSON file where you specify the column you want to shard on and how you want to shard.”
    YouTube
    Unverified1 source· Talk
  • feature
    PlanetScale: Exposes database capabilities through an MCP server, APIs, and command-line interfaces
    “through our API and command-line interface”
    YouTube
    Unverified1 source· Talk
Show all 10 facts

Related talks