Design ISP-Embedded Edge Caches for Facebook and Instagram Video

Last updated: November 29, 2026

Quick Overview

Design a video delivery system using cache servers placed inside internet service provider networks (in the spirit of Meta's Facebook Network Appliances) so that most video bytes for Reels and Facebook Video are served from within the user's ISP.

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

0

0

0 solved


Design a video delivery system using cache servers placed inside internet service provider networks (in the spirit of Meta's Facebook Network Appliances) so that most video bytes for Reels and Facebook Video are served from within the user's ISP.

Video is the majority of Meta's traffic, and Meta deploys cache appliances in ISP networks to save transit costs and improve playback. The interviewer probes request steering to the right cache, limited disk and memory per appliance, segment-level caching for adaptive bitrate, and remote operations across thousands of sites you do not physically control.

What the Interviewer Expects
  • Explain why caching inside ISPs saves cost and improves quality
  • Design steering of each user to an appropriate embedded cache
  • Cache by video segment and bitrate with popularity-aware admission
  • Use prefetch or push of predicted popular content
  • Operate and update thousands of remote appliances safely
Key Topics to Cover
edge appliances
request steering
segment caching
cache admission
fleet operations
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 decide which videos to push to a small appliance overnight?
  • What happens when an appliance's uplink to Meta is congested?
  • How do you route users when an ISP has several appliance sites?
  • How would you measure the effect on rebuffering?
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: viewers in an ISP fetch video segments (2 to 6 seconds each, multiple bitrates) from an in-ISP appliance whenever possible, falling back to Meta's PoPs. Deleted or restricted videos mu...

High-Level Design

When the player requests a manifest, the video delivery service chooses a host for segments based on the client's IP (mapped to ISP and site) and appliance health and load. Segment URLs point to t...


Submit Your Answer
Markdown supported