Files
nexus/sreweekly/markdown/40/04-sharding-pinterest-how-we-scaled-our-mysql-fleet.md
2026-09-12 17:23:01 +08:00

1.9 KiB
Raw Permalink Blame History

Sharding Pinterest: How we scaled our MySQL fleet

简介

Pinterest explains how they broke their datastore up into 4096(!) shards on 4 pairs of MySQL servers (later 8192 on 8 pairs). It’s an interesting approach, although in essence it treats MySQL as a glorified key-value store for JSON documents.

正文

a person with tattoos on their arm

Engineering

Building the platform where people around the world come to search, save and shop

a man holding a cup

Engineering at Pinterest

Our Engineering team is at the heart of bringing Pinterest to life for hundreds of millions of users around the world. Together, we tackle ambitious challenges at massive scale, using advanced AI and infrastructure to build industry-leading products, platforms and experiences. By bringing together cutting-edge research and bold innovation, our engineers push boundaries, explore what’s next, and turn big ideas into reality.

a man sitting in a chair with a camera

The Pinterest Engineering Blog

Explore articles about building features, improving processes and overcoming challenges from the people behind the product.