Top posts

Every blog post that took off on Hacker News, ranked by the votes of its best submission. 2,293 posts.

Any topic
2017
1703

Sharding data models

At Citus we make it simple to shard PostgreSQL. So we’ve thought a lot about different data models for sharding. This post covers 5 different data models for sharding, from sharding by tenant (multi-tenant data models), sharding by geography, sharding by entity id, sharding a graph, and time-based partitioning.