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: Stripe’s Zero-Downtime Data Movement Platform Migrates Petabytes with Millisecond Traffic Switches
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 > Stripe’s Zero-Downtime Data Movement Platform Migrates Petabytes with Millisecond Traffic Switches
News

Stripe’s Zero-Downtime Data Movement Platform Migrates Petabytes with Millisecond Traffic Switches

News Room
Last updated: 2025/11/24 at 3:43 AM
News Room Published 24 November 2025
Share
Stripe’s Zero-Downtime Data Movement Platform Migrates Petabytes with Millisecond Traffic Switches
SHARE

At QCon San Francisco 2025, Jimmy Morzaria, Staff Software Engineer at Stripe, presented the company’s Zero-Downtime Data Movement Platform, a system enabling petabyte-scale database migrations with traffic cutovers that typically complete in milliseconds. The platform supports Stripe’s infrastructure, handling 5 million database queries per second across 2,000-plus MongoDB-based shards while maintaining 99.9995% reliability for $1.4 trillion in annual transactions.

The platform’s migration process follows a six-phase blueprint designed around three principles: maintaining data consistency with downtime shorter than node failover events, minimizing performance impact on live queries, and accommodating shards ranging from small datasets to tens of terabytes.


Stripe’s DocDB zero-downtime data movement stages

A data migration starts with a “migration registration” step that updates the routing metadata service to register new target shards and their key ranges. This step establishes the intended destination for data before any movement occurs.

The bulk data import phase then transfers the primary dataset using an optimized service that achieves tenfold performance improvements over standard imports. Morzaria explained that the team reordered inserts to align with MongoDB’s B-tree storage engine, sorting items by the most-used indexes in each shard to improve write performance by 10x.

Next, during async replication, a dedicated replication service maintains bidirectional synchronization between source and target shards. This crucial phase captures ongoing changes to source data while simultaneously replicating modifications back to source shards. The bidirectional approach enables complete migration rollbacks if issues emerge, providing a critical safety mechanism for financial data.



Architecture overview of the Async Replication step in the zero-downtime migration

Following replication, a validation service performs comprehensive correctness checks comparing data between source and target shards before proceeding to traffic switching. This verification ensures data integrity across the migration boundary.

The actual traffic switch (or cutover) step represents the platform’s most technically sophisticated phase. Based on what Morzaria termed “versioned gating,” the mechanism coordinates version updates across the database proxy service, coordinator, routing service, and replication service.



The traffic switch stage is based on “versioned gating”, allowing minimal downtime

The process begins with the client application querying through the proxy at version one, which routes to the source database. The coordinator then sets version two and verifies replication synchronization. Once confirmed, the proxy fetches new routes and begins querying with version two, directing traffic to the target database while the source shard receives updates to maintain rollback capability. The entire coordination completes in milliseconds to 2 seconds at most, keeping customer disruption imperceptible.

Migration deregistration concludes the process by cleaning up metadata and decommissioning the migration infrastructure.

Beyond horizontal scaling, Stripe uses the platform for shard merging, MongoDB version upgrades across multiple major releases, and tenancy model transitions. Morzaria noted that substantial foundational investments enable tools to serve a range of scenarios beyond their original designs.

Stripe built its DocDB platform internally rather than using managed services due to requirements around security policy enforcement, predictable performance, and multi-tenancy support with enforced quotas. As individual shards reached tens of terabytes by 2020, the company needed a systematic approach to data movement. Morzaria emphasized that 40% of customers abandon transactions after payment denials, making zero-downtime migrations essential rather than optional. Consequently, the build-versus-buy decision made sense for Stripe given strategic importance, differentiated requirements, and security needs.

 

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 Scientific discovery accelerates with AI and advanced analytics –  News Scientific discovery accelerates with AI and advanced analytics – News
Next Article What to Stream: ‘Stranger Things,’ ‘Mickey 17,’ Kevin Hart and ‘A Grand Ole Opry Christmas’
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

Why I regret skipping a case and screen protector for my Pixel 10 Pro
Why I regret skipping a case and screen protector for my Pixel 10 Pro
News
Exact clues to instantly expose bank-emptying text set to flood phones this week
Exact clues to instantly expose bank-emptying text set to flood phones this week
News
Motorola Launches New Budget Phone Under Rs 15000
Motorola Launches New Budget Phone Under Rs 15000
Mobile
Share sale values Revolut at bn – UKTN
Share sale values Revolut at $75bn – UKTN
News

You Might also Like

Why I regret skipping a case and screen protector for my Pixel 10 Pro
News

Why I regret skipping a case and screen protector for my Pixel 10 Pro

7 Min Read
Exact clues to instantly expose bank-emptying text set to flood phones this week
News

Exact clues to instantly expose bank-emptying text set to flood phones this week

10 Min Read
Share sale values Revolut at bn – UKTN
News

Share sale values Revolut at $75bn – UKTN

2 Min Read
One in four unconcerned by sexual deepfakes created without consent, survey finds
News

One in four unconcerned by sexual deepfakes created without consent, survey finds

5 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?