SpinTheMic
Pro

Interview practice question

Infinite scrolling feed

System Design · Design: Social and Messaging · Beginner

How would you design the API for an infinite scrolling feed?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Cursor-based pagination.
  • Page size ~20 items.
  • Return next cursor.
  • Prefetch next page on client.
  • Stable ordering despite new posts.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics