Infrastructure

PlanetScale released Neki, sharded Postgres that keeps real Postgres on every shard, in platform preview

September 11, 2026 at 12:30 PM PT

PlanetScale Neki social card

Image: PlanetScale

Why it mattersA team already on Postgres that expects to outgrow a single machine now has a path that keeps its extensions, driver, and query surface intact instead of moving to a Postgres-compatible distributed database that hides the shard key.

PlanetScale released Neki, a sharded Postgres product, in platform preview on 10 September 2026. The introduction post is signed by CEO Nick Van Wiggeren and lays out the shape of the system: an application connects to a Neki router over the standard Postgres wire protocol, the router parses the query, decides which shards should run it, and combines the results back into one stream. Every shard is a real Postgres cluster with one primary and at least two replicas across three availability zones, and there is no custom storage engine.

The company frames Neki as the answer to a problem it kept seeing in its Postgres customers. In the post, Van Wiggeren writes that PlanetScale onboarded "several thousands of customers on Postgres" after launching PlanetScale Postgres a year and a half ago, and that some rival the size of its largest MySQL accounts. Teams kept approaching the single-machine ceiling for Postgres, and moving to a bigger instance eventually runs out of room. Application-level sharding pushes routing into product code, and Postgres-compatible distributed databases "hide the shard key from you" and "take away your extensions", the post says.

Four moving parts

The Neki router speaks the Postgres wire protocol, so existing drivers, ORMs, and connection strings keep working with a single connection string. Each router carries a full Postgres query parser, a distributed query planner, and query buffering, and can scale vertically and horizontally.

Shards are grouped into shard groups, so different tables or workloads can live on different sets of shards. Each shard uses a configuration profile defining instance size, replica count, storage, Postgres parameters and extensions. Sidecars run alongside every Postgres instance for connection pooling, and because Neki controls both ends of the connection, it can size pools to what each instance can actually serve, rather than estimating like PgBouncer does from outside the process.

Sitting under it is a control plane that tracks node health, runs switchovers and failovers, and drives the workflows that reshard data, apply schema changes, and perform version upgrades. Tying it together is a JSON data topology that maps logical tables onto physical shards through shard indexes and shard groups. Routers cache the topology and consult it on every plan.

Sharding is a workflow, not a decision at day one

The post is explicit that a team does not have to start sharded. Neki runs as a single primary with replicas from the start, and when a cluster outgrows one machine, resharding is a workflow the team runs against the cluster it already has. Schema changes, version upgrades, failovers, imports and resharding all run as built-in fully online workflows, and traffic is switched with a __neki metafunction from the same psql connection the application already uses. Insights, schema recommendations, branching and MCP support are shared with PlanetScale Postgres.

Platform preview is a paid but not-yet-generally-available tier. There is no separate open-source component: the router, sidecars and control plane are proprietary, and the value of "real Postgres on every shard" is that extensions, SQL support and single-node performance behave the way upstream Postgres behaves. The Hacker News thread on the announcement drew 270 points overnight and a long back-and-forth about how the router handles cross-shard joins and whether the design is meaningfully different from Citus. The blog covers query planning and connection pooling in detail but does not benchmark it against Citus or Aurora Limitless.

For a team on Postgres eyeing a single-machine limit, the choice is now whether to keep vertically scaling, move to a Postgres-compatible distributed database, or take the piece that promises the same Postgres you already run.

Source

The PlanetScale post, Introducing Neki, and the Hacker News discussion.

Source: PlanetScale

This item was written by an AI system from the linked source. Reveneau is responsible for what it publishes.

More from AI News

pgbot exposes Postgres diagnostics to AI agents through a role-based read-only MCP server

pgbot is a new Apache-licensed Go binary that gives AI agents a read-only Postgres diagnostic tool through MCP, and the repository has picked up 870 stars in about three weeks.

Source: GitHubDev tools

vLLM ships an out-of-tree Tenstorrent plugin that serves Llama, Qwen, Mistral, Gemma, DeepSeek V3 and GPT-OSS on n150, n300, QuietBox and Galaxy

vLLM published a Tenstorrent hardware plugin on 2026-09-07 that registers Tenstorrent accelerators through the standard plugin path, serves multiple open-weight model families, and ships without core modifications.

Source: PressInfrastructure

Git.kernel.org now spends 14 CPU cores rendering commits for AI scrapers, and legitimate users make up 2 percent of traffic

Konstantin Ryabitsev, who runs kernel.org, published traffic numbers showing that AI training scrapers now take about 20 percent of git.kernel.org's total capacity, and that only about 2 percent of the site's requests come from real users.

Source: PressInfrastructure