Daily iOS
iOS system design

Photo sharing app storage

Design the client storage system for a photo sharing app. Focus on where and how you store originals, thumbnails, and metadata.

How would an interviewer hear this answer? You'll see whether they'd move on, dig in, or say no, and which sentences would trip you up. Your score doesn't change.
See the short answer

Metadata goes in the DB, media goes in the file system, and the DB stores only relative paths. Thumbnails are generated as separate variant files next to the original, and capacity is managed with LRU plus a cap.

Share a question