Design a Privacy Control System
Last updated: June 17, 2026
Quick Overview
Design a privacy and access control system for social media posts. Support visibility settings like Only Me, Friends Only, Custom Lists, and Public. Cover efficient access checks at read time and handling cascading privacy changes.
Meta
System Design
Software Engineer
Meta
June 17, 2026Software Engineer
System Design Round
System Design
Medium
335
0
476 solved
Design a privacy and access control system for social media posts. Support visibility settings like Only Me, Friends Only, Custom Lists, and Public. Cover efficient access checks at read time and handling cascading privacy changes.
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.
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
Functional Requirements
- Visibility Settings: Users can set visibility for their posts as 'Only Me', 'Friends Only', 'Custom Lists', or 'Public'.
- Access Control: Implement efficient a...
Capacity Estimation
Capacity Estimation
Assuming Meta has approximately 3 billion users, let's estimate the scale:
- Posts per User: Average of 100 posts per user.
- Total Posts: 3 billion users * 100 posts/u...
Submit Your Answer
Markdown supported