Codú
‹ Back to feed

// Link · 23 October 2026

Shard design doesn't start from your tables

Previously, in The lifecycle of a sharded Postgres query, the router had to join customers and orders itself, because each table was sharded by its own ID. The fix was to shard orders by customer_id, hashed and mapped the same way as customers. In Neki, that fix is called a "shard group." Sharding s...

PlanetScale Blog
@planetscale-blog · planetscale.com
planetscale.com
Visit Link at planetscale.com
PlanetScale Blog@planetscale-blog

Discussion 0

Loading

Got something to say?

or to join the conversation.

Learn to build with AI and grow with people doing the same — it's free.