Design Account Deletion That Purges Data Across Every Meta Service

Last updated: November 29, 2026

Quick Overview

Design the system that, when a user deletes their account, finds and removes their data across hundreds of services and storage systems within a regulatory deadline, and can prove it was done.

Meta
System Design
Software Engineer
Meta
November 29, 2026
Software Engineer
System Design Round
System Design
Hard

0

0

0 solved


Design the system that, when a user deletes their account, finds and removes their data across hundreds of services and storage systems within a regulatory deadline, and can prove it was done.

Privacy obligations like GDPR and Meta's regulatory commitments make deletion a real engineering problem with no single database to clean. The interviewer is looking for a reliable orchestration design, a data ownership model that scales across teams, and verifiable completion.

What the Interviewer Expects
  • Treat deletion as a long-running, durable workflow with retries
  • Require each data store to register how it is keyed and how to delete
  • Handle data in derived systems, caches, logs, backups, and ML training sets
  • Provide a grace period and cancellation
  • Produce audit evidence and detect leftovers
Key Topics to Cover
Workflow orchestration
Data lineage
Idempotency
Compliance
Crypto-shredding
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
  • How do you delete a user's comments on other people's posts without breaking threads?
  • What about backups that cannot be edited in place?
  • How would you catch a new team that stores user data without registering?
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

Functional: user requests deletion; after a 30-day grace period the account and all its data are removed; the user can cancel during grace. Non-functional: complete within a fixed deadline (sa...

High-Level Design
  • Deletion Request Service: records the request, immediately deactivates the account (logins blocked, profile hidden), schedules the purge.
  • Data Registry: every data asset (table, KV namespa...

Submit Your Answer
Markdown supported