Do not page without deterministic ordering
Give paged database queries a fully unique order so rows with the same sort value cannot move unpredictably between pages.
Give paged database queries a fully unique order so rows with the same sort value cannot move unpredictably between pages.
Make a retried write replay the same operation instead of creating a duplicate side effect.
Use seek-based pagination when users move through large ordered result sets.
Return one predictable error shape instead of inventing a new JSON format for every failure.