Neki by PlanetScale

Sep 10, 2026 10:48 PM - 4 days ago 2
SHARDEDPOSTGRESIS HEREIS HERE

Now available

Neki is sharded Postgres by PlanetScale. Every shard is existent Postgres. Neki adds the router, sidecars, and power level to standard it past a azygous machine, to hundreds of millions of QPS and petabytes of data, without downtime.

Neki, the fortunate cat

[ NEKI ]

Application

Shard 01

Shard 02

Shard 03

Shard 04

An exertion connects to the Neki router, which routes queries to Postgres shards. A 4th shard is being divided online.

Scale Postgres past the limits of a azygous instrumentality to hundreds of millions of QPS and petabytes of data.

Split basking shards arsenic workloads grow. Neki creates caller target shards, catches them up pinch replication, and moves postulation done topology changes.

Move information to a caller shard layout while the database stays online. Rebalance capacity without exertion rewrites aliases attraction windows.

Each shard is existent Postgres. Neki adds the router, sidecars, and power level needed to standard Postgres horizontally.

05

Let the level way health, beforehand replicas, and update routing. Applications support utilizing the aforesaid Postgres endpoint.

06

Run schema changes arsenic coordinated workflows crossed shards. Neki applies the correct method per shard and tracks advancement done cutover.

07

Pool connections wrong the sharded database layer. Neki routes pinch consciousness of topology, shard health, and convention state.

08

Assign different tables aliases workloads to different shard groups. Scale hot, cold, aliases isolated information connected the hardware floor plan it needs.

09

Run each shard arsenic a highly disposable Postgres cluster crossed readiness zones. Failures enactment isolated to the smallest imaginable unit.

10

Define really information maps to shards, shard groups, and shard indexes. Placement is explicit, reviewable, and built for controlled resharding.

Write crossed shards successful 1 transaction. Neki coordinates perpetrate truthful the alteration is atomic: each shard applies it, aliases nary do.

Use definitive workflows for imports, resharding, schema changes, cutovers, and cleanup. Neki makes distributed Postgres operations repeatable.

Move to caller Postgres versions done the aforesaid online migration model: create target shard groups, replicate, trim over, and discontinue the aged groups.

Import into Neki while the root database keeps serving traffic. Copy, replicate, verify, and trim complete erstwhile the target is ready.

Each Neki shard has its ain WAL and logical replication path. CDC stays compatible pinch modular Postgres patterns and per-shard streams.

Start pinch a azygous shard and divided arsenic you grow. Bring an existing database complete pinch a zero-downtime import, aliases talk to the squad astir your workload.

More