By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: Etsy Migrates 1000-Shard, 425 TB MySQL Sharding Architecture to Vitess
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > News > Etsy Migrates 1000-Shard, 425 TB MySQL Sharding Architecture to Vitess
News

Etsy Migrates 1000-Shard, 425 TB MySQL Sharding Architecture to Vitess

News Room
Last updated: 2026/04/11 at 3:51 AM
News Room Published 11 April 2026
Share
Etsy Migrates 1000-Shard, 425 TB MySQL Sharding Architecture to Vitess
SHARE

The Etsy engineering team recently described how the company migrated its long-running MySQL sharding infrastructure to Vitess. The transition moved shard routing from Etsy’s internal systems to Vitess using vindexes, enabling capabilities such as resharding data and sharding previously unsharded tables.

An open source database clustering system for horizontally scaling MySQL, Vitess was initially introduced as a layer between the ORM (Object-Relational Mapping) and the database, routing queries through it. At the same time, the ORM continued to specify the target shard.

In Vitess, vindexes define how application data maps to database shards and how queries are routed across them. Ella Yarmo-Gray, senior software engineer at Etsy, explains the challenge Etsy faced:

With this new infrastructure in place, we were ready to start exploring vindexes, which define sharding strategies within Vitess (…) Since the ORM’s shard mappings are random and not algorithmic, using one of these out-of-the-box would require re-sharding all of our data – a process that would be manual and likely take years. Instead, we chose to write custom vindexes that ported our existing shard logic into Vitess so we could test how vindexes worked in our environment without the complexity and risk of moving data.

Etsy has used a sharded MySQL architecture since around 2010 to store most of its production data, with proprietary sharding logic, approximately 1000 shards, and 425 TB of data, serving 1.7 million requests per second.

Etsy engineers access MySQL through an internal object-relational mapping (ORM) layer, in which each database table has a corresponding model. For sharded tables, a unique ID field, called the shardifier ID, was defined in the model to determine which shard stores each record: while most models use shop_id or user_id as a sharding key, overall more than 30 different IDs were used, with record-to-shard mappings stored in a single (unsharded) “index” database. While the approach improved scalability and limited the impact of outages to a small portion of traffic, scaling operations were slow and manual, with the index database being a single point of failure and developers having to manage sharding themselves.

A few years ago, the company decided to migrate to Vitess to address those challenges while maintaining MySQL compatibility, removing the “index” database, and hiding shard complexity from developers. The migration involved redesigning parts of the data model to support better sharding, selecting a shard key, and gradually moving production traffic to the new environment while verifying data consistency. Yarmo-Gray concludes:

Five years, approximately 2,500 pull requests and 6,000 queries later, we have successfully migrated Etsy’s shard management to Vitess vindexes! Despite the work we put in to streamline the migration process, it was still a challenge to replace the database infrastructure for a codebase of Etsy’s scale and age.

In the last few years, the Etsy engineering team has published a series of articles titled “Sharding Payments with Vitess,” documenting their migration effort for the payments platform, describing the challenges of migrating their data models, covering the cut-over effort of a crucial high-traffic system, and evaluating cutover risks.

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article Nvidia’s Jensen Huang projects combined sales of  trillion for Blackwell and Vera Rubin through 2027 – but this is only half the story Nvidia’s Jensen Huang projects combined sales of $1 trillion for Blackwell and Vera Rubin through 2027 – but this is only half the story
Next Article JD.com pilots retail e-commerce platform Joybuy in London · TechNode JD.com pilots retail e-commerce platform Joybuy in London · TechNode
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

OpenAI Launches 0 ChatGPT Pro Plan with 5x Codex Limits — Everything You Need to Know – Chat GPT AI Hub
OpenAI Launches $100 ChatGPT Pro Plan with 5x Codex Limits — Everything You Need to Know – Chat GPT AI Hub
Computing
CursorJack, deeplink attack for AI development
CursorJack, deeplink attack for AI development
Mobile
I’ve been a Kindle user for 10+ years — and I may never buy another one
I’ve been a Kindle user for 10+ years — and I may never buy another one
News
NVIDIA acquires Chinese GPU cloud startup Lepton AI: report · TechNode
NVIDIA acquires Chinese GPU cloud startup Lepton AI: report · TechNode
Computing

You Might also Like

I’ve been a Kindle user for 10+ years — and I may never buy another one
News

I’ve been a Kindle user for 10+ years — and I may never buy another one

6 Min Read
OpenAI says to update Mac apps including ChatGPT and Codex as security precaution – 9to5Mac
News

OpenAI says to update Mac apps including ChatGPT and Codex as security precaution – 9to5Mac

2 Min Read
Samsung's Galaxy Z Fold 7 Just Got a Price Hike, 9 Months After Its Release
News

Samsung's Galaxy Z Fold 7 Just Got a Price Hike, 9 Months After Its Release

3 Min Read
Achieve Picture-Perfect Monitor Settings with MSI Uniform Luminance
News

Achieve Picture-Perfect Monitor Settings with MSI Uniform Luminance

10 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?