System Design
Storage & CDN
6 practice questions. Free questions open a full answer guide; the rest unlock with Pro.
- A product team is about to ship a feature that lets users export their entire account as a large file. How would you design the upload-and-download path so a multi-gigabyte file never streams through your application servers?
- Design the backend for a feature that lets users upload profile photos and videos. How does the file get from the browser to durable storage?Go Pro
- A large fraction of your origin's bandwidth bill comes from a few popular files, but you also serve a long tail of rarely-requested objects and occasional large uploads. How would you design the CDN caching and origin-offload strategy to cut egress cost without hurting the user-perceived latency on the long tail?Go Pro
- Design the storage and delivery layer for a service that hosts user-uploaded images and video and serves them globally with low latency. Focus on how you store the media and keep origin load and bandwidth cost down at scale.Go Pro
- Design the object storage layer for a platform that ingests petabytes of user-uploaded media a year and serves it globally. Walk me through the durability model, how you tier data by access pattern to control cost, and how the CDN sits in front of it.Go Pro
- We're building video-on-demand and need to stream uploaded videos smoothly to viewers on everything from phones on cellular to desktops on fiber. How would you design the storage and delivery?Go Pro
Want questions matched to your role? Paste a job title, job description, or CV for a personalized set, or go Pro to unlock the full bank.