Skip to content
RED SAGSkills
hard20 pts · first answer countsapi-designpaginationperformance

Every page load counts 80 million rows

GET /events?limit=50 also returns total, computed with COUNT(*) on an 80-million-row table, and it is the slowest part of the request. What is a common API design change?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions