Nextdoor logoNextdoor
System DesignMembers

Top K Most Voted Post Design

Members only

A system design question on surfacing the most voted posts in a local social app. It tests how you keep a heavily written counter from overwhelming a heavily read leaderboard, and how you reason about staleness and failure recovery.

SWE
system-design
top-k
leaderboard
heap
caching
redis
kafka
database
distributed-systems
concurrency
Frequency
Single report
Last asked
—
Stage
onsite-system-design

Members get

  • Full problem statement
  • 3 progressive hints
  • Step-by-step approach
  • Full solution with code
  • 4 common pitfalls
  • 7 talking points
  • 5 follow-up questions with answer directions
  • Preparation drills

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...