Design Regional Data Residency Routing for Enterprise API Customers

Last updated: November 29, 2026

Quick Overview

Design how API and ChatGPT Enterprise requests from customers who choose a data residency region (for example Europe) are processed and stored only in that region, while the rest of the platform stays global.

OpenAI
System Design
Software Engineer
OpenAI
November 29, 2026
Software Engineer
System Design Round
System Design
Medium

0

0

0 solved


Design how API and ChatGPT Enterprise requests from customers who choose a data residency region (for example Europe) are processed and stored only in that region, while the rest of the platform stays global.

OpenAI offers data residency options to enterprise and API customers in several regions. The interviewer is looking for how you pin tenants to regions end to end, which data can still be global, and how you prevent accidental cross-region leaks.

What the Interviewer Expects
  • Make region a property of the organization or project and enforce it at the edge
  • Classify data: customer content (regional) versus global metadata (accounts, billing)
  • Keep inference, storage, logs, caches and backups in-region
  • Design a control plane that is global but carries no customer content
  • Detect and prevent cross-region data movement
  • Plan for capacity limits in smaller regions
Key Topics to Cover
data residency
multi-region architecture
control plane vs data plane
tenant routing
compliance
How to Approach This
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
  • What happens when a resident customer calls a model that is not deployed in their region?
  • How do you debug an incident for an EU customer if engineers are elsewhere?
  • How do you migrate an existing project to a new residency region?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice System Design Problems
Sample Answer
Requirements
  • An org or project picks a residency region at creation; content (prompts, outputs, files, vector stores, conversation history) is processed and stored at rest only in that region.
  • Regional endpoin...
High-Level Design
  • Global control plane: identity, org config, billing aggregates, model catalog. Stores only non-content metadata, including each project's home_region.
  • Regional data planes, each a full s...

Submit Your Answer
Markdown supported