Snap·Software Engineer·Onsite - System Design / Architecture
- Design the backend feed-vending service for a short-video product like Snapchat Spotlight. The core API is getFeed(user_id, cursor, page_size) and it needs to return personalized, paginated video recommendations with metadata like CDN URLs, thumbnails, and captions.
- How would you handle de-duplication so users don't see videos they've already watched, both within a single session and over a longer time window?
- Walk through your CDN strategy for video delivery, including how you'd handle access control with signed URLs.
- What are the trade-offs between a push-on-write feed (fan-out at upload time) versus a pull-on-read feed for this type of product?
“This is the main question and it ate the whole session.”