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, 2026
Software 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
  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.
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 Requirements

  1. Visibility Settings: Users can set visibility for their posts as 'Only Me', 'Friends Only', 'Custom Lists', or 'Public'.
  2. 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

Related Questions