Skip to content
Frontend system design · about 40 minutes

Data table over 100,000 rows

Design a data table for an admin product, for example a list of orders. The data has about 100,000 rows and 20 columns. Users sort by a column, filter by text and by column values, and look through many rows fast. They can show, hide, reorder and resize columns, and their column setup is remembered. They select rows for bulk actions. The table must work with a keyboard and a screen reader, and a filtered view must be shareable as a link.

Ask first

  • Does the browser get all the data, or does the server sort, filter and page it?
  • Do users want pages or continuous scrolling? Must they jump to a place or see the total?
  • Are the cells read-only, or can users edit them in the table?
  • Do rows change while the user looks at them, and how fresh must they be?
  • Which column types exist: text, number, date, status, actions?
  • Is the column setup saved per user on the server, or only in this browser?

The outline

Write your own outline for each part first.

The strong answer, the pitfalls and the follow-ups opens with a year in the app. What a year includes