SpinTheMic
Pro

Interview practice question

Filtering a large dataset: client or server?

Frontend Engineering · State Management and Data Fetching · Intermediate

Your app shows a table of 50,000 records with filtering and sorting. Should filtering happen on the client or the server?

What a strong answer covers

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

  • Client: fast interactions if data small enough.
  • 50k rows: payload size, memory.
  • Server: pagination, filtering, sorting in DB.
  • Hybrid: server-side paging, client-side for current page.
  • Debounce and cache requests.
Practise this topic

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

See all topics