Notion
- Deep dive
- Distributed systems
- Databases & storage
- Data loss & consistency
Enabling Multi-Region Data Systems at Notion
Answers How do you keep search and AI indexes up to date within each workspace’s region?
Notion uses Debezium to stream Postgres changes into regional Kafka pipelines. Spark jobs update downstream stores, and workspace-to-region routing helps keep text search and AI indexes in the workspace’s assigned…
- The problem
- Regional storage requirements extend to derived copies such as search indexes, embeddings, and analytics data.
- What they did
- Notion streams database changes through regional pipelines and routes workspace updates using a region mapping.
- The result
- Downstream search and AI stores can stay in-region and keep receiving current workspace data.
Why read it Follow data residency from the primary database through embeddings and search, where copies are easy to overlook.