PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep
|Home/System Design/Meta

Design scalable media storage and delivery

Last updated: Mar 29, 2026

Quick Overview

This question evaluates an engineer's ability to design globally distributed, highly scalable media storage and delivery systems, covering competencies in object storage and metadata modeling, CDN integration, replication and consistency strategies, security and access control, background processing, observability, quotas, and cost/performance trade-offs. It is commonly asked in system design interviews to assess reasoning about durability, availability, latency and cost trade-offs while requiring both high-level architectural thinking and practical implementation details; category: System Design; level of abstraction: combines conceptual architecture with practical application considerations.

  • hard
  • Meta
  • System Design
  • Machine Learning Engineer

Design scalable media storage and delivery

Company: Meta

Role: Machine Learning Engineer

Category: System Design

Difficulty: hard

Interview Round: Onsite

Design a system to store and deliver user-generated photos and short videos at global scale. Functional requirements: upload (single and multipart), read/download, delete, list, thumbnail and transcode generation, simple search by owner/metadata, signed access URLs, and per-user quotas. Non-functional (“below the line”) topics to address explicitly: durability targets (e.g., 11 9s), availability/SLOs, multi-region data layout and replication strategy, consistency model for metadata vs. objects, CDN integration and cache invalidation, encryption in transit/at rest and key management, access control and authZ, abuse prevention and rate limiting, cost model and lifecycle policies (tiering, retention, cold storage, deletion), background processing semantics (idempotency/exactly-once), metadata schema and indexing, observability (metrics, tracing, audit logs), backfill/migrations, disaster recovery and regional failover, performance (p95/p 99), and testing/rollout plans. Deliverables: API sketch, component diagram, storage choices (object store vs. block/file, metadata store), and capacity planning with rough numbers.

Quick Answer: This question evaluates an engineer's ability to design globally distributed, highly scalable media storage and delivery systems, covering competencies in object storage and metadata modeling, CDN integration, replication and consistency strategies, security and access control, background processing, observability, quotas, and cost/performance trade-offs. It is commonly asked in system design interviews to assess reasoning about durability, availability, latency and cost trade-offs while requiring both high-level architectural thinking and practical implementation details; category: System Design; level of abstraction: combines conceptual architecture with practical application considerations.

Related Interview Questions

  • Design Top-K, Crawler, and Chess Systems - Meta (hard)
  • Design Search And Web Crawling Systems - Meta (medium)
  • Design an Instagram-Style Social Feed - Meta (medium)
  • Design an Online Game Leaderboard - Meta (hard)
  • Design an On-Demand Delivery Platform - Meta (medium)
Meta logo
Meta
Sep 6, 2025, 12:00 AM
Machine Learning Engineer
Onsite
System Design
4
0

System Design: Global UGC Photos and Short Videos Store/Delivery

Context

Design a globally distributed system to store and deliver user-generated photos and short videos. The system must support billions of users, high write/read throughput, multi-region presence, and strong reliability/security guarantees. Assume mobile and web clients; traffic is worldwide with regional peaks and diurnal patterns.

Functional Requirements

  1. Uploads
    • Single-part and multipart uploads (for large videos, unstable networks).
  2. Reads/Downloads
    • Range requests; CDN acceleration; thumbnails and transcoded variants.
  3. Delete
    • Soft delete with retention; hard delete; privacy-compliant erase.
  4. List
    • List by user/album with pagination and sort (time, size).
  5. Derived media
    • Thumbnail generation for images; transcode videos to multiple bitrates/resolutions.
  6. Search
    • Simple search by owner and metadata (filename, tags, mime, created_at).
  7. Signed access URLs
    • Time-bounded, scoped URLs for upload and download.
  8. Quotas
    • Per-user size/object-count quotas; enforcement on upload.

Non-Functional Requirements (address explicitly)

  • Durability targets (e.g., 11 9s), availability/SLOs.
  • Multi-region data layout and replication strategy.
  • Consistency model (metadata vs. object data) and read-after-write behavior.
  • CDN integration and cache invalidation.
  • Security: encryption in transit/at rest, key management.
  • Access control and authorization.
  • Abuse prevention and rate limiting.
  • Cost model and lifecycle policies (tiering, retention, cold storage, deletion).
  • Background processing semantics (idempotency/exactly-once behavior).
  • Metadata schema and indexing strategy.
  • Observability (metrics, tracing, audit logs).
  • Backfill/migrations approach.
  • Disaster recovery and regional failover.
  • Performance targets (p95/p99) and bottlenecks.
  • Testing and rollout plan.

Deliverables

  • API sketch (major endpoints for uploads, reads, listing, search, delete, signing).
  • Component diagram (textual/ASCII description acceptable).
  • Storage choices (object store vs. block/file; metadata store).
  • Capacity planning with rough numbers and assumptions.

Solution

Show

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...

Browse More Questions

More System Design•More Meta•More Machine Learning Engineer•Meta Machine Learning Engineer•Meta System Design•Machine Learning Engineer System Design
PracHub

Master your tech interviews with 8,000+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.