Replies: 1 comment 3 replies
-
Unfortunately, deep pagination is a well known problem in the database world. The issue is that the deeper you go, the larger the result set the database needs to prepare, and when the result set gets large, performance tanks. Our general advice for this is to use a parameter of some kind to slice the data. Most (if not all) of our APIs allow you to filter on the
This should work well for all of our DB-based APIs, but for search results, it might be a bit trickier. Still, the solution is the same:
Filters in step four and ordering will be different than the DB-based APIs, but it's the same idea. If folks have examples of doing this in the wild, please add them to this discussion! |
Beta Was this translation helpful? Give feedback.
-
I'm trying to gather a bunch of data from the API, but when I get to page 100, it starts failing. What's up with that? Is there a workaround?
Beta Was this translation helpful? Give feedback.
All reactions