I need to implement paging for something similar to a twitter list of message in my app. I don't expect user to scroll more than 3, 4 pages in normal usage.
What do you advice for this kind of paging. I read on the doc that skip() could be quite slow for large collection
I have also another kind of paging where user can perform a query on a certain type of collection (e.g collection of user filtered by user name) and I need to page this results as well.
I don't expect queries to return more than 1000 or so document but I need to page them 10 by 10 on the app
What would be appropriate as well for this kind of paging ?