118 million queries per second

PlanetScale pushed its new Neki database to 512 shards and watched throughput scale almost perfectly linearly.

Sep 11, 2026

6 cards · 1m 20s · tap to begin

From · · 1m 20s

118 million queries per second

PlanetScale pushed its new Neki database to 512 shards and watched throughput scale almost perfectly linearly.

In brief

PlanetScale pushed its new Neki database to 512 shards and watched throughput scale almost perfectly linearly. When each shard's workload is isolated, adding shards adds throughput in a straight line: 10x the shards gave 10x the queries, twice over. Originally reported by Planetscale.

A million was too easy

A million was too easy

Neki hit platform preview, and the team celebrated by aiming for 1 million queries per second. Five shards got there almost immediately, so they kept going.

“We hit this goal pretty quickly on 5 shards and decided to see how much further we could push it.”

The simplest possible query

One point select per query, a single row fetched by primary key. No writes, no joins, nothing spanning more than one shard, so every shard's load stayed isolated.

“A single-shard point select, one row fetched per-query by primary key.”

Five, fifty, five hundred

QPS graph showing sustained 118 million qps

The target was 200k QPS per shard, then grow the cluster. Going from 5 shards to 50, the per-shard rate held within 0.8%.

“Ten times the shards, ten times the throughput. Then ten times again.”

Headroom to spare

At 512 shards the hardware still had room, so they let the load generator take it. Each shard settled at 231k QPS instead of the 200k target.

What 118.5 million looks like

Grafana dashboard at peak: 1.22 PiB stored across 513 shards and 483 routers, 118.75M req/s total, router p50 960 microseconds and p99 6.13 ms, 87.3% of reads s

Sustained for 16 minutes: 512 Postgres primaries, 480 routers, 1.22 PiB of data, 15.8M read IOPS, over 2 Tb per second on the network.

“p99 latency of 6.06ms at the router and 13.95ms at the client”

The fine print they own

Shards ran primary-only with no replicas, the workload was read-only, and nothing failed over during the measured window. Errors ran at one query in 1.8 million.

“we did not fail over during the measured window”

The bottom line

When each shard's workload is isolated, adding shards adds throughput in a straight line: 10x the shards gave 10x the queries, twice over.

Read the original on Planetscale

React

Sign in to react and comment.

Comments (0)

Life is short. Keep it sweet. Respect others' opinions and be kind!

    Recommended next

    More decks on databases and related topics.