Databases
Why Cursor Pagination Beats Skip in a Metered Database
skip(N) reads and discards every document it steps over, and a per-read database charges you for all of them. Here is the arithmetic, the query that replaces it, and the tie-breaker that keeps order stable.