← Wednesday, October 21, 2026ArchitectureCase study

Shopify clusters products across millions of stores with tiered models and graph partitioning

shopify.engineering 13 min read Editor score 7/10

Shopify’s catalog pipeline uses tiered matching models, graph partitioning, and learned cluster-merge decisions to group listings across millions of stores. The architecture shows how to build a unified product layer from inconsistent, large-scale merchant data.

What
Shopify's cross-store clustering groups listings for the same product across merchants under a global UPI.
How
Models compare listing pairs using titles, images, options, and metadata; accumulated matching evidence is used to build clusters.
Why it matters
Pairwise evidence and clustering address billions of listings without comparing every pair or relying on globally consistent model labels.
pairwisecomparisons matchingevidence graphpartitioning global clusters
Pairwise product matches are gathered and used to form global clusters. Sketched from the article's own text.

Discussion

Discussion is not switched on yet. Use Note above to keep your own thoughts on this story.

Headline, summary, brief and diagram are written by a model from the source's own text; the link, byline and numbers come from the source. Read the original before relying on a claim.

Your note

Private to you. Stored in this browser, and synced to your account when you are signed in.