Design a food news feed and backend flow
Company: DoorDash
Role: Software Engineer
Category: System Design
Difficulty: hard
Interview Round: Onsite
Design a news-feed-like feature for food posts that lists title, author, and comment count, and opens a detail modal with full information and comments. Specify the data model, APIs (list feed, fetch detail, post comment), pagination and ranking strategy, and the end-to-end backend request flow after the API gateway (services, queues, databases, caches). Describe how a new post is processed and propagated to user feeds; discuss consistency, caching, indexing, rate limiting, and optimizations for latency and read/write throughput.
Quick Answer: This question evaluates skills in scalable system design, data modeling, API design, and end-to-end backend data flow for high-throughput social feeds, categorized under System Design and emphasizing practical application of distributed architectures alongside conceptual trade-offs.