Catalogue / stripe-2024-docdb

Stripe builds DocDB on MongoDB and an online Data Movement Platform serving over five million QPS across 2,000+ shards

Stripe, 2024. DocDB and Data Movement Platform.

Organisation
Stripe
Evidence
Reported from production
Source
How Stripe’s document databases supported 99.999% uptime with zero-downtime data migrations

Stripe Blog, published 2024-06-06

Records

Decision#d1

Build DocDB as a self-managed sharded DBaaS in Go over MongoDB Community with a minimal query API

Decision#d2

Sort bulk-imported chunk data by common index attributes before inserting into B-tree storage

Decision#d3

Replicate migration writes bidirectionally from Kafka and S3 CDC oplogs and verify with snapshots

Decision#d4

Cut over chunk traffic in under two seconds using a custom MongoDB versioned-gating patch

Decision#d5

Reuse online chunk migration for shard bin-packing and single-step major MongoDB upgrades

Sign in to read what was chosen, what was rejected and what it cost, each with its place in the source. An account is free.