Why We Migrated from Neon to PlanetScale

Why We Migrated from Neon to PlanetScale

In May 2025, during the same week Neon announced their acquisition, our databases went down four times. For hours. Database spin-ups, their entire value proposition, were completely disabled. Our "serverless" databases couldn't even start.

That was the final straw in our decision to migrate to PlanetScale.

Who We Are and Why Databases Matter More

At OpenSecret, we're building something unique: a confidential computing platform powered by AWS Nitro Enclaves. Our flagship application, Maple AI, provides truly private AI chat where even we can't see user data.

Here's how it works: User data is encrypted client-side before leaving their device. It travels encrypted to our servers, where it's processed inside hardware-isolated enclaves with encrypted memory. Even with root access to our servers, you can't decrypt user data. Only the verified secure enclave can.

This architecture means our database stores encrypted blobs that are meaningless without the enclave's isolated computation environment. Even our database provider cannot read our users' data. But this makes reliability absolutely critical, we can't just "peek" at the data to debug issues. When something goes wrong, we're debugging blind unless we have excellent observability tools.

We have thousands of users generating thousands of chats daily. Lawyers discussing sensitive cases. Executives planning strategy. Developers working on proprietary code. They trust us because their data is mathematically guaranteed to be private. But that trust evaporates quickly when the service is unavailable.

The Breaking Point with Neon

Neon's scale-to-zero architecture seemed clever initially, why pay for idle databases? But for an always-on AI chat application where users expect instant responses, the cold starts and spin-up delays were problematic.

The May outages during their acquisition week were devastating. Four separate incidents where databases were down for hours. The core feature we relied on, databases spinning up on demand, completely failed.

Beyond reliability, we faced other challenges:

  • Usage-based pricing that punished our success, the more users chatted, the more we paid
  • Zero observability into performance metrics like p99 latency
  • No query-level insights to optimize our encrypted workloads

At $250/month for 4 databases without any replicas, we were paying premium prices for subpar reliability.

Why PlanetScale Won

We evaluated several alternatives:

  • AWS RDS: Enterprise-grade but enterprise-priced, with limited innovation
  • Supabase: Great for prototypes, but we needed production reliability
  • Self-hosted: We're a small team building complex infrastructure, we can't afford database administration

PlanetScale stood out because they're laser-focused on being the best database platform. While they built their reputation on MySQL with Vitess, they've brought that same excellence to PostgreSQL. They're not trying to be everything to everyone, just the best at databases.

The Migration: Surprisingly Smooth

Using PlanetScale's open-source migration scripts, we achieved zero-downtime migration. No maintenance windows. No frantic debugging. No angry users.

What stood out was PlanetScale's support throughout the process. They hosted a PostgreSQL migration webinar that walked through exactly what we needed to know. When I hit edge cases in my dev environment, their team responded to my emails quickly with detailed answers that actually solved my problems.

The process was remarkably straightforward. Since we're mostly moving encrypted blobs, we didn't have to worry about complex data transformations or compatibility issues. Our users never knew we switched. They just noticed everything got faster.

The Numbers That Matter

Performance

  • P99 latency: Now consistently at 1.0ms (Neon provided zero visibility into this)
  • API response times: Our slowest billing endpoint dropped from 550ms to 300ms, a 45% improvement
  • Query insights: Finally, we can see which queries need optimization

Cost Structure

  • Neon: $250/month for 4 databases with usage-based pricing, no replicas
  • PlanetScale: $156/month for 4 databases + 8 replicas, all running 100% of the time

The difference is striking. Neon's usage-based pricing meant our costs scaled with user engagement. PlanetScale provides predictable pricing with databases and replicas running continuously. We're paying 38% less while getting 3x the infrastructure. Including automatic failover protection with those 8 replicas running 24/7.

Reliability

  • Downtime since migration: Zero
  • Automatic failovers: Built-in with replicas
  • Database-related incidents: None

The Observability Game-Changer

With Neon, we were flying blind. No p99 metrics. No query-level insights. When something was slow, we guessed.

PlanetScale Insights transformed our operations. We can now see:

  • Which query patterns are struggling
  • Where indexes would help
  • How our system behaves under load
  • Actual performance metrics that matter

This is crucial for our encrypted architecture. While we can't see much of the actual data, PlanetScale's tooling lets us optimize based on query patterns and performance metrics. We can identify slow queries, missing indexes, and performance bottlenecks, all without ever seeing the encrypted content. It's exactly the kind of observability we need for confidential computing.

Building on Solid Ground

The migration transformed our development experience. We've moved from constantly worrying about database availability to actually optimizing performance. Database work no longer blocks product development, it's just another routine task we can handle with confidence.

Features we're excited to explore as we scale:

  • Branching: Perfect for our development workflow
  • Metal: The performance tier we can grow into
  • Neki sharding: Ready when we need horizontal scaling

Looking Forward

As we scale Maple AI and onboard our first dev customers to OpenSecret, we're confident in our foundation. PlanetScale has proven to be the database partner we needed, one that's obsessed with database excellence and provides the reliability and observability our unique architecture demands.

The partnership works because of clear focus: we concentrate on making the best confidential computing platform possible, while PlanetScale focuses exclusively on making databases great. When your database just works, you can focus on what actually matters: building great products for your users.