SpinTheMic
Pro

Interview practice question

Paginating a social feed

System Design · APIs and Communication · Beginner

A social feed shows the newest posts first, and new posts arrive constantly. Which pagination approach would you use?

What a strong answer covers

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

  • Cursor-based pagination.
  • Cursor = timestamp + ID of last item.
  • Stable despite new inserts.
  • No duplicates or skipped items.
  • Pull-to-refresh for newer posts.
Practise this topic

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

See all topics