Home / Companies / Sentry / Blog / Post Details
Content Deep Dive

Removing risk from our multi-region design with simulations

Blog post from Sentry

Post Details
Company
Date Published
Author
Mark Story
Word Count
1,552
Company Posts That Month
9
Language
English
Hacker News Points
-
Post removed?
No
Summary

Sentry has introduced data residency in the EU alongside its US offering, necessitating a reimagined multi-region architecture that maintains a seamless product experience without requiring customers to manage multiple logins or region-specific integrations. This new architecture introduces "Control Silo" and "Region Silo" models to organize data, with the former housing globally shared resources and maintaining API compatibility, while region silos remain isolated. To ensure the successful implementation of this system, Sentry employed runtime metadata and Python annotations to simulate silo boundaries and identify necessary code path adjustments, using Django's ORM to enforce these boundaries. This process involved gradually updating tests to a 'silo stable' mode, ultimately achieving full test passing in both current and future operation modes, thus allowing Sentry to confidently proceed toward a physical database split. Despite some challenges, such as lack of context for annotations among teams and incomplete test coverage, the approach provided a robust framework for transitioning to a multi-region setup.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.