Design Google Takeout Bulk Export of a User's Account Data
Last updated: November 29, 2026
Quick Overview
Design Google Takeout, which lets a user export data from dozens of Google products into downloadable archives or deliver it to Drive or another cloud, for accounts with terabytes of data.
0
0
0 solved
Design Google Takeout, which lets a user export data from dozens of Google products into downloadable archives or deliver it to Drive or another cloud, for accounts with terabytes of data.
A Google onsite question about long-running jobs and cross-team integration. The interviewer checks how you coordinate many product exporters with different speeds, produce large archives reliably, and protect a sensitive full-account export.
What the Interviewer Expects
- Model an export as a durable long-running job with per-product tasks
- Define a common exporter interface that products implement
- Stream data into chunked archives without holding everything in memory
- Resume after failures without restarting the whole export
- Secure delivery with short-lived signed URLs and re-authentication
Key Topics to Cover
How to Approach This
- Start by clarifying functional and non-functional requirements with the interviewer.
- Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
- Draw a high-level architecture first, then deep dive into 1-2 critical components.
- Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
- Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
- How do you export 2 TB of Photos without the job running for weeks?
- How would scheduled exports every two months work?
- How do you keep one product's slow exporter from blocking the whole archive?
- What abuse risks does Takeout create and how do you mitigate them?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice System Design ProblemsSample Answer
Requirements
- User selects products and formats (e.g., MBOX for Gmail, JSON for Location History), archive size (2 GB to 50 GB chunks), and destination.
- Accounts may have terabytes. Exports can take hours to da...
High-Level Design
- Takeout Frontend requires recent re-authentication and creates an export job in a Job Store (Spanner).
- Orchestrator splits the job into per-product tasks and calls each product's **E...