PracHub
QuestionsPremiumLearningGuidesCheatsheetNEWCoaches
|Home/System Design/Figma

Design a trending-articles platform

Last updated: Apr 20, 2026

Quick Overview

This question evaluates system design competence for building large-scale, near-real-time trending and feed systems, testing skills in streaming ingestion, event modeling, ranking algorithms, caching, consistency and fault-tolerance, capacity planning, and operational observability within the System Design domain.

  • hard
  • Figma
  • System Design
  • Software Engineer

Design a trending-articles platform

Company: Figma

Role: Software Engineer

Category: System Design

Difficulty: hard

Interview Round: Onsite

Design a system that surfaces trending articles in near real time for a large-scale product. Clarify functional requirements (APIs to fetch global/local/category feeds; personalization vs. global ranking; freshness/latency SLAs; pagination; language/locale support; abuse/spam resilience) and constraints (estimated DAU, QPS, peak write rates, P99 latency, availability targets). Propose the ingestion and storage architecture for user/content events (views, clicks, dwell time, shares), including schema design, hot/warm/cold storage tiers, and indexing strategy. Describe the streaming/batch compute for sliding windows and time-decayed counts; caching and invalidation; ranking service integration; consistency model; backfill/reprocessing; fault tolerance; capacity planning and sharding. Justify technology choices and trade-offs, and provide rough capacity estimates.

Quick Answer: This question evaluates system design competence for building large-scale, near-real-time trending and feed systems, testing skills in streaming ingestion, event modeling, ranking algorithms, caching, consistency and fault-tolerance, capacity planning, and operational observability within the System Design domain.

Related Interview Questions

  • Design an Async Job Scheduler - Figma (medium)
  • Design and operate a monolith on Kubernetes - Figma (hard)
Figma logo
Figma
Sep 6, 2025, 12:00 AM
Software Engineer
Onsite
System Design
13
0

System Design: Near Real-Time Trending Articles

Context

Design a backend that surfaces trending articles in near real time for a large-scale consumer product. The system should support global, regional, and category-specific feeds, and scale to hundreds of thousands of events per second at peak. You will specify requirements, constraints, and propose an end-to-end architecture.

Functional Requirements to Clarify

  • Feed surfaces and APIs
    • Global, local (country/region), and category feeds
    • Optional personalization vs. purely global ranking
    • Pagination (cursor-based), page size limits, and stable ordering
    • Language and locale support (e.g., en-US) and fallback behavior
  • Freshness and latency
    • Feed freshness target (e.g., new trends visible within X seconds)
    • Read latency SLAs (P50/P95/P99)
  • Abuse and spam resilience
    • Bot and fraud mitigation, deduplication, rate limits, downweighting
    • Editorial blocks and safety filters
  • Observability and controls
    • Feature flags, explainability of ranking, metrics and alerting

Constraints to Define (provide your assumptions if not given)

  • Scale assumptions
    • DAU, sessions per user per day
    • Feed QPS (avg and peak), event rates (views, clicks, dwell, shares)
    • Peak write rates to caches and data stores
  • SLOs and availability
    • P99 read latency target
    • Freshness and end-to-end pipeline delay (P99)
    • Availability target (e.g., 99.9% or higher)
  • Data retention
    • Hot, warm, and cold retention periods

What to Design and Deliver

  1. Ingestion and storage architecture for user and content events (views, clicks, dwell time, shares)
    • Event schema design and enrichment
    • Hot/warm/cold storage tiers and partitioning
    • Indexing strategy for lookups by article, locale, category
  2. Streaming and batch compute
    • Sliding windows and time-decayed counts
    • Top-K per segment (global, locale, category) and merging strategies
    • Handling late/out-of-order events, deduplication, and watermarks
    • Backfill/reprocessing strategy
  3. Caching, invalidation, and ranking service integration
    • How to cache and update top lists; cursor design for pagination
    • Personalization vs. global ranking trade-offs
  4. Consistency model and fault tolerance
    • Exactly-once or at-least-once guarantees; idempotency
    • Failure modes and graceful degradation
  5. Capacity planning and sharding
    • Kafka/stream partitions, cache shards, storage sizing
    • Rough capacity estimates and headroom
  6. Technology choices and trade-offs
    • Justify choices (e.g., Kafka vs. Kinesis, Flink vs. Spark, Redis vs. Aerospike, DynamoDB vs. Cassandra, ClickHouse, OpenSearch, S3/Parquet, etc.)

Provide diagrams verbally (component-by-component), API examples, formulas (e.g., exponential decay), small numeric examples, and clear justifications.

Solution

Show

Comments (0)

Sign in to leave a comment

Loading comments...

Browse More Questions

More System Design•More Figma•More Software Engineer•Figma Software Engineer•Figma System Design•Software Engineer System Design
PracHub

Master your tech interviews with 7,500+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.