
How Stripe uses graph search and state machines to auto-remediate a global database fleet
7/16/2026
This post elaborates on the technical details of how Stripe uses graph search and state machines to auto-remediate its global database fleet. It explains the process of modeling MongoDB infrastructure as a traversable graph and utilizing pathfinding algorithms to dynamically compute and execute recovery plans. The post highlights the impact of this automated approach, including a 30% reduction in pager volume, elimination of unhealthy shard states, and the ability to support new shard layouts with zero manual effort.