Why API Pagination Should Use Cursor-Based Keysets
from The API Podcast with Fexingo: REST, GraphQL, and Modern Web APIs Hosted by Fexingo
Episode 63 of The API Podcast dives into cursor-based keyset pagination: why offset-limit breaks under scale, how Twitter and Stripe switched to opaque cursors, and what PostgreSQL `WHERE id > $cursor` means for your backend. Lucas explains the mechanics — including performance cliffs at high offsets, tiebreaker columns for stable ordering, and why GraphQL Relay's connection spec predates the current best practice. Luna pushes back on complexity trade-offs versus simplicity for small datasets. A focused 10-minute debrief for anyone building or consuming paginated APIs. #CursorPagination #KeysetPagination #APIDesign #OffsetLimit #PostgreSQL #GraphQLRelay #ConnectionSpec #StripeAPI #TwitterAPI #PaginationPerformance #WebAPIs #RESTAPI #APIBestPractices #BackendEngineering #DatabaseOptimization #FexingoBusiness #BusinessPodcast #Technology Keep every episode free: buymeacoffee.com/fexingo
Embed this episode
No transcript yet.